Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-stash: fix "no arguments" case in documentation
author
Jeff King
<peff@peff.net>
Mon, 2 Jul 2007 04:20:06 +0000
(
00:20
-0400)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 2 Jul 2007 04:38:05 +0000
(21:38 -0700)
Commit
9488e875
changed this from 'save' to 'list', but
missed this spot in the documentation.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-stash.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
9488e87
)
diff --git
a/Documentation/git-stash.txt
b/Documentation/git-stash.txt
index 4815965efdf7dbd613b2a46a4eebac4ee06f2c44..4dc344dfe7a1e4bc242aa7496bebc1f475587014 100644
(file)
--- a/
Documentation/git-stash.txt
+++ b/
Documentation/git-stash.txt
@@
-21,8
+21,8
@@
and reverts the working directory to match the `HEAD` commit.
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`.
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`.
-The default operation when called without options is to save the
-
changes away
.
+Calling git-stash without any arguments is equivalent to `git-stash
+
list`
.
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
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