Last active
August 29, 2015 14:26
-
-
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/)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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