Function: magit-cherry-spinoff

magit-cherry-spinoff is an autoloaded, interactive and byte-compiled function defined in magit-sequence.el.

Signature

(magit-cherry-spinoff COMMITS BRANCH START-POINT &optional ARGS)

Documentation

Move COMMITS from the current branch onto a new BRANCH.

Remove COMMITS from the current branch and checkout BRANCH. If a conflict occurs, then you have to fix that and finish the process manually.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-sequence.el
;;;###autoload
(defun magit-cherry-spinoff (commits branch start-point &optional args)
  "Move COMMITS from the current branch onto a new BRANCH.
Remove COMMITS from the current branch and checkout BRANCH.
If a conflict occurs, then you have to fix that and finish
the process manually."
  (interactive (magit--cherry-spinoff-read-args "spinoff"))
  (magit--cherry-move commits (magit-get-current-branch) branch args
                      start-point t))