@matheusbsbs / matheus-bagliano / commits / ae8285ed63
Fork 0

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 <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael J Gruber committed Sep 15, 2010 at 22:47 UTC ae8285ed63b9cca3324fda6481b2a97a92e3e50d
1 file changed +2 -2
Documentation/git-reset.txt
+2 -2
@@ -15,7 +15,7 @@ SYNOPSIS
15 DESCRIPTION
16 -----------
17 In the first and second form, copy entries from <commit> to the index.
18 -In the third form, set the current branch to <commit>, optionally
18 +In the third form, set the current branch head to <commit>, optionally
19 modifying index and worktree to match. The <commit> defaults to HEAD
20 in all forms.
21
@@ -36,7 +36,7 @@ This means that `git reset -p` is the opposite of `git add -p` (see
36 linkgit:git-add[1]).
37
38 'git reset' [--<mode>] [<commit>]::
39 - This form points the current branch to <commit> and then
39 + This form resets the current branch head to <commit> and then
40 updates index and working tree according to <mode>, which must
41 be one of the following:
42 +