Commit Graph

499 Commits

Author SHA1 Message Date
Nathan Broadbent
9b0852de2d Handle 'typechange' modification, with special case for symlinks 2011-12-23 11:46:54 +08:00
Nathan Broadbent
504bc91fb8 Added git fetch --all alias 2011-12-23 10:58:27 +08:00
Nathan Broadbent
bb7ae286a0 updated git_submodule_rm task 2011-12-20 15:29:03 +08:00
Nathan Broadbent
229b832bc0 Added function to remove a git submodule 2011-12-20 15:26:13 +08:00
Nathan Broadbent
cc53d9fecf Fixed git_branch to handle (no branch) 2011-12-20 11:37:14 +08:00
Nathan Broadbent
9e701a18e5 Fixed case where more than one project matched the completed word 2011-12-20 11:29:44 +08:00
Nathan Broadbent
80bd4decac Updated example cron to refresh repos every 10 min [ci skip] 2011-12-20 11:15:37 +08:00
Nathan Broadbent
9715265c79 Added index --rebuild task before --update-all in example cron script [ci skip] 2011-12-20 11:13:22 +08:00
Nathan Broadbent
ebb646b233 Fixed example cron script to use /bin/bash [ci skip] 2011-12-19 10:32:16 +08:00
Nathan Broadbent
c21039646c Added example cron config to keep all local repos up-to-date automatically [ci skip] 2011-12-18 02:03:13 +08:00
Nathan B
4843ec80b5 Use secure url for Travis image 2011-12-18 00:33:08 +08:00
Nathan Broadbent
710fb7181e Implemented a robust git_index_update_all_branches function, to automatically perform a safe fast-forward of all local branches, if their remtoes and merge refs are configured. Can be run from a cron script to keep all repos up to date 2011-12-18 00:22:01 +08:00
Nathan Broadbent
6eaeb873d6 It is often useful to exclude the basename of a file from status shortcuts. i.e. git_exclude_basename $e2 2011-12-17 11:05:18 +08:00
Nathan Broadbent
1ad7408d05 Took some inspiration from git tab completion, and separated the completion of '--' commands from project directories 2011-12-17 10:53:58 +08:00
Nathan Broadbent
cb50656cf0 Finally sorted out tab completions for git aliases, works with all versions of git (1.7.5.4 up to 1.7.8) (#11) 2011-12-15 00:32:30 +08:00
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
Nathan B
f2dc7c01dc Merge pull request #14 from jlukas/master
Fix issues working with files/folders with spaces and special characters
2011-11-09 20:25:38 -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
Nathan Broadbent
48eddd160f Merge branch 'master' of github.com:ndbroadbent/scm_breeze 2011-11-10 10:01:57 +08:00
Nathan Broadbent
00da66d57e Added LICENSE [ci skip] 2011-11-10 09:58:24 +08:00
Nathan B
f61ae1663c Merge pull request #13 from jlukas/master
Fix switching to repositories with spaces or other special characters in their path
2011-11-09 17:55:42 -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
Nathan B
e17413f579 Merge pull request #10 from ghthor/master
'git add -p' aliased to 'gap'
2011-11-01 00:28:07 -07:00
Will Walthall
456cedb082 Added an alias for 'git add -p' 2011-10-28 08:00:56 -04:00
Nathan Broadbent
e541f43d16 Merge branch 'master' of github.com:ndbroadbent/scm_breeze 2011-10-26 13:20:36 +08: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
8fdc688460 removed obvious text [ci skip] 2011-10-26 03:13:41 +08:00
Nathan Broadbent
2807e5f3ca fixed instruction [ci skip] 2011-10-26 03:13:16 +08:00
Nathan Broadbent
24ac147292 Fixed syntax highlighting [ci skip] 2011-10-26 03:11:34 +08:00
Nathan Broadbent
3427948877 reworded section title [ci skip] 2011-10-26 03:10:13 +08:00
Nathan Broadbent
295b96e132 Merge branch 'master' of github.com:/ndbroadbent/scm_breeze 2011-10-26 03:09:11 +08:00
Nathan Broadbent
a3e40169cc Added design function to README [ci skip] 2011-10-26 02:59:54 +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
70e1551438 Removed extra ')' in README [ci skip] 2011-10-23 20:22:01 +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