.\" generated with Ronn-NG/v0.9.1 .\" http://github.com/apjanke/ronn-ng/tree/0.9.1 .TH "GIT\-MISSING" "1" "November 2023" "" "Git Extras" .SH "NAME" \fBgit\-missing\fR \- Show commits missing from another branch .SH "SYNOPSIS" \fBgit\-missing\fR [] [] .SH "DESCRIPTION" Shows commits that are in either of two branches but not both\. Useful for seeing what would come across in a merge or push\. .SH "OPTIONS" [] .P First branch to compare\. If not specified, defaults to currently checked out branch\. .P .P Second branch to compare\. .P [] .P Any flags that should be passed to 'git log', such as \-\-no\-merges\. .SH "EXAMPLES" Show commits on either my current branch or master but not both: .IP "" 4 .nf $ git missing master < d14b8f0 only on current checked out branch > 97ef387 only on master .fi .IP "" 0 .P Show commits on either branch foo or branch bar but not both: .IP "" 4 .nf $ git missing foo bar < b8f0d14 only on foo > f38797e only on bar .fi .IP "" 0 .SH "AUTHOR" Written by Nate Jones <\fInate@endot\.org\fR> .SH "REPORTING BUGS" <\fIhttps://github\.com/tj/git\-extras/issues\fR> .SH "SEE ALSO" <\fIhttps://github\.com/tj/git\-extras\fR>