Skip to content

Instantly share code, notes, and snippets.

@jamigibbs
Created January 30, 2019 15:19
Show Gist options
  • Save jamigibbs/1db9c8fe9cfc36623921b611549d5096 to your computer and use it in GitHub Desktop.
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