Temporary stash away changed from the working directory.
git_stash_save(
message = "",
keep_index = FALSE,
include_untracked = FALSE,
include_ignored = FALSE,
repo = "."
)git_stash_pop(index = 0, repo = ".")
git_stash_drop(index = 0, repo = ".")
git_stash_list(repo = ".")
optional message to store the stash
changes already added to the index are left intact in the working directory
untracked files are also stashed and then cleaned up from the working directory
ignored files are also stashed and then cleaned up from the working directory
The path to the git repository. If the directory is not a
repository, parent directories are considered (see git_find). To disable
this search, provide the filepath protected with I()
. When using this
parameter, always explicitly call by name (i.e. repo =
) because future
versions of gert may have additional parameters.
The position within the stash list. 0 points to the most recent stashed state.
Other git:
git_archive
,
git_branch()
,
git_commit()
,
git_config()
,
git_diff()
,
git_fetch()
,
git_ignore
,
git_merge()
,
git_rebase()
,
git_remote
,
git_repo
,
git_signature()
,
git_tag