Thread (32 messages) 32 messages, 5 authors, 2017-02-14

Re: [PATCH v3 1/5] Documentation/stash: remove mention of git reset --hard

From: Jeff King <hidden>
Date: 2017-02-06 15:22:08

On Sun, Feb 05, 2017 at 08:26:38PM +0000, Thomas Gummerer wrote:
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help