Last active
August 15, 2019 03:17
-
-
Save earvinpiamonte/f1fbbaf3765143f62e6ea021bb90277b to your computer and use it in GitHub Desktop.
Delete multiple branch having the same prefix in a single command - Git
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 -d `git branch --list 'YOUR-BRANCH-PREFIX-*'` | |
# or | |
# git branch -D `git branch --list 'YOUR-BRANCH-PREFIX-*'` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment