From: Michael J Gruber Date: Mon, 13 Sep 2010 08:06:35 GMT Subject: [PATCH 5/6] git-reset.txt: point to git-checkout Message-ID: <520620a60966ebdfa6e1fe8b407b0de51c302b82.1284365021.git.git@drmicha.warpmail.net> In-Reply-To: for the case of updating a file in index and worktree. Signed-off-by: Michael J Gruber --- Documentation/git-reset.txt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt index 60b4b80..40e2fd8 100644 --- a/Documentation/git-reset.txt +++ b/Documentation/git-reset.txt @@ -27,6 +27,9 @@ in all forms. This means that `git reset ` is the opposite of `git add `. +If you want to reset index entry and working tree state of a file, +linkgit:git-checkout[1] is your friend. + 'git reset' --patch|-p [] [--] [...]:: Interactively select hunks in the difference between the index and (defaults to HEAD). The chosen hunks are applied -- 1.7.3.rc1.215.g6997c