Skip to content

Commit aaca491

Browse files
peffgitster
authored andcommitted
git-stash: fix "no arguments" case in documentation
Commit 9488e87 changed this from 'save' to 'list', but missed this spot in the documentation. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9488e87 commit aaca491

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-stash.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ and reverts the working directory to match the `HEAD` commit.
2121
The modifications stashed away by this command can be listed with
2222
`git-stash list`, inspected with `git-stash show`, and restored
2323
(potentially on top of a different commit) with `git-stash apply`.
24-
The default operation when called without options is to save the
25-
changes away.
24+
Calling git-stash without any arguments is equivalent to `git-stash
25+
list`.
2626

2727
The latest stash you created is stored in `$GIT_DIR/refs/stash`; older
2828
stashes are found in the reflog of this reference and can be named using

0 commit comments

Comments
 (0)