Created
April 7, 2017 17:01
-
-
Save EmanuelCadems/7dda1a6d6397b604f3a65b42706fc3cc to your computer and use it in GitHub Desktop.
Delete many branches at the same time
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
# How to delete many branches at the same time | |
# This will delete all branches already merged that start with release follow by anything | |
git branch -d `git branch | grep -E 'release*'` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment