Created
August 7, 2014 10:38
-
-
Save rdrobinson3/6c1947bb2df5ee27e1cd to your computer and use it in GitHub Desktop.
Delete branches that have merged into master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias rm-merged-local="git fetch --prune && git branch --merged master | \grep -v 'master' | xargs git branch -D" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment