Skip to content

Instantly share code, notes, and snippets.

@jamigibbs
Created January 30, 2019 15:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jamigibbs/1db9c8fe9cfc36623921b611549d5096 to your computer and use it in GitHub Desktop.
// delete all the local branches except master branch
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