git2cpp stash
Stash the changes in a dirty working directory away
git2cpp stash [OPTIONS] [SUBCOMMANDS]
OPTIONS:
-h, --help Print this help message and exit
SUBCOMMANDS:
push Save your local modifications to a new stash entry and roll them
back to HEAD (in the working tree and in the index). The
<message> part is optional and gives the description along with
the stashed state.
list List the stash entries that you currently have. Each stash entry
is listed with its name (e.g. stash@{0} is the latest
entry, stash@{1} is the one before, etc.), the name of
the branch that was current when the entry was made, and a short
description of the commit the entry was based on.
pop Remove a single stashed state from the stash list and apply it on
top of the current working tree state, i.e., do the inverse
operation of git stash push.
apply Like pop, but do not remove the state from the stash
list. Unlike pop, <stash> may be any commit that looks
like a commit created by stash push or .
show Show the changes recorded in the stash entry as a diff between
the stashed contents and the commit back when the stash entry was
first created.