Function: magit-reset-mixed
magit-reset-mixed is an autoloaded, interactive and byte-compiled
function defined in magit-reset.el.
Signature
(magit-reset-mixed COMMIT)
Documentation
Reset the HEAD and index to COMMIT, but not the working tree.
(git reset --mixed COMMIT)
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-reset.el
;;;###autoload
(defun magit-reset-mixed (commit)
"Reset the `HEAD' and index to COMMIT, but not the working tree.
\n(git reset --mixed COMMIT)"
(interactive (list (magit-reset-read-branch-or-commit "Reset %s to")))
(magit-reset-internal "--mixed" commit))