Interface StashOptions

StashOptions defines the supported options for the Git stash command.

Hierarchy

  • StashOptions

Properties

--all?: null

Includes ignored and untracked files.

--include-untracked?: null

Includes untracked files. See also --no-include-untracked.

--index?: null

Reinstates not only the working tree’s changes, but also the index’s.

--keep-index?: null

Changes already added to the index are left intact. See also --no-keep-index.

--no-include-untracked?: null

Excludes untracked files. See also --include-untracked.

--no-keep-index?: null

The complement of --keep-index.

--only-untracked?: null

Shows only the untracked files in the stash entry as part of the diff.

--quiet?: null

Suppresses feedback messages.

--staged?: null

Stashes only the changes that are currently staged.