From ae8285ed63b9cca3324fda6481b2a97a92e3e50d Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Wed, 15 Sep 2010 22:47:39 +0200 Subject: [PATCH] git-reset.txt: clarify branch vs. branch head "Change the branch" can be misunderstood to mean "change which branch is checked out". Make it clearer that git-reset changes the branch head of the currently checked out branch. Signed-off-by: Michael J Gruber Signed-off-by: Junio C Hamano --- Documentation/git-reset.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt index 9cf31485f..91bd2e90e 100644 --- a/Documentation/git-reset.txt +++ b/Documentation/git-reset.txt @@ -15,7 +15,7 @@ SYNOPSIS DESCRIPTION ----------- In the first and second form, copy entries from to the index. -In the third form, set the current branch to , optionally +In the third form, set the current branch head to , optionally modifying index and worktree to match. The defaults to HEAD in all forms. @@ -36,7 +36,7 @@ This means that `git reset -p` is the opposite of `git add -p` (see linkgit:git-add[1]). 'git reset' [--] []:: - This form points the current branch to and then + This form resets the current branch head to and then updates index and working tree according to , which must be one of the following: + -- 2.30.2