Skip to content

Instantly share code, notes, and snippets.

@JesusTinoco
Last active August 29, 2015 14:26
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 JesusTinoco/9f3c154b8de56c21ec44 to your computer and use it in GitHub Desktop.
Save JesusTinoco/9f3c154b8de56c21ec44 to your computer and use it in GitHub Desktop.
Using an alias to list all Git commits that are on one branch, but aren't on the other. (http://jerodsanto.net/2014/09/git-a-list-of-commits-on-one-branch-but-not-the-other/)
[alias]
# List all Git commits that are on one branch, but aren't on the other (e.g.: compare master...current_branch)
compare = log --left-right --graph --cherry-pick --oneline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment