Skip to content

Instantly share code, notes, and snippets.

@EmanuelCadems
Created April 7, 2017 17:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EmanuelCadems/7dda1a6d6397b604f3a65b42706fc3cc to your computer and use it in GitHub Desktop.
Save EmanuelCadems/7dda1a6d6397b604f3a65b42706fc3cc to your computer and use it in GitHub Desktop.
Delete many branches at the same time
# 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