From: Michael J Gruber Date: Wed, 15 Sep 2010 20:47:39 +0000 (+0200) Subject: git-reset.txt: clarify branch vs. branch head X-Git-Tag: v1.7.3.3~29^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae8285ed63b9cca3324fda6481b2a97a92e3e50d;p=git.git 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 --- 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: +