Skip to content

Instantly share code, notes, and snippets.

@jonocairns
Created August 22, 2017 01:26
Show Gist options
  • Save jonocairns/4de67734b211d4ff413c6cea9b5d5197 to your computer and use it in GitHub Desktop.
Save jonocairns/4de67734b211d4ff413c6cea9b5d5197 to your computer and use it in GitHub Desktop.
Clean out local branches
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