Skip to content

Instantly share code, notes, and snippets.

@davidroyer
Created April 27, 2019 23:05
Show Gist options
  • Save davidroyer/4abd8b5a7cf60149dc2dc86890428762 to your computer and use it in GitHub Desktop.
Save davidroyer/4abd8b5a7cf60149dc2dc86890428762 to your computer and use it in GitHub Desktop.
# Delete all local branches other than master
git branch | grep -v "master" | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment