@@ -10,7 +10,7 @@ GIT Glossary
10
10
A bare repository is normally an appropriately
11
11
named <<def_directory,directory>> with a `.git` suffix that does not
12
12
have a locally checked-out copy of any of the files under
13
- <<def_revision, revision>> control. That is, all of the `git`
13
+ revision control. That is, all of the `git`
14
14
administrative and control files that would normally be present in the
15
15
hidden `.git` sub-directory are directly present in the
16
16
`repository.git` directory instead,
@@ -37,7 +37,7 @@ GIT Glossary
37
37
[[def_chain]]chain::
38
38
A list of objects, where each <<def_object,object>> in the list contains
39
39
a reference to its successor (for example, the successor of a
40
- <<def_commit,commit>> could be one of its parents).
40
+ <<def_commit,commit>> could be one of its <<def_parent, parents>> ).
41
41
42
42
[[def_changeset]]changeset::
43
43
BitKeeper/cvsps speak for "<<def_commit,commit>>". Since git does not
@@ -77,10 +77,10 @@ to point at the new commit.
77
77
78
78
[[def_commit_object]]commit object::
79
79
An <<def_object,object>> which contains the information about a
80
- particular <<def_revision,revision>>, such as parents, committer,
80
+ particular <<def_revision,revision>>, such as <<def_parent, parents>> , committer,
81
81
author, date and the <<def_tree_object,tree object>> which corresponds
82
82
to the top <<def_directory,directory>> of the stored
83
- <<def_revision, revision>> .
83
+ revision.
84
84
85
85
[[def_core_git]]core git::
86
86
Fundamental data structures and utilities of git. Exposes only limited
@@ -101,26 +101,30 @@ to point at the new commit.
101
101
102
102
[[def_detached_HEAD]]detached HEAD::
103
103
Normally the <<def_HEAD,HEAD>> stores the name of a
104
- <<def_branch,branch>>. However, git also allows you to check
105
- out an arbitrary commit that isn't necessarily the tip of any
104
+ <<def_branch,branch>>. However, git also allows you to <<def_checkout, check out>>
105
+ an arbitrary <<def_commit, commit>> that isn't necessarily the tip of any
106
106
particular branch. In this case HEAD is said to be "detached".
107
107
108
108
[[def_dircache]]dircache::
109
- You are *waaaaay* behind.
109
+ You are *waaaaay* behind. See <<def_index,index>>.
110
110
111
111
[[def_directory]]directory::
112
112
The list you get with "ls" :-)
113
113
114
114
[[def_dirty]]dirty::
115
115
A <<def_working_tree,working tree>> is said to be "dirty" if
116
- it contains modifications which have not been committed to the current
116
+ it contains modifications which have not been <<def_commit, committed>> to the current
117
117
<<def_branch,branch>>.
118
118
119
119
[[def_ent]]ent::
120
120
Favorite synonym to "<<def_tree-ish,tree-ish>>" by some total geeks. See
121
121
`http://en.wikipedia.org/wiki/Ent_(Middle-earth)` for an in-depth
122
122
explanation. Avoid this term, not to confuse people.
123
123
124
+ [[def_evil_merge]]evil merge::
125
+ An evil merge is a <<def_merge,merge>> that introduces changes that
126
+ do not appear in any <<def_parent,parent>>.
127
+
124
128
[[def_fast_forward]]fast forward::
125
129
A fast-forward is a special type of <<def_merge,merge>> where you have a
126
130
<<def_revision,revision>> and you are "merging" another
@@ -149,21 +153,21 @@ to point at the new commit.
149
153
[[def_grafts]]grafts::
150
154
Grafts enables two otherwise different lines of development to be joined
151
155
together by recording fake ancestry information for commits. This way
152
- you can make git pretend the set of parents a <<def_commit,commit>> has
156
+ you can make git pretend the set of <<def_parent, parents>> a <<def_commit,commit>> has
153
157
is different from what was recorded when the commit was
154
158
created. Configured via the `.git/info/grafts` file.
155
159
156
160
[[def_hash]]hash::
157
161
In git's context, synonym to <<def_object_name,object name>>.
158
162
159
163
[[def_head]]head::
160
- A named reference to the <<def_commit,commit>> at the tip of a
164
+ A <<def_ref, named reference>> to the <<def_commit,commit>> at the tip of a
161
165
<<def_branch,branch>>. Heads are stored in
162
166
`$GIT_DIR/refs/heads/`, except when using packed refs. (See
163
167
gitlink:git-pack-refs[1].)
164
168
165
169
[[def_HEAD]]HEAD::
166
- The current branch. In more detail: Your <<def_working_tree,
170
+ The current <<def_branch, branch>> . In more detail: Your <<def_working_tree,
167
171
working tree>> is normally derived from the state of the tree
168
172
referred to by HEAD. HEAD is a reference to one of the
169
173
<<def_head,heads>> in your repository, except when using a
@@ -179,15 +183,15 @@ to point at the new commit.
179
183
checking. Typically, the hooks allow for a command to be pre-verified
180
184
and potentially aborted, and allow for a post-notification after the
181
185
operation is done. The hook scripts are found in the
182
- `$GIT_DIR/hooks/` <<def_directory, directory>> , and are enabled by simply
186
+ `$GIT_DIR/hooks/` directory, and are enabled by simply
183
187
making them executable.
184
188
185
189
[[def_index]]index::
186
190
A collection of files with stat information, whose contents are stored
187
- as objects. The index is a stored version of your working
188
- <<def_tree, tree>>. Truth be told, it can also contain a second, and even
189
- a third version of a <<def_working_tree, working tree>> , which are used
190
- when merging.
191
+ as objects. The index is a stored version of your
192
+ <<def_working_tree,working tree>>. Truth be told, it can also contain a second, and even
193
+ a third version of a working tree, which are used
194
+ when <<def_merge, merging>> .
191
195
192
196
[[def_index_entry]]index entry::
193
197
The information regarding a particular file, stored in the
@@ -249,16 +253,16 @@ This commit is referred to as a "merge commit", or sometimes just a
249
253
describing the type of an <<def_object,object>>.
250
254
251
255
[[def_octopus]]octopus::
252
- To <<def_merge,merge>> more than two branches. Also denotes an
256
+ To <<def_merge,merge>> more than two <<def_branch, branches>> . Also denotes an
253
257
intelligent predator.
254
258
255
259
[[def_origin]]origin::
256
260
The default upstream <<def_repository,repository>>. Most projects have
257
261
at least one upstream project which they track. By default
258
262
'origin' is used for that purpose. New upstream updates
259
- will be fetched into remote tracking branches named
263
+ will be fetched into remote <<def_tracking_branch, tracking branches>> named
260
264
origin/name-of-upstream-branch, which you can see using
261
- "git <<def_branch, branch>> -r".
265
+ "` git branch -r` ".
262
266
263
267
[[def_pack]]pack::
264
268
A set of objects which have been compressed into one file (to save space
@@ -327,7 +331,7 @@ This commit is referred to as a "merge commit", or sometimes just a
327
331
`$GIT_DIR/refs/`.
328
332
329
333
[[def_refspec]]refspec::
330
- A <<def_refspec, refspec>> is used by <<def_fetch,fetch>> and
334
+ A " refspec" is used by <<def_fetch,fetch>> and
331
335
<<def_push,push>> to describe the mapping between remote
332
336
<<def_ref,ref>> and local ref. They are combined with a colon in
333
337
the format <src>:<dst>, preceded by an optional plus sign, +.
@@ -340,11 +344,12 @@ This commit is referred to as a "merge commit", or sometimes just a
340
344
gitlink:git-push[1]
341
345
342
346
[[def_repository]]repository::
343
- A collection of refs together with an
347
+ A collection of <<def_ref, refs>> together with an
344
348
<<def_object_database,object database>> containing all objects
345
349
which are <<def_reachable,reachable>> from the refs, possibly
346
- accompanied by meta data from one or more porcelains. A
347
- repository can share an object database with other repositories.
350
+ accompanied by meta data from one or more <<def_porcelain,porcelains>>. A
351
+ repository can share an object database with other repositories
352
+ via <<def_alternate_object_database,alternates mechanism>>.
348
353
349
354
[[def_resolve]]resolve::
350
355
The action of fixing up manually what a failed automatic
@@ -366,8 +371,8 @@ This commit is referred to as a "merge commit", or sometimes just a
366
371
Synonym for <<def_object_name,object name>>.
367
372
368
373
[[def_shallow_repository]]shallow repository::
369
- A shallow repository has an incomplete
370
- history some of whose commits have parents cauterized away (in other
374
+ A shallow <<def_repository, repository>> has an incomplete
375
+ history some of whose <<def_commit, commits>> have <<def_parent, parents>> cauterized away (in other
371
376
words, git is told to pretend that these commits do not have the
372
377
parents, even though they are recorded in the <<def_commit_object,commit
373
378
object>>). This is sometimes useful when you are interested only in the
@@ -385,7 +390,7 @@ This commit is referred to as a "merge commit", or sometimes just a
385
390
command.
386
391
387
392
[[def_tag]]tag::
388
- A <<def_ref,ref>> pointing to a tag or
393
+ A <<def_ref,ref>> pointing to a <<def_tag_object, tag>> or
389
394
<<def_commit_object,commit object>>. In contrast to a <<def_head,head>>,
390
395
a tag is not changed by a <<def_commit,commit>>. Tags (not
391
396
<<def_tag_object,tag objects>>) are stored in `$GIT_DIR/refs/tags/`. A
@@ -398,8 +403,7 @@ This commit is referred to as a "merge commit", or sometimes just a
398
403
An <<def_object,object>> containing a <<def_ref,ref>> pointing to
399
404
another object, which can contain a message just like a
400
405
<<def_commit_object,commit object>>. It can also contain a (PGP)
401
- signature, in which case it is called a "signed <<def_tag_object,tag
402
- object>>".
406
+ signature, in which case it is called a "signed tag object".
403
407
404
408
[[def_topic_branch]]topic branch::
405
409
A regular git <<def_branch,branch>> that is used by a developer to
@@ -418,7 +422,7 @@ This commit is referred to as a "merge commit", or sometimes just a
418
422
419
423
[[def_tree]]tree::
420
424
Either a <<def_working_tree,working tree>>, or a <<def_tree_object,tree
421
- object>> together with the dependent blob and tree objects
425
+ object>> together with the dependent <<def_blob_object, blob>> and tree objects
422
426
(i.e. a stored representation of a working tree).
423
427
424
428
[[def_tree_object]]tree object::
0 commit comments