Created
January 25, 2012 16:43
-
-
Save kbaribeau/1677180 to your computer and use it in GitHub Desktop.
Git branch cleanup
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 -r | grep kbaribeau | grep -v ${stuff_to_keep} | cut -d '/' -f 2-9 | sed -e 's/^/:/' | xargs git push origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment