Last active
September 2, 2016 09:14
-
-
Save DanPurdy/ac07cf0dab7f9c223f4e56285bf5b382 to your computer and use it in GitHub Desktop.
Removes all merged branches excluding master/develop
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 gbpurge='git branch --merged | grep -Ev "(\*|master|develop)" | xargs -n 1 git branch -d' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment