Created
March 19, 2014 15:40
-
-
Save kulbida/9644418 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
for branch in $(git branch | grep TEXT_MATCH_PATTERN_GOES_HERE | grep -v grep) | |
do | |
git branch -d $branch | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment