|
20 | 20 | [[def_branch]]branch::
|
21 | 21 | A "branch" is a line of development. The most recent
|
22 | 22 | <<def_commit,commit>> on a branch is referred to as the tip of
|
23 |
| - that branch. The tip of the branch is referenced by a branch |
| 23 | + that branch. The tip of the branch is <<def_ref,referenced>> by a branch |
24 | 24 | <<def_head,head>>, which moves forward as additional development
|
25 | 25 | is done on the branch. A single Git
|
26 | 26 | <<def_repository,repository>> can track an arbitrary number of
|
@@ -75,6 +75,21 @@ state in the Git history, by creating a new commit representing the current
|
75 | 75 | state of the <<def_index,index>> and advancing <<def_HEAD,HEAD>>
|
76 | 76 | to point at the new commit.
|
77 | 77 |
|
| 78 | +[[def_commit_graph_general]]commit graph concept, representations and usage:: |
| 79 | + A synonym for the <<def_DAG,DAG>> structure formed by the commits |
| 80 | + in the object database, <<def_ref,referenced>> by branch tips, |
| 81 | + using their <<def_chain,chain>> of linked commits. |
| 82 | + This structure is the definitive commit graph. The |
| 83 | + graph can be represented in other ways, e.g. the |
| 84 | + <<def_commit_graph_file,"commit-graph" file>>. |
| 85 | + |
| 86 | +[[def_commit_graph_file]]commit-graph file:: |
| 87 | + The "commit-graph" (normally hyphenated) file is a supplemental |
| 88 | + representation of the <<def_commit_graph_general,commit graph>> |
| 89 | + which accelerates commit graph walks. The "commit-graph" file is |
| 90 | + stored either in the .git/objects/info directory or in the info |
| 91 | + directory of an alternate object database. |
| 92 | + |
78 | 93 | [[def_commit_object]]commit object::
|
79 | 94 | An <<def_object,object>> which contains the information about a
|
80 | 95 | particular <<def_revision,revision>>, such as <<def_parent,parents>>, committer,
|
|
0 commit comments