Next: , Previous: , Up: Manipulating   [Contents][Index]


6.9 Cherry Picking

Also see the git-cherry-pick(1) manpage.

A     (magit-cherry-pick-popup)

This prefix command shows the following suffix commands along with the appropriate infix arguments in a popup buffer.

When no cherry-pick or revert is in progress, then the popup buffer features the following commands.

A A     (magit-cherry-pick)

Cherry-pick a commit. Prompt for a commit, defaulting to the commit at point. If the region selects multiple commits, then pick all of them, without prompting.

A a     (magit-cherry-apply)

Apply the changes in a commit to the working tree, but do not commit them. Prompt for a commit, defaulting to the commit at point. If the region selects multiple commits, then apply all of them, without prompting.

This command also has a top-level binding, which can be invoked without using the popup by typing a at the top-level.

When a cherry-pick or revert is in progress, then the popup buffer features these commands instead.

A A     (magit-sequence-continue)

Resume the current cherry-pick or revert sequence.

A s     (magit-sequence-skip)

Skip the stopped at commit during a cherry-pick or revert sequence.

A a     (magit-sequence-abort)

Abort the current cherry-pick or revert sequence. This discards all changes made since the sequence started.