Created
May 31, 2016 09:05
-
-
Save PaulEhrhardt/0209e82768188afb155375b0c2a85c2a to your computer and use it in GitHub Desktop.
Delete all merged local 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 "\*" | grep -v master | grep -v develop | grep -v release | xargs -n 1 git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment