Commit Graph

330 Commits

Author SHA1 Message Date
Nathan Broadbent
993c9ee9fc Replaced all occurences of 'local IFS=' with 'IFS= ... unset IFS'. Fixes #12 2011-12-14 13:27:39 +08:00
Nathan Broadbent
2cd411aa4f Fixed git alias tab completion (#11), using a slightly altered workaround contributed by @bronson - Thanks! 2011-12-14 13:16:47 +08:00
Nathan Broadbent
6a757687c5 Fixed git_set_default_remote to use current branch for default 2011-12-13 12:40:36 +08:00
Nathan Broadbent
938c982e99 Fixed bisect tool 2011-12-10 16:35:54 +08:00
Nathan Broadbent
a09f31f9d3 Added git bisect wrapper to find commit that removed text 2011-12-10 16:33:50 +08:00
Nathan Broadbent
46637dc15c Allow change to a top-level directory within $GIT_REPO_DIR by prefixing the arg with '/'. Comes with tab completion. For example, if you have a directory ~/src/rails, you can move here by typing 's /ra[TAB]' 2011-12-09 22:59:32 +08:00
Nathan Broadbent
debcffa417 Added functions to quickly add git ignore rules to either .gitignore or .git/info/exclude 2011-12-03 01:47:20 +08:00
Nathan Broadbent
9a8d10103f Added git function to set default remote for a branch. By default it sets: branch.master.remote = origin, branch.master.merge = refs/heads/master 2011-11-26 12:06:34 +08:00
Nathan Broadbent
f2482cf819 Alias 'git' to the 'hub' wrapper, if installed. Wraps the git command with awesome github focussed shortcuts. 2011-11-17 10:05:09 +08:00
Jacob Lukas
ea26846077 Add a couple comments 2011-11-09 20:14:42 -08:00
Jacob Lukas
bfe91e04f0 Fix whitespace 2011-11-09 20:11:24 -08:00
Jacob Lukas
5e507af747 Fix add/remove with spaces/special characters 2011-11-09 20:02:29 -08:00
Jacob Lukas
a1a7e3066e Fix switching to repositories with spaces or other special characters in their path 2011-11-09 11:37:06 -08:00
Will Walthall
456cedb082 Added an alias for 'git add -p' 2011-10-28 08:00:56 -04:00
Nathan Broadbent
7c3911a605 Added formatted alias index function. Call 'git_aliases' to remind yourself of git shortcuts. 2011-10-26 13:20:18 +08:00
Nathan Broadbent
dd1549e0ec Refactored code so that git_update function is reusable 2011-10-25 12:03:38 +08:00
Nathan Broadbent
7e84fc7a56 fixed update_all command 2011-10-25 10:39:38 +08:00
Nathan Broadbent
39c788d7d6 Fixed trim command for design() 2011-10-22 13:04:43 +08:00
Nathan Broadbent
d23c4256ac Less verbose 2011-10-22 13:00:00 +08:00
Nathan Broadbent
45105cb66e Removed git dirs for design directories 2011-10-22 12:53:27 +08:00
Nathan Broadbent
e5eeb36861 Fixed git batch commands 2011-10-22 12:45:26 +08:00
Nathan Broadbent
970a91c929 combined rm commands 2011-10-22 10:11:54 +08:00
Nathan Broadbent
23d0057ac7 Changed behaviour of design() so that each design directory can have version controlled assets 2011-10-22 10:11:00 +08:00
Nathan Broadbent
b70ef4dba1 Added design() function to manage synchronization of design development assets for git repos, without checking them in 2011-10-22 01:54:14 +08:00
Nathan Broadbent
a82434c9e6 Fixed commands for git_index 2011-10-21 17:43:20 +08:00
Nathan Broadbent
421560e9a0 Added debugging output to git_status_shortcuts (enable with scmbDebug=true) 2011-10-21 11:03:18 +08:00
Nathan Broadbent
c1edcb9206 Fixed square brackets for zsh_compat and zsh_reset 2011-10-21 08:41:55 +08:00
Nathan Broadbent
4c42f5df56 Merge remote branch 'beef/master'
Conflicts:
	install.sh
	lib/scm_breeze.sh
2011-10-21 08:38:54 +08:00
Nathan B
29f5e4c598 Merge pull request #8 from lmeijvogel/master
Make grs work with deleted files
2011-10-20 17:30:26 -07:00
Andrew Lorente
cb8a3a6121 Remove dependency on seq
seq is unfortunately not available on OSX. Brackets appear to be fully
shell- and platform-independent.
2011-10-20 13:47:19 -07:00
Andrew Lorente
99e4e9dcda Fix a typo in a function name 2011-10-20 13:47:10 -07:00
Lennaert Meijvogel
cf8e3875a3 Add '--' to git reset command to make it work for deleted files. 2011-10-20 21:55:51 +02:00
Andrew Lorente
bf5d50fcb8 Remove restrictions on directory for scm-breeze
Previously the script had to be installed to ~/.scm_breeze. Now it can
live anywhere!
2011-10-20 11:27:31 -07:00
Trey Hunner
f9244d0f94 Remove bashisms from scm breeze update scripts 2011-10-20 10:51:03 -07:00
Nathan Broadbent
33fe02982a Fixed bug when trying to use gc -m "commit message" 2011-10-20 20:27:26 +08:00
Nathan Broadbent
4d5126731a Added missing parse_git_branch function 2011-10-20 19:30:55 +08:00
Jonathan del Strother
7deb0c7909 Add zsh/shwordsplit compatibility for git_status_shortcuts
Necessary so that IFS works as expected
2011-10-20 12:11:08 +01:00
Nathan Broadbent
a4d5006b5a Removed sed command. I can't remember why it was necessary. 2011-10-20 12:47:32 +08:00
Nathan Broadbent
6c82cc25ed Made git_show_affected_files cross platform at the expense of colorized revision (for now) 2011-10-20 12:11:59 +08:00
Nathan Broadbent
8700f41ba8 Fixed the previous fix.. 2011-10-20 12:05:53 +08:00
Nathan Broadbent
3f37f8f53d Made status command use grep instead of head & tail 2011-10-20 12:02:54 +08:00
Nathan Broadbent
63e5904cee Added 'git_pull_then_push' alias 2011-10-20 08:35:02 +08:00
Nathan Broadbent
ebc791afe8 Merge branch 'master' of github.com:ndbroadbent/scm_breeze 2011-10-20 08:33:32 +08:00
Nathan Broadbent
d04e2b464e disable keyboard shortcuts by default 2011-10-20 08:32:50 +08:00
Nathan B
824e6ab984 Merge pull request #1 from daverigby/master
Fix _create_or_patch_scmbrc to work on OS X (10.7)
2011-10-19 17:17:33 -07:00
Nathan Broadbent
a66a6d4d3f Made tail and head commands portable 2011-10-20 08:07:19 +08:00
Dave Rigby
5b6e349b48 Fix _create_or_patch_scmbrc to work on OS X (10.7)
On OS X's version of mktemp the -t parameter is manditory -
see http://developer.apple.com/library/mac/#DOCUMENTATION/Darwin/Reference/ManPages/man1/mktemp.1.html
2011-10-19 20:30:22 +01:00
Nathan Broadbent
d2ebf6bdeb Clear vars first 2011-10-20 01:27:06 +08:00
Nathan Broadbent
090a4d920d tweaked comment 2011-10-19 21:28:45 +08:00
Nathan Broadbent
70b32895d6 removed comments 2011-10-19 21:25:11 +08:00