Last active
April 4, 2018 04:59
-
-
Save sethdavis512/f8ca11ba04723ca7979bfa05443f95a6 to your computer and use it in GitHub Desktop.
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
# Safety First | |
git branch | grep ‘your_string_here’ | |
# Delete'em | |
git branch | grep 'your_string_here' | xargs git branch -D | |
# Delete Remote too | |
git branch | grep ‘your_string_here’ | xargs git push origin — delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment