diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2017-10-22 18:04:07 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-27 09:58:38 +0900 |
commit | db37745eef62c57e1609cbd50c6dbf9a8066f191 (patch) | |
tree | 83fd416319404fd187147e74ef3e6a8958ea4c90 /git-stash.sh | |
parent | 4843cdefe3f30d19c1b2cf601522152c1413459a (diff) | |
download | git-db37745eef62c57e1609cbd50c6dbf9a8066f191.tar.gz |
stash: replace "git stash save" with "git stash push" in the documentation
"git stash push" is the newer interface for creating a stash. While we
are still keeping "git stash save" around for the time being, it's better
to point new users of "git stash" to the more modern (and more feature
rich) interface, instead of teaching them the older version that we
might want to phase out in the future.
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-stash.sh')
-rwxr-xr-x | git-stash.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/git-stash.sh b/git-stash.sh index 8b2ce9afda..3a4e5d157c 100755 --- a/git-stash.sh +++ b/git-stash.sh @@ -267,11 +267,11 @@ push_stash () { # translation of "error: " takes in your language. E.g. in # English this is: # - # $ git stash save --blah-blah 2>&1 | head -n 2 - # error: unknown option for 'stash save': --blah-blah - # To provide a message, use git stash save -- '--blah-blah' - eval_gettextln "error: unknown option for 'stash save': \$option - To provide a message, use git stash save -- '\$option'" + # $ git stash push --blah-blah 2>&1 | head -n 2 + # error: unknown option for 'stash push': --blah-blah + # To provide a message, use git stash push -m '--blah-blah' + eval_gettextln "error: unknown option for 'stash push': \$option + To provide a message, use git stash push -m '\$option'" usage ;; *) |