git_stash_flags

Stash flags

Values

ValueMeaning
GIT_STASH_DEFAULT0

No option, default

GIT_STASH_KEEP_INDEX1 << 0

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

GIT_STASH_INCLUDE_UNTRACKED1 << 1

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

GIT_STASH_INCLUDE_IGNORED1 << 2

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

Meta