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