Skip to content

Instantly share code, notes, and snippets.

@rimiti
Last active January 31, 2018 11:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rimiti/c631dc4f995ada7e5de3e58df2ddc537 to your computer and use it in GitHub Desktop.
Save rimiti/c631dc4f995ada7e5de3e58df2ddc537 to your computer and use it in GitHub Desktop.
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