for the case of updating a file in index and worktree. Signed-off-by: Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html