Function: magit-merge-nocommit

magit-merge-nocommit is an interactive and natively 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

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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))