Function: magit-cherry-pick
magit-cherry-pick is an autoloaded, interactive and byte-compiled
function defined in magit-sequence.el.
Signature
(magit-cherry-pick)
Documentation
Apply or transplant commits.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-sequence.el
;;;###autoload(autoload 'magit-cherry-pick "magit-sequence" nil t)
(transient-define-prefix magit-cherry-pick ()
"Apply or transplant commits."
:man-page "git-cherry-pick"
:value '("--ff")
:incompatible '(("--ff" "-x"))
["Arguments"
:if-not magit-sequencer-in-progress-p
(magit-cherry-pick:--mainline)
("=s" magit-merge:--strategy)
("-F" "Attempt fast-forward" "--ff")
("-x" "Reference cherry in commit message" "-x")
("-e" "Edit commit messages" ("-e" "--edit"))
(magit:--gpg-sign)
(magit:--signoff)]
[:if-not magit-sequencer-in-progress-p
["Apply here"
("A" "Pick" magit-cherry-copy)
("a" "Apply" magit-cherry-apply)
("h" "Harvest" magit-cherry-harvest)
("m" "Squash" magit-merge-squash)]
["Apply elsewhere"
("d" "Donate" magit-cherry-donate)
("n" "Spinout" magit-cherry-spinout)
("s" "Spinoff" magit-cherry-spinoff)]]
["Actions"
:if magit-sequencer-in-progress-p
("A" "Continue" magit-sequencer-continue)
("s" "Skip" magit-sequencer-skip)
("a" "Abort" magit-sequencer-abort)])