Merge branch 'tg/stash-doc-cleanup'
The documentation explained what "git stash" does to the working tree (after stashing away the local changes) in terms of "reset --hard", which was exposing an unnecessary implementation detail. * tg/stash-doc-cleanup: Documentation/stash: remove mention of git reset --hardmaint
commit
57f7345b50
|
@ -47,8 +47,9 @@ OPTIONS
|
||||||
|
|
||||||
save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
|
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
|
Save your local modifications to a new 'stash' and roll them
|
||||||
--hard` to revert them. The <message> part is optional and gives
|
back to HEAD (in the working tree and in the index).
|
||||||
|
The <message> part is optional and gives
|
||||||
the description along with the stashed state. For quickly making
|
the description along with the stashed state. For quickly making
|
||||||
a snapshot, you can omit _both_ "save" and <message>, but giving
|
a snapshot, you can omit _both_ "save" and <message>, but giving
|
||||||
only <message> does not trigger this action to prevent a misspelled
|
only <message> does not trigger this action to prevent a misspelled
|
||||||
|
|
Loading…
Reference in New Issue