Function: magit-rebase-abort
magit-rebase-abort is an autoloaded, interactive and byte-compiled
function defined in magit-sequence.el.
Signature
(magit-rebase-abort)
Documentation
Abort the current rebase operation, restoring the original branch.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-sequence.el
;;;###autoload
(defun magit-rebase-abort ()
"Abort the current rebase operation, restoring the original branch."
(interactive)
(unless (magit-rebase-in-progress-p)
(user-error "No rebase in progress"))
(magit-confirm 'abort-rebase "Abort this rebase")
(magit-run-git (magit--rebase-resume-command) "--abort"))