Re: [PATCH v3 1/5] Documentation/stash: remove mention of git reset --hard
On Sun, Feb 05, 2017 at 08:26:38PM +0000, Thomas Gummerer wrote:
Show 13 quoted lines
> diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
> index 2e9cef06e6..2e9e344cd7 100644
> --- a/Documentation/git-stash.txt
> +++ b/Documentation/git-stash.txt
> @@ -47,8 +47,9 @@ OPTIONS
>
> save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
>
> - Save your local modifications to a new 'stash', and run `git reset
> - --hard` to revert them. The <message> part is optional and gives
> + Save your local modifications to a new 'stash' and roll them
> + back to HEAD (in the working tree and in the index).
> + The <message> part is optional and gives
Nice. I think what you ended up with here is concise and accurate.
-Peff