libgit2

git_stash_flags

Version:

Stash flags

Values

GIT_STASH_DEFAULT
0

No option, default

GIT_STASH_KEEP_INDEX
(1 << 0)

All changes already added to the index are left intact in the working directory

GIT_STASH_INCLUDE_UNTRACKED
(1 << 1)

All untracked files are also stashed and then cleaned up from the working directory

GIT_STASH_INCLUDE_IGNORED
(1 << 2)

All ignored files are also stashed and then cleaned up from the working directory

GIT_STASH_KEEP_ALL
(1 << 3)

All changes in the index and working directory are left intact

Versions