Skip to content

Instantly share code, notes, and snippets.

@dsaves
Created February 23, 2020 01:51
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 dsaves/8ab62218f4d9d3a087868bc1c0ee4cb0 to your computer and use it in GitHub Desktop.
Save dsaves/8ab62218f4d9d3a087868bc1c0ee4cb0 to your computer and use it in GitHub Desktop.
Delete multiple git branches
git branch | grep "<pattern>"
git branch | grep "<pattern>" | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment