path: root/Documentation/git-stash.txt
diff options
authorJunio C Hamano <>2007-07-03 06:15:45 (GMT)
committerJunio C Hamano <>2007-07-03 06:15:45 (GMT)
commitfcb10a964875a987f764af401537689e4aea82c6 (patch)
treece5e6311205256d3ac9dd488484741b1d349b347 /Documentation/git-stash.txt
parent5be60078c935ed08ee8eb5a32680bdfb6bb5bdf3 (diff)
git-stash: make "save" the default action again.
Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-stash.txt')
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
index b7d263d..35888b4 100644
--- a/Documentation/git-stash.txt
+++ b/Documentation/git-stash.txt
@@ -13,7 +13,7 @@ SYNOPSIS
-Use 'git-stash save' when you want to record the current state of the
+Use 'git-stash' when you want to record the current state of the
working directory and the index, but want to go back to a clean
working directory. The command saves your local modifications away
and reverts the working directory to match the `HEAD` commit.
@@ -22,7 +22,7 @@ The modifications stashed away by this command can be listed with
`git-stash list`, inspected with `git-stash show`, and restored
(potentially on top of a different commit) with `git-stash apply`.
Calling git-stash without any arguments is equivalent to `git-stash
The latest stash you created is stored in `$GIT_DIR/refs/stash`; older
stashes are found in the reflog of this reference and can be named using
@@ -36,7 +36,8 @@ OPTIONS
Save your local modifications to a new 'stash', and run `git-reset
- --hard` to revert them.
+ --hard` to revert them. This is the default action when no
+ subcommand is given.