mirror of
https://github.com/git/git.git
synced 2025-04-18 12:44:02 +00:00
glossary: update description of head and ref
Reword them to avoid sounding as if loose refs are the only ones in the world. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
487b04411d
commit
deaef1e947
@ -161,8 +161,8 @@ to point at the new commit.
|
||||
|
||||
[[def_head]]head::
|
||||
A <<def_ref,named reference>> to the <<def_commit,commit>> at the tip of a
|
||||
<<def_branch,branch>>. Heads are stored in
|
||||
`$GIT_DIR/refs/heads/`, except when using packed refs. (See
|
||||
<<def_branch,branch>>. Heads are stored in a file in
|
||||
`$GIT_DIR/refs/heads/` directory, except when using packed refs. (See
|
||||
linkgit:git-pack-refs[1].)
|
||||
|
||||
[[def_HEAD]]HEAD::
|
||||
@ -350,8 +350,9 @@ including Documentation/chapter_1/figure_1.jpg.
|
||||
|
||||
[[def_ref]]ref::
|
||||
A 40-byte hex representation of a <<def_SHA1,SHA1>> or a name that
|
||||
denotes a particular <<def_object,object>>. These may be stored in
|
||||
`$GIT_DIR/refs/`.
|
||||
denotes a particular <<def_object,object>>. They may be stored in
|
||||
a file under `$GIT_DIR/refs/` directory, or
|
||||
in the `$GIT_DIR/packed-refs` file.
|
||||
|
||||
[[def_reflog]]reflog::
|
||||
A reflog shows the local "history" of a ref. In other words,
|
||||
|
Loading…
x
Reference in New Issue
Block a user