Last active
September 22, 2015 18:36
-
-
Save lbalceda/e0e8e13da4011e696adf to your computer and use it in GitHub Desktop.
git delete merged branches
This file contains 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
git branch --merged | grep -v '\*\|master\|develop\|alpha' | xargs -n 1 git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment