Skip to content

Instantly share code, notes, and snippets.

@mintbridge
Created September 20, 2012 13:45
Show Gist options
  • Save mintbridge/3756016 to your computer and use it in GitHub Desktop.
Save mintbridge/3756016 to your computer and use it in GitHub Desktop.
Useful Git Commands
git branch:
--merged is used to find all branches which can be safely deleted, since those branches are fully contained by HEAD.
--no-merged is used to find branches which are candidates for merging into HEAD, since those branches are not fully contained by HEAD.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment