[PATCH 5/6] git-reset.txt: point to git-checkout
for the case of updating a file in index and worktree.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
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 <paths>` is the opposite of `git add
<paths>`.
+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 [<commit>] [--] [<paths>...]::
Interactively select hunks in the difference between the index
and <commit> (defaults to HEAD). The chosen hunks are applied
--
1.7.3.rc1.215.g6997c