Function: magit-snapshot-index

magit-snapshot-index is an interactive and natively compiled function defined in magit-stash.el.

Signature

(magit-snapshot-index)

Documentation

Create a snapshot of the index only.

Unstaged and untracked changes are not stashed.

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-stash.el
;;;###autoload
(defun magit-snapshot-index ()
  "Create a snapshot of the index only.
Unstaged and untracked changes are not stashed."
  (interactive)
  (magit-snapshot-save t nil nil t))