Function: magit-commit-amend
magit-commit-amend is an autoloaded, interactive and byte-compiled
function defined in magit-commit.el.
Signature
(magit-commit-amend &optional ARGS)
Documentation
Amend staged changes (if any) to the last commit, and edit its message.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-commit.el
;;;###autoload
(defun magit-commit-amend (&optional args)
"Amend staged changes (if any) to the last commit, and edit its message."
(interactive (list (magit-commit-arguments)))
(magit-commit-amend-assert)
(magit-run-git-with-editor "commit" "--amend" args))