@@ -161,17 +161,17 @@ to point at the new commit.
161
161
162
162
[[def_head]]head::
163
163
A <<def_ref,named reference>> to the <<def_commit,commit>> at the tip of a
164
- <<def_branch,branch>>. Heads are stored in
165
- `$GIT_DIR/refs/heads/`, except when using packed refs. (See
164
+ <<def_branch,branch>>. Heads are stored in a file in
165
+ `$GIT_DIR/refs/heads/` directory , except when using packed refs. (See
166
166
linkgit:git-pack-refs[1].)
167
167
168
168
[[def_HEAD]]HEAD::
169
169
The current <<def_branch,branch>>. In more detail: Your <<def_working_tree,
170
170
working tree>> is normally derived from the state of the tree
171
171
referred to by HEAD. HEAD is a reference to one of the
172
172
<<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.
175
175
176
176
[[def_head_ref]]head ref::
177
177
A synonym for <<def_head,head>>.
@@ -382,8 +382,9 @@ should not be combined with other pathspec.
382
382
383
383
[[def_ref]]ref::
384
384
A 40-byte hex representation of a <<def_SHA1,SHA1>> or a name that
385
- denotes a particular <<def_object,object>>. These may be stored in
386
- `$GIT_DIR/refs/`.
385
+ denotes a particular <<def_object,object>>. They may be stored in
386
+ a file under `$GIT_DIR/refs/` directory, or
387
+ in the `$GIT_DIR/packed-refs` file.
387
388
388
389
[[def_reflog]]reflog::
389
390
A reflog shows the local "history" of a ref. In other words,
@@ -459,14 +460,14 @@ should not be combined with other pathspec.
459
460
command.
460
461
461
462
[[def_tag]]tag::
462
- A <<def_ref,ref>> pointing to a <<def_tag_object,tag>> or
463
- <<def_commit_object,commit object>>. In contrast to a <<def_head,head>>,
464
- a tag is not changed by a <<def_commit ,commit>>. Tags (not
465
- <<def_tag_object,tag objects>>) are stored in `$GIT_DIR/refs/tags/`. A
466
- git tag has nothing to do with a Lisp tag (which would be
467
- called an <<def_object_type,object type>> in git's context). A
468
- tag is most typically used to mark a particular point in the
469
- commit ancestry <<def_chain,chain>>.
463
+ A <<def_ref,ref>> under `refs/tags/` namespace that points to an
464
+ object of an arbitrary type (typically a tag points to either a
465
+ <<def_tag_object, tag>> or a <<def_commit_object ,commit object>>).
466
+ In contrast to a <<def_head,head>>, a tag is not updated by
467
+ the `commit` command. A git tag has nothing to do with a Lisp
468
+ tag (which would be called an <<def_object_type,object type>>
469
+ in git's context). A tag is most typically used to mark a particular
470
+ point in the commit ancestry <<def_chain,chain>>.
470
471
471
472
[[def_tag_object]]tag object::
472
473
An <<def_object,object>> containing a <<def_ref,ref>> pointing to
0 commit comments