Skip to content

Commit 67393c5

Browse files
committed
glossary: clarify description of HEAD
HEAD on a branch does reference a commit via the branch ref it refers to. The main difference of a detached HEAD is that it _directly_ refers to a commit. Clarify this. Signed-off-by: Junio C Hamano <[email protected]>
1 parent deaef1e commit 67393c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/glossary-content.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ to point at the new commit.
170170
working tree>> is normally derived from the state of the tree
171171
referred to by HEAD. HEAD is a reference to one of the
172172
<<def_head,heads>> in your repository, except when using a
173-
<<def_detached_HEAD,detached HEAD>>, in which case it may
174-
reference an arbitrary commit.
173+
<<def_detached_HEAD,detached HEAD>>, in which case it directly
174+
references an arbitrary commit.
175175

176176
[[def_head_ref]]head ref::
177177
A synonym for <<def_head,head>>.

0 commit comments

Comments
 (0)