summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e22148f)
raw | patch | inline | side by side (parent: e22148f)
author | Michael J Gruber <git@drmicha.warpmail.net> | |
Wed, 15 Sep 2010 20:47:39 +0000 (22:47 +0200) | ||
committer | Junio 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>
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 | patch | blob | history |
index 9cf31485feec4b03850edb1f2f3a4b765245f4cc..91bd2e90ec86fd6c098b514e86650870be6d7c11 100644 (file)
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.
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:
+