Function: magit-cherry-copy
magit-cherry-copy is an autoloaded, interactive and byte-compiled
function defined in magit-sequence.el.
Signature
(magit-cherry-copy COMMITS &optional ARGS)
Documentation
Copy COMMITS from another branch onto the current branch.
Prompt for a commit, defaulting to the commit at point. If the region selects multiple commits, then pick all of them, without prompting.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-sequence.el
;;;###autoload
(defun magit-cherry-copy (commits &optional args)
"Copy COMMITS from another branch onto the current branch.
Prompt for a commit, defaulting to the commit at point. If
the region selects multiple commits, then pick all of them,
without prompting."
(interactive (magit-cherry-pick-read-args "Cherry-pick"))
(magit--cherry-pick commits args))