Function: magit-commit-amend
magit-commit-amend is an interactive and natively 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
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-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))