Created
July 5, 2014 07:58
-
-
Save birchestx/e8eadef017744fa6d7f1 to your computer and use it in GitHub Desktop.
Delete all merged branches From http://stackoverflow.com/questions/10610327/delete-all-local-git-branches
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
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