Skip to content

Instantly share code, notes, and snippets.

@majorvin
Created July 7, 2014 17:19
Show Gist options
  • Save majorvin/c1287087156f7c683852 to your computer and use it in GitHub Desktop.
Save majorvin/c1287087156f7c683852 to your computer and use it in GitHub Desktop.
Delete all branch except for 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