Re: [PATCH 1/1] git-stash.txt: correct "git stash" behavior with no arguments
- Date: Thu, 12 Oct 2017 09:53:56 +0900
- From: Junio C Hamano <gitster@xxxxxxxxx>
- Subject: Re: [PATCH 1/1] git-stash.txt: correct "git stash" behavior with no arguments
Takahito Ogawa <aiueogawa217@xxxxxxxxx> writes:
> @@ -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`.
Hmph. Is there any difference between
git stash save
git stash push
without any other argument? Aren't they equivalent to
without any argument, which is what this sentence explains?