Created
February 10, 2015 09:07
-
-
Save loctanvo/1a9683f7b8a37e0571d7 to your computer and use it in GitHub Desktop.
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 "\*" | xargs -n 1 git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE: will delete master branch if master is deleted from remote