Skip to contentSkip to conversation

git-stash.txt: correct "git stash" behavior with no arguments

PATCH New Takahito Ogawa 1 participant 1 message Oct 11, 2017 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-stash.txt: correct "git stash" behavior with no arguments

"git stash" behavior without any arguments was changed in 1ada5020b ("stash: use stash_push for no verb form", 2017-02-28). This is equivalent to "git stash push" but documents says "git stash save".

Correct it.

---
 Documentation/git-stash.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-stash.txt +1 -1
index 00f95fee1..63642c145 100644
@@ -33,7 +33,7 @@ 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`.
-Calling `git stash` without any arguments is equivalent to `git stash save`.
+Calling `git stash` without any arguments is equivalent to `git stash push`.
 A stash is by default listed as "WIP on 'branchname' ...", but
 you can give a more descriptive message on the command line when
 you create one.
Signature · 1 line
2.13.1