Skip to content

Commit

Permalink
Add command for deleting merged branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
robmiller committed Jan 25, 2013
1 parent c120ab9 commit a3b0065
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitconfig
Expand Up @@ -53,6 +53,8 @@
ours = "!f() { git co --ours $@ && git add $@; }; f"
theirs = "!f() { git co --theirs $@ && git add $@; }; f"

delete-merged-branches = "!git co master && git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"

dl = "!git lg -p -1"
diffc = diff --cached

Expand Down

0 comments on commit a3b0065

Please sign in to comment.