Function: magit-merge-plain

magit-merge-plain is an autoloaded, interactive and byte-compiled function defined in magit-merge.el.

Signature

(magit-merge-plain REV &optional ARGS NOCOMMIT)

Documentation

Merge commit REV into the current branch; using default message.

Unless there are conflicts or a prefix argument is used create a merge commit using a generic commit message and without letting the user inspect the result. With a prefix argument pretend the merge failed to give the user the opportunity to inspect the merge.

To create an octopus-merge, separate branches with commas.

(git merge --no-edit|--no-commit [ARGS] REV)

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-merge.el
;;;###autoload
(defun magit-merge-plain (rev &optional args nocommit)
  "Merge commit REV into the current branch; using default message.

Unless there are conflicts or a prefix argument is used create a
merge commit using a generic commit message and without letting
the user inspect the result.  With a prefix argument pretend the
merge failed to give the user the opportunity to inspect the
merge.

To create an octopus-merge, separate branches with commas.

\(git merge --no-edit|--no-commit [ARGS] REV)"
  (interactive (list (magit-read-other-branches-or-commits "Merge")
                     (magit-merge-arguments)
                     current-prefix-arg))
  (magit-merge-assert)
  (magit-run-git-async "merge" (if nocommit "--no-commit" "--no-edit") args rev))