7 git-cherry-pick - Apply the change introduced by an existing commit.
11 'git-cherry-pick' [-n] [-r] <commit>
15 Given one existing commit, apply the change the patch introduces, and record a
16 new commit that records it. This requires your working tree to be clean (no
17 modifications from the HEAD commit).
22 Commit to cherry-pick.
25 Usuall the command appends which commit was
26 cherry-picked after the original commit message when
27 making a commit. This option, '--replay', causes it to
28 use the original commit message intact. This is useful
29 when you are reordering the patches in your private tree
30 before publishing, and is used by 'git rebase'.
33 Usually the command automatically creates a commit with
34 a commit log message stating which commit was
35 cherry-picked. This flag applies the change necessary
36 to cherry-pick the named commit to your working tree,
37 but does not make the commit. In addition, when this
38 option is used, your working tree does not have to match
39 the HEAD commit. The cherry-pick is done against the
40 beginning state of your working tree.
42 This is useful when cherry-picking more than one commits'
43 effect to your working tree in a row.
48 Written by Junio C Hamano <junkio@cox.net>
52 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
56 Part of the gitlink:git[7] suite