Browse Source

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>
maint
Phil Hord 7 years ago committed by Junio C Hamano
parent
commit
0d5f844f0a
  1. 4
      Documentation/git-stash.txt

4
Documentation/git-stash.txt

@ -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
---------- ----------

Loading…
Cancel
Save