From: Michael J Gruber Date: Mon, 13 Sep 2010 08:06:32 GMT Subject: [PATCH 2/6] git-reset.txt: reset does not change files in target Message-ID: <9669b7872536d2555d4b2c01560c552d97fdd81b.1284365021.git.git@drmicha.warpmail.net> In-Reply-To: git-reset obviously cannot change files in an existing commit. Make it not sound as if it could: reset can change HEAD and, in that sense, can change which state a file in HEAD is in. Signed-off-by: Michael J Gruber --- Documentation/git-reset.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt index 7d68b4c..8fb871c 100644 --- a/Documentation/git-reset.txt +++ b/Documentation/git-reset.txt @@ -295,7 +295,7 @@ file. For example, the first line of the first table means that if a file is in state A in the working tree, in state B in the index, in state C in HEAD and in state D in the target, then "git reset --soft target" will put the file in state A in the working tree, in state B -in the index and in state D in HEAD. +in the index and set HEAD to target (which has the file in state D). working index HEAD target working index HEAD ---------------------------------------------------- -- 1.7.3.rc1.215.g6997c