.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "GIT-CHERRY" 1 "" "" "" .SH NAME git-cherry \- Find commits not merged upstream .SH "SYNOPSIS" \fIgit\-cherry\fR [\-v] [] .SH "DESCRIPTION" The changeset (or "diff") of each commit between the fork\-point and is compared against each commit between the fork\-point and \&. Every commit with a changeset that doesn't exist in the other branch has its id (sha1) reported, prefixed by a symbol\&. Those existing only in the branch are prefixed with a minus (\-) sign, and those that only exist in the branch are prefixed with a plus (+) symbol\&. Because git\-cherry compares the changeset rather than the commit id (sha1), you can use git\-cherry to find out if a commit you made locally has been applied under a different commit id\&. For example, this will happen if you're feeding patches via email rather than pushing or pulling commits directly\&. .SH "OPTIONS" .TP \-v Verbose\&. .TP Upstream branch to compare against\&. .TP Working branch; defaults to HEAD\&. .SH "AUTHOR" Written by Junio C Hamano .SH "DOCUMENTATION" Documentation by Junio C Hamano and the git\-list \&. .SH "GIT" Part of the \fBgit\fR(7) suite