Function: magit-merge-nocommit
magit-merge-nocommit is an autoloaded, interactive and byte-compiled
function defined in magit-merge.el.
Signature
(magit-merge-nocommit REV &optional ARGS)
Documentation
Merge commit REV into the current branch; pretending it failed.
Pretend the merge failed to give the user the opportunity to inspect the merge and change the commit message.
To create an octopus-merge, separate branches with commas.
(git merge --no-commit --no-ff [ARGS] REV)
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-merge.el
;;;###autoload
(defun magit-merge-nocommit (rev &optional args)
"Merge commit REV into the current branch; pretending it failed.
Pretend the merge failed to give the user the opportunity to
inspect the merge and change the commit message.
To create an octopus-merge, separate branches with commas.
\(git merge --no-commit --no-ff [ARGS] REV)"
(interactive (list (magit-read-other-branches-or-commits "Merge")
(magit-merge-arguments)))
(magit-merge-assert)
(cl-pushnew "--no-ff" args :test #'equal)
(magit-run-git-async "merge" "--no-commit" args rev))