Skip to content

Instantly share code, notes, and snippets.

@bitbonsai
Created November 29, 2018 20:05
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 bitbonsai/fab9518452b4d2e86ec5a7be21fc230e to your computer and use it in GitHub Desktop.
Save bitbonsai/fab9518452b4d2e86ec5a7be21fc230e to your computer and use it in GitHub Desktop.
git branch --no-color | while read sha ref; do
git branch -D $sha
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment