Skip to content

Instantly share code, notes, and snippets.



Last active Jan 31, 2018
What would you like to do?
Git - Best commands list
  • Remove all local branches (except 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
You can’t perform that action at this time.