Function: magit-stash-keep-index
magit-stash-keep-index is an autoloaded, interactive and byte-compiled
function defined in magit-stash.el.
Signature
(magit-stash-keep-index MESSAGE &optional INCLUDE-UNTRACKED)
Documentation
Create a stash of the index and working tree, keeping index intact.
Untracked files are included according to infix arguments. One prefix argument is equivalent to "--include-untracked" while two prefix arguments are equivalent to "--all".
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-stash.el
;;;###autoload
(defun magit-stash-keep-index (message &optional include-untracked)
"Create a stash of the index and working tree, keeping index intact.
Untracked files are included according to infix arguments.
One prefix argument is equivalent to \"--include-untracked\"
while two prefix arguments are equivalent to \"--all\"."
(interactive (magit-stash-read-args))
(magit-stash-save message t t include-untracked t 'index))