mirror of
https://github.com/git/git.git
synced 2024-12-12 03:14:11 +08:00
52a22d1e72
Add some documentation. Text taken from the the commit messages and the command sources.
43 lines
851 B
Plaintext
43 lines
851 B
Plaintext
git-cherry(1)
|
|
=============
|
|
|
|
NAME
|
|
----
|
|
git-cherry - Find commits not merged upstream.
|
|
|
|
SYNOPSIS
|
|
--------
|
|
'git-cherry' [-v] <upstream> [<head>]
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
Each commit between the fork-point and <head> is examined, and compared against
|
|
the change each commit between the fork-point and <upstream> introduces.
|
|
Commits already included in upstream are prefixed with '-' (meaning "drop from
|
|
my local pull"), while commits missing from upstream are prefixed with '+'
|
|
(meaning "add to the updated upstream").
|
|
|
|
OPTIONS
|
|
-------
|
|
-v::
|
|
Verbose.
|
|
|
|
<upstream>::
|
|
Upstream branch to compare against.
|
|
|
|
<head>::
|
|
Working branch; defaults to HEAD.
|
|
|
|
Author
|
|
------
|
|
Written by Junio C Hamano <junkio@cox.net>
|
|
|
|
Documentation
|
|
--------------
|
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
GIT
|
|
---
|
|
Part of the link:git.html[git] suite
|
|
|