git-reset.txt: clarify branch vs. branch head
authorMichael J Gruber <git@drmicha.warpmail.net>
Wed, 15 Sep 2010 20:47:39 +0000 (22:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 18 Sep 2010 22:14:10 +0000 (15:14 -0700)
"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 <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-reset.txt
index 9cf31485feec4b03850edb1f2f3a4b765245f4cc..91bd2e90ec86fd6c098b514e86650870be6d7c11 100644 (file)
@@ -15,7 +15,7 @@ SYNOPSIS
 DESCRIPTION
 -----------
 In the first and second form, copy entries from <commit> to the index.
-In the third form, set the current branch to <commit>, optionally
+In the third form, set the current branch head to <commit>, optionally
 modifying index and worktree to match.  The <commit> 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' [--<mode>] [<commit>]::
-       This form points the current branch to <commit> and then
+       This form resets the current branch head to <commit> and then
        updates index and working tree according to <mode>, which must
        be one of the following:
 +