Documentation/stash: remove mention of git reset --hard

Don't mention git reset --hard in the documentation for git stash save. It's an implementation detail that doesn't matter to the end user and thus shouldn't be exposed to them. In addition it's not quite true for git stash -p, and will not be true when a filename argument to limit the stash to a few files is introduced. Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Thomas Gummerer committed Feb 12, 2017 at 21:54 UTC 20a7e06172fe054eac5a2f48932feb5ff5074919
1 file changed +3 -2
Documentation/git-stash.txt
+3 -2
@@ -47,8 +47,9 @@ OPTIONS
47
48 save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
49
50 - Save your local modifications to a new 'stash', and run `git reset
51 - --hard` to revert them. The <message> part is optional and gives
50 + Save your local modifications to a new 'stash' and roll them
51 + back to HEAD (in the working tree and in the index).
52 + The <message> part is optional and gives
53 the description along with the stashed state. For quickly making
54 a snapshot, you can omit _both_ "save" and <message>, but giving
55 only <message> does not trigger this action to prevent a misspelled