git-stash.txt: correct "git stash" behavior with no arguments
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.
Reviewed-by Thomas Gummerer <[email protected]>
Signed-off-by Takahito Ogawa <[email protected]>
--- Documentation/git-stash.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-stash.txt +1 -1
@@ -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