Skip to content

Instantly share code, notes, and snippets.

@roadsideseb
Created October 22, 2015 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roadsideseb/52bb1a9a0bd58e3ef32e to your computer and use it in GitHub Desktop.
Save roadsideseb/52bb1a9a0bd58e3ef32e to your computer and use it in GitHub Desktop.
Cheatsheet of git(-related) commands
# cleanup all local branches that have been merged
git branch --delete $(git branch --merged | grep -v master)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment