diff options
author | Jesse Luehrs <jesse.luehrs@stripe.com> | 2015-08-10 22:21:41 -0700 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2015-08-10 22:38:58 -0700 |
commit | 069faaa7f3de8fc8d8f795fe63ba3a3d9317d89c (patch) | |
tree | df7d7c0067edfd4b9621b8997e8dd092d3878e2b | |
parent | ae5a17a849f7bdc7da54773d97a23ed8c1a62ffb (diff) | |
download | conf-069faaa7f3de8fc8d8f795fe63ba3a3d9317d89c.tar.gz conf-069faaa7f3de8fc8d8f795fe63ba3a3d9317d89c.zip |
new alias to fix tracking branches
-rw-r--r-- | gitconfig | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -31,6 +31,7 @@ br = branch ri = rebase -i fixup = "!f() { git record --fixup \"$@\"; }; f" + track = "!f() { local name=$(git name-rev --name-only @); git branch --set-upstream-to=origin/$name $name; }; f" [github] user = doy [color] |