Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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