Created
October 28, 2015 23:34
-
-
Save jeremydw/b0d63542bb8417376f04 to your computer and use it in GitHub Desktop.
Clean up deleted 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 | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment