git-missing (1) - Linux Man Pages
git-missing: Show commits missing from another branch
NAMEgit-missing - Show commits missing from another branch
SYNOPSISgit-missing [<first branch>] <second branch> [<git log options>]
DESCRIPTIONShows commits that are in either of two branches but not both. Useful for seeing what would come across in a merge or push.
First branch to compare. If not specified, defaults to currently checked out branch.
Second branch to compare.
[<git log options>]
EXAMPLESShow commits on either my current branch or master but not both:
$ git missing master < d14b8f0 only on current checked out branch > 97ef387 only on master
Show commits on either branch foo or branch bar but not both:
$ git missing foo bar < b8f0d14 only on foo > f38797e only on bar
AUTHORWritten by Nate Jones <nate [at] endot.org>