Nathan Broadbent
|
c5fc3f283f
|
Wrap token in quotes for zsh
|
2012-02-29 00:20:57 +08:00 |
|
Nathan Broadbent
|
885d528c35
|
Fixed local variables for ZSH
|
2012-02-28 22:39:58 +08:00 |
|
Jonathan del Strother
|
077f22da0b
|
Don't export 'i' and 'cmd_output' as global vars
|
2012-02-28 12:42:38 +00:00 |
|
Nathan Broadbent
|
c68f0c523a
|
Added function to delete a git branch from local, cached remote and remote server
|
2012-02-22 11:28:48 +08:00 |
|
Nathan Broadbent
|
5d46601889
|
Ignore both the stat file and the temp stat file
|
2012-02-16 16:04:12 +08:00 |
|
Nathan Broadbent
|
0f34d130bc
|
{ cp -f ... rm -f } === { mv -f }. lol.
|
2012-02-03 17:55:05 +08:00 |
|
Nathan Broadbent
|
f95e9a8544
|
Updating build statuses for all branches only periodically is still too slow. Now it only updates statuses for branches from remotes/origin that also have a local copy
|
2012-02-03 17:51:40 +08:00 |
|
Nathan Broadbent
|
f403169176
|
Escape git command (in case it's aliased)
|
2012-02-03 15:03:20 +08:00 |
|
Nathan Broadbent
|
f71372a8e9
|
Expanded travis ci build status update, so that it can perform frequent updates for the current branch, and periodic updates for all branches. Updating all branches was taking over 20 minutes.
|
2012-02-03 11:35:08 +08:00 |
|
Nathan Broadbent
|
78cc2d46ea
|
Make sure bin/git is used to parse branch (turn off hub wrapper if present)
|
2012-02-01 12:12:10 +08:00 |
|
Nathan Broadbent
|
4cf8671a1c
|
Use mislav's 'travis-ci' gist to show build status for current branch
|
2012-01-31 17:26:03 +08:00 |
|
Nathan Broadbent
|
7fd415bbf4
|
Fixed bug in refactor
|
2012-01-31 01:15:22 +08:00 |
|
Nathan Broadbent
|
cf31c9a15e
|
'eval' serves no purpose here either
|
2012-01-31 01:14:56 +08:00 |
|
Nathan Broadbent
|
7049e7fb64
|
Fixed git_add_patch_shortcuts
|
2012-01-31 01:13:00 +08:00 |
|
Nathan Broadbent
|
006ac0da7c
|
Disable bash command wrapping until issues are fixed with escaped characters (i.e. whitespace in filenames)
|
2012-01-31 00:53:11 +08:00 |
|
Nathan Broadbent
|
2a2987cc87
|
Renamed and fixed travis update script, as well as git_ignore function
|
2012-01-31 00:52:15 +08:00 |
|
Nathan Broadbent
|
89b98eb986
|
Use $HOME in cron script, base_path no longer applicable
|
2012-01-31 00:28:13 +08:00 |
|
Nathan Broadbent
|
ada316bd5b
|
Use builtin cd for batch commands
|
2012-01-31 00:11:10 +08:00 |
|
Nathan Broadbent
|
66ac5c4e7b
|
Added cat and ls to wrapped commands
|
2012-01-28 19:06:27 +08:00 |
|
Nathan Broadbent
|
5360a767f9
|
Added alias for 'git checkout -b'
|
2012-01-28 11:04:26 +08:00 |
|
Nathan Broadbent
|
80d1bf9208
|
Fixed issue with aliased 'cd' command
|
2012-01-27 16:04:25 +08:00 |
|
Nathan Broadbent
|
22086627d0
|
For git batch commands, make $base_path variable local so that it doesn't persist
|
2012-01-26 13:38:06 +08:00 |
|
Nathan Broadbent
|
26c0cfd8d0
|
Refactored git_update_travis_status() function
|
2012-01-26 13:38:06 +08:00 |
|
Nathan Broadbent
|
aa358bd46e
|
Updated comment for Travis CI status script
|
2012-01-26 13:38:06 +08:00 |
|
Nathan Broadbent
|
e82e69f1d9
|
Replaced 1..3 range syntax with 1-3 (Inspired by holygeek's git-number project - https://github.com/holygeek/git-number)
|
2012-01-26 10:04:48 +08:00 |
|
Nathan Broadbent
|
241654930e
|
Added bash command wrapping (expand git numbered args for common bash commands, such as cp, mv, rm, etc.). Also set kb shortcuts to true by default.
|
2012-01-22 00:40:56 +08:00 |
|
Nathan Broadbent
|
1ab0e75746
|
Added aliases for git_rebase_alias_continue and git_rebase_alias_abort
|
2012-01-18 17:32:38 +08:00 |
|
Nathan Broadbent
|
2b6e3a9af0
|
Revert cf8e3875, added aliases for git reset -- and --hard
|
2012-01-18 15:34:05 +08:00 |
|
Nathan Broadbent
|
3ad6daadc1
|
Follow naming convention (travis_, not travis_ci_)
|
2012-01-17 10:26:13 +08:00 |
|
Nathan Broadbent
|
00d00e35eb
|
Use a better file for Travis CI status
|
2012-01-17 10:23:51 +08:00 |
|
Nathan Broadbent
|
aae9ed4632
|
Allow use of git_update_travis_status() function outside of git_index --batch-cmd
|
2012-01-13 17:41:51 +08:00 |
|
Nathan Broadbent
|
04ee82b0c8
|
Added Travis CI status caching task, for status in shell prompts
|
2012-01-13 12:07:07 +08:00 |
|
Nathan Broadbent
|
0c510f73ff
|
Added alias for git commit -C HEAD (useful at final step of merge conflict)
|
2012-01-06 16:25:47 +08:00 |
|
Nathan Broadbent
|
a78577d613
|
Don't exit from a function, return
|
2012-01-06 16:06:36 +08:00 |
|
Nathan Broadbent
|
8d1566c688
|
Added 'git_swap_remotes' script to swap names between two remotes
|
2012-01-06 16:05:40 +08:00 |
|
Nathan Broadbent
|
e5a1cef5e8
|
Added 'git clean' and 'git clean -fd' aliases for clearing untracked files. (gce, gcef)
|
2011-12-23 12:59:50 +08:00 |
|
Nathan Broadbent
|
398060a67a
|
Parse long git status for submodule summaries, if .gitmodules exists and any changed 'files' are submodules.
|
2011-12-23 12:46:29 +08:00 |
|
Nathan Broadbent
|
0784e99eef
|
When $arg is a normal string, treat it as shell-quoted. But still treat expanded args as plain strings, otherwise it breaks for filenames with spaces
|
2011-12-23 11:51:08 +08:00 |
|
Nathan Broadbent
|
d5080aa3d3
|
Fix printf output to use %s, not %q
|
2011-12-23 11:47:08 +08:00 |
|
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 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 |
|