Function: magit-merge-abort
magit-merge-abort is an autoloaded, interactive and byte-compiled
function defined in magit-merge.el.
Signature
(magit-merge-abort)
Documentation
Abort the current merge operation.
(git merge --abort)
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-merge.el
;;;###autoload
(defun magit-merge-abort ()
"Abort the current merge operation.
\n(git merge --abort)"
(interactive)
(unless (file-exists-p (expand-file-name "MERGE_HEAD" (magit-gitdir)))
(user-error "No merge in progress"))
(magit-confirm 'abort-merge)
(magit-run-git-async "merge" "--abort"))