summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aad8441)
raw | patch | inline | side by side (parent: aad8441)
author | Michael J Gruber <git@drmicha.warpmail.net> | |
Wed, 15 Sep 2010 20:47:41 +0000 (22:47 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 18 Sep 2010 22:14:19 +0000 (15:14 -0700) |
Make it clearer that git reset --soft actually does something (changing
HEAD). While it is mentioned in the previous paragraph already it can
be easily overlooked otherwise.
Also, git reset --soft does not look at the index nor the worktree, so
there is no "good order" requirement.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
HEAD). While it is mentioned in the previous paragraph already it can
be easily overlooked otherwise.
Also, git reset --soft does not look at the index nor the worktree, so
there is no "good order" requirement.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-reset.txt | patch | blob | history |
index e4437404f33c30e5d619c59940000867e4e45467..8762a0c6b9f8be1dbc41a6f3e601b4a9f3d862b6 100644 (file)
+
--
--soft::
- Does not touch the index file nor the working tree at all, but
- requires them to be in a good order. This leaves all your changed
- files "Changes to be committed", as 'git status' would
- put it.
+ Does not touch the index file nor the working tree at all (but
+ resets the head to <commit>, just like all modes do). This leaves
+ all your changed files "Changes to be committed", as 'git status'
+ would put it.
--mixed::
Resets the index but not the working tree (i.e., the changed files