Permalink
Browse files

"git retire" will delete a local tracking branch and it's correspondi…

…ng remote
  • Loading branch information...
1 parent 3fcd1f9 commit 61113a773c30053b67ad9a220d3ed2c02de39b9b @al-the-x committed Jan 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 .gitconfig
View
@@ -33,9 +33,9 @@
## Like "git superpull" but less to type...
pulls = !git pull $@ && git submodule update --init
+ retire = "!f() { [ \"$#\" = \"2\" ] || echo \"usage: git retire <remote> <branch>\" && exit 1; echo \"git br -d $2 && git push --delete $1 $2\"; }; f"
[merge]
## No moar merge bubbles, plz. Kthxbai!
- ff = only
## So `git merge` works with the upstream branch by default...
defaultToUpstream = true

0 comments on commit 61113a7

Please sign in to comment.