doc: prefer 'stash push' over 'stash save'

Although `git stash save` was deprecated recently, some parts of the
documentation still refer to it instead of `push`.

Signed-off-by: Phil Hord <phil.hord@gmail.com>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Phil Hord
2017-11-21 15:05:23 -08:00
committed by Junio C Hamano
parent c0c0c825ce
commit 0d5f844f0a

View File

@ -175,14 +175,14 @@ create::
return its object name, without storing it anywhere in the ref return its object name, without storing it anywhere in the ref
namespace. namespace.
This is intended to be useful for scripts. It is probably not This is intended to be useful for scripts. It is probably not
the command you want to use; see "save" above. the command you want to use; see "push" above.
store:: store::
Store a given stash created via 'git stash create' (which is a Store a given stash created via 'git stash create' (which is a
dangling merge commit) in the stash ref, updating the stash dangling merge commit) in the stash ref, updating the stash
reflog. This is intended to be useful for scripts. It is reflog. This is intended to be useful for scripts. It is
probably not the command you want to use; see "save" above. probably not the command you want to use; see "push" above.
DISCUSSION DISCUSSION
---------- ----------