Function: magit-snapshot-index

magit-snapshot-index is an autoloaded, interactive and byte-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

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/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))