Updated git_doc to git 1.8
[TortoiseGit.git] / doc / source / en / TortoiseGit / git_doc / gitglossary.xml
blob9df5299416d04398a1ce4bc74fe9b97bb881c9c6
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">\r
3 \r
4 <sect2 lang="en" id="gitglossary(7)">\r
5     <title>gitglossary(7)</title>\r
6 <indexterm>\r
7 <primary>gitglossary(7)</primary>\r
8 </indexterm>\r
9 <simplesect id="gitglossary(7)__name">\r
10 <title>NAME</title>\r
11 <simpara>gitglossary - A GIT Glossary</simpara>\r
12 </simplesect>\r
13 <simplesect id="gitglossary(7)__synopsis">\r
14 <title>SYNOPSIS</title>\r
15 <simpara>*</simpara>\r
16 </simplesect>\r
17 <simplesect id="gitglossary(7)__description">\r
18 <title>DESCRIPTION</title>\r
19 <variablelist>\r
20 <varlistentry>\r
21 <term>\r
22 <anchor id="gitglossary(7)_def_alternate_object_database" xreflabel="[def_alternate_object_database]"/>alternate object database\r
23 </term>\r
24 <listitem>\r
25 <simpara>\r
26         Via the alternates mechanism, a <link linkend="gitglossary(7)_def_repository">repository</link>\r
27         can inherit part of its <link linkend="gitglossary(7)_def_object_database">object database</link>\r
28         from another object database, which is called "alternate".\r
29 </simpara>\r
30 </listitem>\r
31 </varlistentry>\r
32 <varlistentry>\r
33 <term>\r
34 <anchor id="gitglossary(7)_def_bare_repository" xreflabel="[def_bare_repository]"/>bare repository\r
35 </term>\r
36 <listitem>\r
37 <simpara>\r
38         A bare repository is normally an appropriately\r
39         named <link linkend="gitglossary(7)_def_directory">directory</link> with a <emphasis>.git</emphasis> suffix that does not\r
40         have a locally checked-out copy of any of the files under\r
41         revision control. That is, all of the <emphasis>git</emphasis>\r
42         administrative and control files that would normally be present in the\r
43         hidden <emphasis>.git</emphasis> sub-directory are directly present in the\r
44         <emphasis>repository.git</emphasis> directory instead,\r
45         and no other files are present and checked out. Usually publishers of\r
46         public repositories make bare repositories available.\r
47 </simpara>\r
48 </listitem>\r
49 </varlistentry>\r
50 <varlistentry>\r
51 <term>\r
52 <anchor id="gitglossary(7)_def_blob_object" xreflabel="[def_blob_object]"/>blob object\r
53 </term>\r
54 <listitem>\r
55 <simpara>\r
56         Untyped <link linkend="gitglossary(7)_def_object">object</link>, e.g. the contents of a file.\r
57 </simpara>\r
58 </listitem>\r
59 </varlistentry>\r
60 <varlistentry>\r
61 <term>\r
62 <anchor id="gitglossary(7)_def_branch" xreflabel="[def_branch]"/>branch\r
63 </term>\r
64 <listitem>\r
65 <simpara>\r
66         A "branch" is an active line of development.  The most recent\r
67         <link linkend="gitglossary(7)_def_commit">commit</link> on a branch is referred to as the tip of\r
68         that branch.  The tip of the branch is referenced by a branch\r
69         <link linkend="gitglossary(7)_def_head">head</link>, which moves forward as additional development\r
70         is done on the branch.  A single git\r
71         <link linkend="gitglossary(7)_def_repository">repository</link> can track an arbitrary number of\r
72         branches, but your <link linkend="gitglossary(7)_def_working_tree">working tree</link> is\r
73         associated with just one of them (the "current" or "checked out"\r
74         branch), and <link linkend="gitglossary(7)_def_HEAD">HEAD</link> points to that branch.\r
75 </simpara>\r
76 </listitem>\r
77 </varlistentry>\r
78 <varlistentry>\r
79 <term>\r
80 <anchor id="gitglossary(7)_def_cache" xreflabel="[def_cache]"/>cache\r
81 </term>\r
82 <listitem>\r
83 <simpara>\r
84         Obsolete for: <link linkend="gitglossary(7)_def_index">index</link>.\r
85 </simpara>\r
86 </listitem>\r
87 </varlistentry>\r
88 <varlistentry>\r
89 <term>\r
90 <anchor id="gitglossary(7)_def_chain" xreflabel="[def_chain]"/>chain\r
91 </term>\r
92 <listitem>\r
93 <simpara>\r
94         A list of objects, where each <link linkend="gitglossary(7)_def_object">object</link> in the list contains\r
95         a reference to its successor (for example, the successor of a\r
96         <link linkend="gitglossary(7)_def_commit">commit</link> could be one of its <link linkend="gitglossary(7)_def_parent">parents</link>).\r
97 </simpara>\r
98 </listitem>\r
99 </varlistentry>\r
100 <varlistentry>\r
101 <term>\r
102 <anchor id="gitglossary(7)_def_changeset" xreflabel="[def_changeset]"/>changeset\r
103 </term>\r
104 <listitem>\r
105 <simpara>\r
106         BitKeeper/cvsps speak for "<link linkend="gitglossary(7)_def_commit">commit</link>". Since git does not\r
107         store changes, but states, it really does not make sense to use the term\r
108         "changesets" with git.\r
109 </simpara>\r
110 </listitem>\r
111 </varlistentry>\r
112 <varlistentry>\r
113 <term>\r
114 <anchor id="gitglossary(7)_def_checkout" xreflabel="[def_checkout]"/>checkout\r
115 </term>\r
116 <listitem>\r
117 <simpara>\r
118         The action of updating all or part of the\r
119         <link linkend="gitglossary(7)_def_working_tree">working tree</link> with a <link linkend="gitglossary(7)_def_tree_object">tree object</link>\r
120         or <link linkend="gitglossary(7)_def_blob_object">blob</link> from the\r
121         <link linkend="gitglossary(7)_def_object_database">object database</link>, and updating the\r
122         <link linkend="gitglossary(7)_def_index">index</link> and <link linkend="gitglossary(7)_def_HEAD">HEAD</link> if the whole working tree has\r
123         been pointed at a new <link linkend="gitglossary(7)_def_branch">branch</link>.\r
124 </simpara>\r
125 </listitem>\r
126 </varlistentry>\r
127 <varlistentry>\r
128 <term>\r
129 <anchor id="gitglossary(7)_def_cherry-picking" xreflabel="[def_cherry-picking]"/>cherry-picking\r
130 </term>\r
131 <listitem>\r
132 <simpara>\r
133         In <link linkend="gitglossary(7)_def_SCM">SCM</link> jargon, "cherry pick" means to choose a subset of\r
134         changes out of a series of changes (typically commits) and record them\r
135         as a new series of changes on top of a different codebase. In GIT, this is\r
136         performed by the "git cherry-pick" command to extract the change introduced\r
137         by an existing <link linkend="gitglossary(7)_def_commit">commit</link> and to record it based on the tip\r
138         of the current <link linkend="gitglossary(7)_def_branch">branch</link> as a new commit.\r
139 </simpara>\r
140 </listitem>\r
141 </varlistentry>\r
142 <varlistentry>\r
143 <term>\r
144 <anchor id="gitglossary(7)_def_clean" xreflabel="[def_clean]"/>clean\r
145 </term>\r
146 <listitem>\r
147 <simpara>\r
148         A <link linkend="gitglossary(7)_def_working_tree">working tree</link> is clean, if it\r
149         corresponds to the <link linkend="gitglossary(7)_def_revision">revision</link> referenced by the current\r
150         <link linkend="gitglossary(7)_def_head">head</link>. Also see "<link linkend="gitglossary(7)_def_dirty">dirty</link>".\r
151 </simpara>\r
152 </listitem>\r
153 </varlistentry>\r
154 <varlistentry>\r
155 <term>\r
156 <anchor id="gitglossary(7)_def_commit" xreflabel="[def_commit]"/>commit\r
157 </term>\r
158 <listitem>\r
159 <simpara>\r
160         As a noun: A single point in the\r
161         git history; the entire history of a project is represented as a\r
162         set of interrelated commits.  The word "commit" is often\r
163         used by git in the same places other revision control systems\r
164         use the words "revision" or "version".  Also used as a short\r
165         hand for <link linkend="gitglossary(7)_def_commit_object">commit object</link>.\r
166 </simpara>\r
167 <simpara>As a verb: The action of storing a new snapshot of the project's\r
168 state in the git history, by creating a new commit representing the current\r
169 state of the <link linkend="gitglossary(7)_def_index">index</link> and advancing <link linkend="gitglossary(7)_def_HEAD">HEAD</link>\r
170 to point at the new commit.</simpara>\r
171 </listitem>\r
172 </varlistentry>\r
173 <varlistentry>\r
174 <term>\r
175 <anchor id="gitglossary(7)_def_commit_object" xreflabel="[def_commit_object]"/>commit object\r
176 </term>\r
177 <listitem>\r
178 <simpara>\r
179         An <link linkend="gitglossary(7)_def_object">object</link> which contains the information about a\r
180         particular <link linkend="gitglossary(7)_def_revision">revision</link>, such as <link linkend="gitglossary(7)_def_parent">parents</link>, committer,\r
181         author, date and the <link linkend="gitglossary(7)_def_tree_object">tree object</link> which corresponds\r
182         to the top <link linkend="gitglossary(7)_def_directory">directory</link> of the stored\r
183         revision.\r
184 </simpara>\r
185 </listitem>\r
186 </varlistentry>\r
187 <varlistentry>\r
188 <term>\r
189 <anchor id="gitglossary(7)_def_core_git" xreflabel="[def_core_git]"/>core git\r
190 </term>\r
191 <listitem>\r
192 <simpara>\r
193         Fundamental data structures and utilities of git. Exposes only limited\r
194         source code management tools.\r
195 </simpara>\r
196 </listitem>\r
197 </varlistentry>\r
198 <varlistentry>\r
199 <term>\r
200 <anchor id="gitglossary(7)_def_DAG" xreflabel="[def_DAG]"/>DAG\r
201 </term>\r
202 <listitem>\r
203 <simpara>\r
204         Directed acyclic graph. The <link linkend="gitglossary(7)_def_commit_object">commit objects</link> form a\r
205         directed acyclic graph, because they have parents (directed), and the\r
206         graph of commit objects is acyclic (there is no <link linkend="gitglossary(7)_def_chain">chain</link>\r
207         which begins and ends with the same <link linkend="gitglossary(7)_def_object">object</link>).\r
208 </simpara>\r
209 </listitem>\r
210 </varlistentry>\r
211 <varlistentry>\r
212 <term>\r
213 <anchor id="gitglossary(7)_def_dangling_object" xreflabel="[def_dangling_object]"/>dangling object\r
214 </term>\r
215 <listitem>\r
216 <simpara>\r
217         An <link linkend="gitglossary(7)_def_unreachable_object">unreachable object</link> which is not\r
218         <link linkend="gitglossary(7)_def_reachable">reachable</link> even from other unreachable objects; a\r
219         dangling object has no references to it from any\r
220         reference or <link linkend="gitglossary(7)_def_object">object</link> in the <link linkend="gitglossary(7)_def_repository">repository</link>.\r
221 </simpara>\r
222 </listitem>\r
223 </varlistentry>\r
224 <varlistentry>\r
225 <term>\r
226 <anchor id="gitglossary(7)_def_detached_HEAD" xreflabel="[def_detached_HEAD]"/>detached HEAD\r
227 </term>\r
228 <listitem>\r
229 <simpara>\r
230         Normally the <link linkend="gitglossary(7)_def_HEAD">HEAD</link> stores the name of a\r
231         <link linkend="gitglossary(7)_def_branch">branch</link>.  However, git also allows you to <link linkend="gitglossary(7)_def_checkout">check out</link>\r
232         an arbitrary <link linkend="gitglossary(7)_def_commit">commit</link> that isn't necessarily the tip of any\r
233         particular branch.  In this case HEAD is said to be "detached".\r
234 </simpara>\r
235 </listitem>\r
236 </varlistentry>\r
237 <varlistentry>\r
238 <term>\r
239 <anchor id="gitglossary(7)_def_dircache" xreflabel="[def_dircache]"/>dircache\r
240 </term>\r
241 <listitem>\r
242 <simpara>\r
243         You are <emphasis role="strong">waaaaay</emphasis> behind. See <link linkend="gitglossary(7)_def_index">index</link>.\r
244 </simpara>\r
245 </listitem>\r
246 </varlistentry>\r
247 <varlistentry>\r
248 <term>\r
249 <anchor id="gitglossary(7)_def_directory" xreflabel="[def_directory]"/>directory\r
250 </term>\r
251 <listitem>\r
252 <simpara>\r
253         The list you get with "ls" :-)\r
254 </simpara>\r
255 </listitem>\r
256 </varlistentry>\r
257 <varlistentry>\r
258 <term>\r
259 <anchor id="gitglossary(7)_def_dirty" xreflabel="[def_dirty]"/>dirty\r
260 </term>\r
261 <listitem>\r
262 <simpara>\r
263         A <link linkend="gitglossary(7)_def_working_tree">working tree</link> is said to be "dirty" if\r
264         it contains modifications which have not been <link linkend="gitglossary(7)_def_commit">committed</link> to the current\r
265         <link linkend="gitglossary(7)_def_branch">branch</link>.\r
266 </simpara>\r
267 </listitem>\r
268 </varlistentry>\r
269 <varlistentry>\r
270 <term>\r
271 <anchor id="gitglossary(7)_def_ent" xreflabel="[def_ent]"/>ent\r
272 </term>\r
273 <listitem>\r
274 <simpara>\r
275         Favorite synonym to "<link linkend="gitglossary(7)_def_tree-ish">tree-ish</link>" by some total geeks. See\r
276         <ulink url="http://en.wikipedia.org/wiki/Ent_(Middle-earth">http://en.wikipedia.org/wiki/Ent_(Middle-earth</ulink>) for an in-depth\r
277         explanation. Avoid this term, not to confuse people.\r
278 </simpara>\r
279 </listitem>\r
280 </varlistentry>\r
281 <varlistentry>\r
282 <term>\r
283 <anchor id="gitglossary(7)_def_evil_merge" xreflabel="[def_evil_merge]"/>evil merge\r
284 </term>\r
285 <listitem>\r
286 <simpara>\r
287         An evil merge is a <link linkend="gitglossary(7)_def_merge">merge</link> that introduces changes that\r
288         do not appear in any <link linkend="gitglossary(7)_def_parent">parent</link>.\r
289 </simpara>\r
290 </listitem>\r
291 </varlistentry>\r
292 <varlistentry>\r
293 <term>\r
294 <anchor id="gitglossary(7)_def_fast_forward" xreflabel="[def_fast_forward]"/>fast-forward\r
295 </term>\r
296 <listitem>\r
297 <simpara>\r
298         A fast-forward is a special type of <link linkend="gitglossary(7)_def_merge">merge</link> where you have a\r
299         <link linkend="gitglossary(7)_def_revision">revision</link> and you are "merging" another\r
300         <link linkend="gitglossary(7)_def_branch">branch</link>'s changes that happen to be a descendant of what\r
301         you have. In such these cases, you do not make a new <link linkend="gitglossary(7)_def_merge">merge</link>\r
302         <link linkend="gitglossary(7)_def_commit">commit</link> but instead just update to his\r
303         revision. This will happen frequently on a\r
304         <link linkend="gitglossary(7)_def_remote_tracking_branch">remote-tracking branch</link> of a remote\r
305         <link linkend="gitglossary(7)_def_repository">repository</link>.\r
306 </simpara>\r
307 </listitem>\r
308 </varlistentry>\r
309 <varlistentry>\r
310 <term>\r
311 <anchor id="gitglossary(7)_def_fetch" xreflabel="[def_fetch]"/>fetch\r
312 </term>\r
313 <listitem>\r
314 <simpara>\r
315         Fetching a <link linkend="gitglossary(7)_def_branch">branch</link> means to get the\r
316         branch's <link linkend="gitglossary(7)_def_head_ref">head ref</link> from a remote\r
317         <link linkend="gitglossary(7)_def_repository">repository</link>, to find out which objects are\r
318         missing from the local <link linkend="gitglossary(7)_def_object_database">object database</link>,\r
319         and to get them, too.  See also <xref linkend="git-fetch(1)" />.\r
320 </simpara>\r
321 </listitem>\r
322 </varlistentry>\r
323 <varlistentry>\r
324 <term>\r
325 <anchor id="gitglossary(7)_def_file_system" xreflabel="[def_file_system]"/>file system\r
326 </term>\r
327 <listitem>\r
328 <simpara>\r
329         Linus Torvalds originally designed git to be a user space file system,\r
330         i.e. the infrastructure to hold files and directories. That ensured the\r
331         efficiency and speed of git.\r
332 </simpara>\r
333 </listitem>\r
334 </varlistentry>\r
335 <varlistentry>\r
336 <term>\r
337 <anchor id="gitglossary(7)_def_git_archive" xreflabel="[def_git_archive]"/>git archive\r
338 </term>\r
339 <listitem>\r
340 <simpara>\r
341         Synonym for <link linkend="gitglossary(7)_def_repository">repository</link> (for arch people).\r
342 </simpara>\r
343 </listitem>\r
344 </varlistentry>\r
345 <varlistentry>\r
346 <term>\r
347 <anchor id="gitglossary(7)_def_grafts" xreflabel="[def_grafts]"/>grafts\r
348 </term>\r
349 <listitem>\r
350 <simpara>\r
351         Grafts enables two otherwise different lines of development to be joined\r
352         together by recording fake ancestry information for commits. This way\r
353         you can make git pretend the set of <link linkend="gitglossary(7)_def_parent">parents</link> a <link linkend="gitglossary(7)_def_commit">commit</link> has\r
354         is different from what was recorded when the commit was\r
355         created. Configured via the <emphasis>.git/info/grafts</emphasis> file.\r
356 </simpara>\r
357 </listitem>\r
358 </varlistentry>\r
359 <varlistentry>\r
360 <term>\r
361 <anchor id="gitglossary(7)_def_hash" xreflabel="[def_hash]"/>hash\r
362 </term>\r
363 <listitem>\r
364 <simpara>\r
365         In git's context, synonym to <link linkend="gitglossary(7)_def_object_name">object name</link>.\r
366 </simpara>\r
367 </listitem>\r
368 </varlistentry>\r
369 <varlistentry>\r
370 <term>\r
371 <anchor id="gitglossary(7)_def_head" xreflabel="[def_head]"/>head\r
372 </term>\r
373 <listitem>\r
374 <simpara>\r
375         A <link linkend="gitglossary(7)_def_ref">named reference</link> to the <link linkend="gitglossary(7)_def_commit">commit</link> at the tip of a\r
376         <link linkend="gitglossary(7)_def_branch">branch</link>.  Heads are stored in a file in\r
377         <emphasis>$GIT_DIR/refs/heads/</emphasis> directory, except when using packed refs. (See\r
378         <xref linkend="git-pack-refs(1)" />.)\r
379 </simpara>\r
380 </listitem>\r
381 </varlistentry>\r
382 <varlistentry>\r
383 <term>\r
384 <anchor id="gitglossary(7)_def_HEAD" xreflabel="[def_HEAD]"/>HEAD\r
385 </term>\r
386 <listitem>\r
387 <simpara>\r
388         The current <link linkend="gitglossary(7)_def_branch">branch</link>.  In more detail: Your <link linkend="gitglossary(7)_def_working_tree">working tree</link> is normally derived from the state of the tree\r
389         referred to by HEAD.  HEAD is a reference to one of the\r
390         <link linkend="gitglossary(7)_def_head">heads</link> in your repository, except when using a\r
391         <link linkend="gitglossary(7)_def_detached_HEAD">detached HEAD</link>, in which case it directly\r
392         references an arbitrary commit.\r
393 </simpara>\r
394 </listitem>\r
395 </varlistentry>\r
396 <varlistentry>\r
397 <term>\r
398 <anchor id="gitglossary(7)_def_head_ref" xreflabel="[def_head_ref]"/>head ref\r
399 </term>\r
400 <listitem>\r
401 <simpara>\r
402         A synonym for <link linkend="gitglossary(7)_def_head">head</link>.\r
403 </simpara>\r
404 </listitem>\r
405 </varlistentry>\r
406 <varlistentry>\r
407 <term>\r
408 <anchor id="gitglossary(7)_def_hook" xreflabel="[def_hook]"/>hook\r
409 </term>\r
410 <listitem>\r
411 <simpara>\r
412         During the normal execution of several git commands, call-outs are made\r
413         to optional scripts that allow a developer to add functionality or\r
414         checking. Typically, the hooks allow for a command to be pre-verified\r
415         and potentially aborted, and allow for a post-notification after the\r
416         operation is done. The hook scripts are found in the\r
417         <emphasis>$GIT_DIR/hooks/</emphasis> directory, and are enabled by simply\r
418         removing the <emphasis>.sample</emphasis> suffix from the filename. In earlier versions\r
419         of git you had to make them executable.\r
420 </simpara>\r
421 </listitem>\r
422 </varlistentry>\r
423 <varlistentry>\r
424 <term>\r
425 <anchor id="gitglossary(7)_def_index" xreflabel="[def_index]"/>index\r
426 </term>\r
427 <listitem>\r
428 <simpara>\r
429         A collection of files with stat information, whose contents are stored\r
430         as objects. The index is a stored version of your\r
431         <link linkend="gitglossary(7)_def_working_tree">working tree</link>. Truth be told, it can also contain a second, and even\r
432         a third version of a working tree, which are used\r
433         when <link linkend="gitglossary(7)_def_merge">merging</link>.\r
434 </simpara>\r
435 </listitem>\r
436 </varlistentry>\r
437 <varlistentry>\r
438 <term>\r
439 <anchor id="gitglossary(7)_def_index_entry" xreflabel="[def_index_entry]"/>index entry\r
440 </term>\r
441 <listitem>\r
442 <simpara>\r
443         The information regarding a particular file, stored in the\r
444         <link linkend="gitglossary(7)_def_index">index</link>. An index entry can be unmerged, if a\r
445         <link linkend="gitglossary(7)_def_merge">merge</link> was started, but not yet finished (i.e. if\r
446         the index contains multiple versions of that file).\r
447 </simpara>\r
448 </listitem>\r
449 </varlistentry>\r
450 <varlistentry>\r
451 <term>\r
452 <anchor id="gitglossary(7)_def_master" xreflabel="[def_master]"/>master\r
453 </term>\r
454 <listitem>\r
455 <simpara>\r
456         The default development <link linkend="gitglossary(7)_def_branch">branch</link>. Whenever you\r
457         create a git <link linkend="gitglossary(7)_def_repository">repository</link>, a branch named\r
458         "master" is created, and becomes the active branch. In most\r
459         cases, this contains the local development, though that is\r
460         purely by convention and is not required.\r
461 </simpara>\r
462 </listitem>\r
463 </varlistentry>\r
464 <varlistentry>\r
465 <term>\r
466 <anchor id="gitglossary(7)_def_merge" xreflabel="[def_merge]"/>merge\r
467 </term>\r
468 <listitem>\r
469 <simpara>\r
470         As a verb: To bring the contents of another\r
471         <link linkend="gitglossary(7)_def_branch">branch</link> (possibly from an external\r
472         <link linkend="gitglossary(7)_def_repository">repository</link>) into the current branch.  In the\r
473         case where the merged-in branch is from a different repository,\r
474         this is done by first <link linkend="gitglossary(7)_def_fetch">fetching</link> the remote branch\r
475         and then merging the result into the current branch.  This\r
476         combination of fetch and merge operations is called a\r
477         <link linkend="gitglossary(7)_def_pull">pull</link>.  Merging is performed by an automatic process\r
478         that identifies changes made since the branches diverged, and\r
479         then applies all those changes together.  In cases where changes\r
480         conflict, manual intervention may be required to complete the\r
481         merge.\r
482 </simpara>\r
483 <simpara>As a noun: unless it is a <link linkend="gitglossary(7)_def_fast_forward">fast-forward</link>, a\r
484 successful merge results in the creation of a new <link linkend="gitglossary(7)_def_commit">commit</link>\r
485 representing the result of the merge, and having as\r
486 <link linkend="gitglossary(7)_def_parent">parents</link> the tips of the merged <link linkend="gitglossary(7)_def_branch">branches</link>.\r
487 This commit is referred to as a "merge commit", or sometimes just a\r
488 "merge".</simpara>\r
489 </listitem>\r
490 </varlistentry>\r
491 <varlistentry>\r
492 <term>\r
493 <anchor id="gitglossary(7)_def_object" xreflabel="[def_object]"/>object\r
494 </term>\r
495 <listitem>\r
496 <simpara>\r
497         The unit of storage in git. It is uniquely identified by the\r
498         <link linkend="gitglossary(7)_def_SHA1">SHA1</link> of its contents. Consequently, an\r
499         object can not be changed.\r
500 </simpara>\r
501 </listitem>\r
502 </varlistentry>\r
503 <varlistentry>\r
504 <term>\r
505 <anchor id="gitglossary(7)_def_object_database" xreflabel="[def_object_database]"/>object database\r
506 </term>\r
507 <listitem>\r
508 <simpara>\r
509         Stores a set of "objects", and an individual <link linkend="gitglossary(7)_def_object">object</link> is\r
510         identified by its <link linkend="gitglossary(7)_def_object_name">object name</link>. The objects usually\r
511         live in <emphasis>$GIT_DIR/objects/</emphasis>.\r
512 </simpara>\r
513 </listitem>\r
514 </varlistentry>\r
515 <varlistentry>\r
516 <term>\r
517 <anchor id="gitglossary(7)_def_object_identifier" xreflabel="[def_object_identifier]"/>object identifier\r
518 </term>\r
519 <listitem>\r
520 <simpara>\r
521         Synonym for <link linkend="gitglossary(7)_def_object_name">object name</link>.\r
522 </simpara>\r
523 </listitem>\r
524 </varlistentry>\r
525 <varlistentry>\r
526 <term>\r
527 <anchor id="gitglossary(7)_def_object_name" xreflabel="[def_object_name]"/>object name\r
528 </term>\r
529 <listitem>\r
530 <simpara>\r
531         The unique identifier of an <link linkend="gitglossary(7)_def_object">object</link>. The <link linkend="gitglossary(7)_def_hash">hash</link>\r
532         of the object's contents using the Secure Hash Algorithm\r
533         1 and usually represented by the 40 character hexadecimal encoding of\r
534         the <link linkend="gitglossary(7)_def_hash">hash</link> of the object.\r
535 </simpara>\r
536 </listitem>\r
537 </varlistentry>\r
538 <varlistentry>\r
539 <term>\r
540 <anchor id="gitglossary(7)_def_object_type" xreflabel="[def_object_type]"/>object type\r
541 </term>\r
542 <listitem>\r
543 <simpara>\r
544         One of the identifiers "<link linkend="gitglossary(7)_def_commit_object">commit</link>",\r
545         "<link linkend="gitglossary(7)_def_tree_object">tree</link>", "<link linkend="gitglossary(7)_def_tag_object">tag</link>" or\r
546         "<link linkend="gitglossary(7)_def_blob_object">blob</link>" describing the type of an\r
547         <link linkend="gitglossary(7)_def_object">object</link>.\r
548 </simpara>\r
549 </listitem>\r
550 </varlistentry>\r
551 <varlistentry>\r
552 <term>\r
553 <anchor id="gitglossary(7)_def_octopus" xreflabel="[def_octopus]"/>octopus\r
554 </term>\r
555 <listitem>\r
556 <simpara>\r
557         To <link linkend="gitglossary(7)_def_merge">merge</link> more than two <link linkend="gitglossary(7)_def_branch">branches</link>. Also denotes an\r
558         intelligent predator.\r
559 </simpara>\r
560 </listitem>\r
561 </varlistentry>\r
562 <varlistentry>\r
563 <term>\r
564 <anchor id="gitglossary(7)_def_origin" xreflabel="[def_origin]"/>origin\r
565 </term>\r
566 <listitem>\r
567 <simpara>\r
568         The default upstream <link linkend="gitglossary(7)_def_repository">repository</link>. Most projects have\r
569         at least one upstream project which they track. By default\r
570         <emphasis>origin</emphasis> is used for that purpose. New upstream updates\r
571         will be fetched into remote <link linkend="gitglossary(7)_def_remote_tracking_branch">remote-tracking branches</link> named\r
572         origin/name-of-upstream-branch, which you can see using\r
573         <emphasis>git branch -r</emphasis>.\r
574 </simpara>\r
575 </listitem>\r
576 </varlistentry>\r
577 <varlistentry>\r
578 <term>\r
579 <anchor id="gitglossary(7)_def_pack" xreflabel="[def_pack]"/>pack\r
580 </term>\r
581 <listitem>\r
582 <simpara>\r
583         A set of objects which have been compressed into one file (to save space\r
584         or to transmit them efficiently).\r
585 </simpara>\r
586 </listitem>\r
587 </varlistentry>\r
588 <varlistentry>\r
589 <term>\r
590 <anchor id="gitglossary(7)_def_pack_index" xreflabel="[def_pack_index]"/>pack index\r
591 </term>\r
592 <listitem>\r
593 <simpara>\r
594         The list of identifiers, and other information, of the objects in a\r
595         <link linkend="gitglossary(7)_def_pack">pack</link>, to assist in efficiently accessing the contents of a\r
596         pack.\r
597 </simpara>\r
598 </listitem>\r
599 </varlistentry>\r
600 <varlistentry>\r
601 <term>\r
602 <anchor id="gitglossary(7)_def_pathspec" xreflabel="[def_pathspec]"/>pathspec\r
603 </term>\r
604 <listitem>\r
605 <simpara>\r
606        Pattern used to specify paths.\r
607 </simpara>\r
608 <simpara>Pathspecs are used on the command line of "git ls-files", "git\r
609 ls-tree", "git add", "git grep", "git diff", "git checkout",\r
610 and many other commands to\r
611 limit the scope of operations to some subset of the tree or\r
612 worktree.  See the documentation of each command for whether\r
613 paths are relative to the current directory or toplevel.  The\r
614 pathspec syntax is as follows:</simpara>\r
615 <itemizedlist>\r
616 <listitem>\r
617 <simpara>\r
618 any path matches itself\r
619 </simpara>\r
620 </listitem>\r
621 <listitem>\r
622 <simpara>\r
623 the pathspec up to the last slash represents a\r
624   directory prefix.  The scope of that pathspec is\r
625   limited to that subtree.\r
626 </simpara>\r
627 </listitem>\r
628 <listitem>\r
629 <simpara>\r
630 the rest of the pathspec is a pattern for the remainder\r
631   of the pathname.  Paths relative to the directory\r
632   prefix will be matched against that pattern using fnmatch(3);\r
633   in particular, <emphasis>*</emphasis> and <emphasis>?</emphasis> <emphasis>can</emphasis> match directory separators.\r
634 </simpara>\r
635 <simpara>For example, Documentation/*.jpg will match all .jpg files\r
636 in the Documentation subtree,\r
637 including Documentation/chapter_1/figure_1.jpg.</simpara>\r
638 </listitem>\r
639 </itemizedlist>\r
640 <simpara>A pathspec that begins with a colon <emphasis>:</emphasis> has special meaning.  In the\r
641 short form, the leading colon <emphasis>:</emphasis> is followed by zero or more "magic\r
642 signature" letters (which optionally is terminated by another colon <emphasis>:</emphasis>),\r
643 and the remainder is the pattern to match against the path. The optional\r
644 colon that terminates the "magic signature" can be omitted if the pattern\r
645 begins with a character that cannot be a "magic signature" and is not a\r
646 colon.</simpara>\r
647 <simpara>In the long form, the leading colon <emphasis>:</emphasis> is followed by a open\r
648 parenthesis <emphasis>(</emphasis>, a comma-separated list of zero or more "magic words",\r
649 and a close parentheses <emphasis>)</emphasis>, and the remainder is the pattern to match\r
650 against the path.</simpara>\r
651 <simpara>The "magic signature" consists of an ASCII symbol that is not\r
652 alphanumeric.</simpara>\r
653 <variablelist>\r
654 <varlistentry>\r
655 <term>\r
656 top <emphasis>/</emphasis>\r
657 </term>\r
658 <listitem>\r
659 <simpara>\r
660         The magic word <emphasis>top</emphasis> (mnemonic: <emphasis>/</emphasis>) makes the pattern match\r
661         from the root of the working tree, even when you are running\r
662         the command from inside a subdirectory.\r
663 </simpara>\r
664 </listitem>\r
665 </varlistentry>\r
666 </variablelist>\r
667 <simpara>Currently only the slash <emphasis>/</emphasis> is recognized as the "magic signature",\r
668 but it is envisioned that we will support more types of magic in later\r
669 versions of git.</simpara>\r
670 <simpara>A pathspec with only a colon means "there is no pathspec". This form\r
671 should not be combined with other pathspec.</simpara>\r
672 </listitem>\r
673 </varlistentry>\r
674 <varlistentry>\r
675 <term>\r
676 <anchor id="gitglossary(7)_def_parent" xreflabel="[def_parent]"/>parent\r
677 </term>\r
678 <listitem>\r
679 <simpara>\r
680         A <link linkend="gitglossary(7)_def_commit_object">commit object</link> contains a (possibly empty) list\r
681         of the logical predecessor(s) in the line of development, i.e. its\r
682         parents.\r
683 </simpara>\r
684 </listitem>\r
685 </varlistentry>\r
686 <varlistentry>\r
687 <term>\r
688 <anchor id="gitglossary(7)_def_pickaxe" xreflabel="[def_pickaxe]"/>pickaxe\r
689 </term>\r
690 <listitem>\r
691 <simpara>\r
692         The term <link linkend="gitglossary(7)_def_pickaxe">pickaxe</link> refers to an option to the diffcore\r
693         routines that help select changes that add or delete a given text\r
694         string. With the <emphasis>--pickaxe-all</emphasis> option, it can be used to view the full\r
695         <link linkend="gitglossary(7)_def_changeset">changeset</link> that introduced or removed, say, a\r
696         particular line of text. See <xref linkend="git-diff(1)" />.\r
697 </simpara>\r
698 </listitem>\r
699 </varlistentry>\r
700 <varlistentry>\r
701 <term>\r
702 <anchor id="gitglossary(7)_def_plumbing" xreflabel="[def_plumbing]"/>plumbing\r
703 </term>\r
704 <listitem>\r
705 <simpara>\r
706         Cute name for <link linkend="gitglossary(7)_def_core_git">core git</link>.\r
707 </simpara>\r
708 </listitem>\r
709 </varlistentry>\r
710 <varlistentry>\r
711 <term>\r
712 <anchor id="gitglossary(7)_def_porcelain" xreflabel="[def_porcelain]"/>porcelain\r
713 </term>\r
714 <listitem>\r
715 <simpara>\r
716         Cute name for programs and program suites depending on\r
717         <link linkend="gitglossary(7)_def_core_git">core git</link>, presenting a high level access to\r
718         core git. Porcelains expose more of a <link linkend="gitglossary(7)_def_SCM">SCM</link>\r
719         interface than the <link linkend="gitglossary(7)_def_plumbing">plumbing</link>.\r
720 </simpara>\r
721 </listitem>\r
722 </varlistentry>\r
723 <varlistentry>\r
724 <term>\r
725 <anchor id="gitglossary(7)_def_pull" xreflabel="[def_pull]"/>pull\r
726 </term>\r
727 <listitem>\r
728 <simpara>\r
729         Pulling a <link linkend="gitglossary(7)_def_branch">branch</link> means to <link linkend="gitglossary(7)_def_fetch">fetch</link> it and\r
730         <link linkend="gitglossary(7)_def_merge">merge</link> it.  See also <xref linkend="git-pull(1)" />.\r
731 </simpara>\r
732 </listitem>\r
733 </varlistentry>\r
734 <varlistentry>\r
735 <term>\r
736 <anchor id="gitglossary(7)_def_push" xreflabel="[def_push]"/>push\r
737 </term>\r
738 <listitem>\r
739 <simpara>\r
740         Pushing a <link linkend="gitglossary(7)_def_branch">branch</link> means to get the branch's\r
741         <link linkend="gitglossary(7)_def_head_ref">head ref</link> from a remote <link linkend="gitglossary(7)_def_repository">repository</link>,\r
742         find out if it is a direct ancestor to the branch's local\r
743         head ref, and in that case, putting all\r
744         objects, which are <link linkend="gitglossary(7)_def_reachable">reachable</link> from the local\r
745         head ref, and which are missing from the remote\r
746         repository, into the remote\r
747         <link linkend="gitglossary(7)_def_object_database">object database</link>, and updating the remote\r
748         head ref. If the remote <link linkend="gitglossary(7)_def_head">head</link> is not an\r
749         ancestor to the local head, the push fails.\r
750 </simpara>\r
751 </listitem>\r
752 </varlistentry>\r
753 <varlistentry>\r
754 <term>\r
755 <anchor id="gitglossary(7)_def_reachable" xreflabel="[def_reachable]"/>reachable\r
756 </term>\r
757 <listitem>\r
758 <simpara>\r
759         All of the ancestors of a given <link linkend="gitglossary(7)_def_commit">commit</link> are said to be\r
760         "reachable" from that commit. More\r
761         generally, one <link linkend="gitglossary(7)_def_object">object</link> is reachable from\r
762         another if we can reach the one from the other by a <link linkend="gitglossary(7)_def_chain">chain</link>\r
763         that follows <link linkend="gitglossary(7)_def_tag">tags</link> to whatever they tag,\r
764         <link linkend="gitglossary(7)_def_commit_object">commits</link> to their parents or trees, and\r
765         <link linkend="gitglossary(7)_def_tree_object">trees</link> to the trees or <link linkend="gitglossary(7)_def_blob_object">blobs</link>\r
766         that they contain.\r
767 </simpara>\r
768 </listitem>\r
769 </varlistentry>\r
770 <varlistentry>\r
771 <term>\r
772 <anchor id="gitglossary(7)_def_rebase" xreflabel="[def_rebase]"/>rebase\r
773 </term>\r
774 <listitem>\r
775 <simpara>\r
776         To reapply a series of changes from a <link linkend="gitglossary(7)_def_branch">branch</link> to a\r
777         different base, and reset the <link linkend="gitglossary(7)_def_head">head</link> of that branch\r
778         to the result.\r
779 </simpara>\r
780 </listitem>\r
781 </varlistentry>\r
782 <varlistentry>\r
783 <term>\r
784 <anchor id="gitglossary(7)_def_ref" xreflabel="[def_ref]"/>ref\r
785 </term>\r
786 <listitem>\r
787 <simpara>\r
788         A 40-byte hex representation of a <link linkend="gitglossary(7)_def_SHA1">SHA1</link> or a name that\r
789         denotes a particular <link linkend="gitglossary(7)_def_object">object</link>. They may be stored in\r
790         a file under <emphasis>$GIT_DIR/refs/</emphasis> directory, or\r
791         in the <emphasis>$GIT_DIR/packed-refs</emphasis> file.\r
792 </simpara>\r
793 </listitem>\r
794 </varlistentry>\r
795 <varlistentry>\r
796 <term>\r
797 <anchor id="gitglossary(7)_def_reflog" xreflabel="[def_reflog]"/>reflog\r
798 </term>\r
799 <listitem>\r
800 <simpara>\r
801         A reflog shows the local "history" of a ref.  In other words,\r
802         it can tell you what the 3rd last revision in <emphasis>this</emphasis> repository\r
803         was, and what was the current state in <emphasis>this</emphasis> repository,\r
804         yesterday 9:14pm.  See <xref linkend="git-reflog(1)" /> for details.\r
805 </simpara>\r
806 </listitem>\r
807 </varlistentry>\r
808 <varlistentry>\r
809 <term>\r
810 <anchor id="gitglossary(7)_def_refspec" xreflabel="[def_refspec]"/>refspec\r
811 </term>\r
812 <listitem>\r
813 <simpara>\r
814         A "refspec" is used by <link linkend="gitglossary(7)_def_fetch">fetch</link> and\r
815         <link linkend="gitglossary(7)_def_push">push</link> to describe the mapping between remote\r
816         <link linkend="gitglossary(7)_def_ref">ref</link> and local ref. They are combined with a colon in\r
817         the format &lt;src&gt;:&lt;dst&gt;, preceded by an optional plus sign, +.\r
818         For example: <emphasis>git fetch $URL\r
819         refs/heads/master:refs/heads/origin</emphasis> means "grab the master\r
820         <link linkend="gitglossary(7)_def_branch">branch</link> <link linkend="gitglossary(7)_def_head">head</link> from the $URL and store\r
821         it as my origin branch head". And <emphasis>git push\r
822         $URL refs/heads/master:refs/heads/to-upstream</emphasis> means "publish my\r
823         master branch head as to-upstream branch at $URL". See also\r
824         <xref linkend="git-push(1)" />.\r
825 </simpara>\r
826 </listitem>\r
827 </varlistentry>\r
828 <varlistentry>\r
829 <term>\r
830 <anchor id="gitglossary(7)_def_remote_tracking_branch" xreflabel="[def_remote_tracking_branch]"/>remote-tracking branch\r
831 </term>\r
832 <listitem>\r
833 <simpara>\r
834         A regular git <link linkend="gitglossary(7)_def_branch">branch</link> that is used to follow changes from\r
835         another <link linkend="gitglossary(7)_def_repository">repository</link>. A remote-tracking\r
836         branch should not contain direct modifications or have local commits\r
837         made to it. A remote-tracking branch can usually be\r
838         identified as the right-hand-side <link linkend="gitglossary(7)_def_ref">ref</link> in a Pull:\r
839         <link linkend="gitglossary(7)_def_refspec">refspec</link>.\r
840 </simpara>\r
841 </listitem>\r
842 </varlistentry>\r
843 <varlistentry>\r
844 <term>\r
845 <anchor id="gitglossary(7)_def_repository" xreflabel="[def_repository]"/>repository\r
846 </term>\r
847 <listitem>\r
848 <simpara>\r
849         A collection of <link linkend="gitglossary(7)_def_ref">refs</link> together with an\r
850         <link linkend="gitglossary(7)_def_object_database">object database</link> containing all objects\r
851         which are <link linkend="gitglossary(7)_def_reachable">reachable</link> from the refs, possibly\r
852         accompanied by meta data from one or more <link linkend="gitglossary(7)_def_porcelain">porcelains</link>. A\r
853         repository can share an object database with other repositories\r
854         via <link linkend="gitglossary(7)_def_alternate_object_database">alternates mechanism</link>.\r
855 </simpara>\r
856 </listitem>\r
857 </varlistentry>\r
858 <varlistentry>\r
859 <term>\r
860 <anchor id="gitglossary(7)_def_resolve" xreflabel="[def_resolve]"/>resolve\r
861 </term>\r
862 <listitem>\r
863 <simpara>\r
864         The action of fixing up manually what a failed automatic\r
865         <link linkend="gitglossary(7)_def_merge">merge</link> left behind.\r
866 </simpara>\r
867 </listitem>\r
868 </varlistentry>\r
869 <varlistentry>\r
870 <term>\r
871 <anchor id="gitglossary(7)_def_revision" xreflabel="[def_revision]"/>revision\r
872 </term>\r
873 <listitem>\r
874 <simpara>\r
875         A particular state of files and directories which was stored in the\r
876         <link linkend="gitglossary(7)_def_object_database">object database</link>. It is referenced by a\r
877         <link linkend="gitglossary(7)_def_commit_object">commit object</link>.\r
878 </simpara>\r
879 </listitem>\r
880 </varlistentry>\r
881 <varlistentry>\r
882 <term>\r
883 <anchor id="gitglossary(7)_def_rewind" xreflabel="[def_rewind]"/>rewind\r
884 </term>\r
885 <listitem>\r
886 <simpara>\r
887         To throw away part of the development, i.e. to assign the\r
888         <link linkend="gitglossary(7)_def_head">head</link> to an earlier <link linkend="gitglossary(7)_def_revision">revision</link>.\r
889 </simpara>\r
890 </listitem>\r
891 </varlistentry>\r
892 <varlistentry>\r
893 <term>\r
894 <anchor id="gitglossary(7)_def_SCM" xreflabel="[def_SCM]"/>SCM\r
895 </term>\r
896 <listitem>\r
897 <simpara>\r
898         Source code management (tool).\r
899 </simpara>\r
900 </listitem>\r
901 </varlistentry>\r
902 <varlistentry>\r
903 <term>\r
904 <anchor id="gitglossary(7)_def_SHA1" xreflabel="[def_SHA1]"/>SHA1\r
905 </term>\r
906 <listitem>\r
907 <simpara>\r
908         Synonym for <link linkend="gitglossary(7)_def_object_name">object name</link>.\r
909 </simpara>\r
910 </listitem>\r
911 </varlistentry>\r
912 <varlistentry>\r
913 <term>\r
914 <anchor id="gitglossary(7)_def_shallow_repository" xreflabel="[def_shallow_repository]"/>shallow repository\r
915 </term>\r
916 <listitem>\r
917 <simpara>\r
918         A shallow <link linkend="gitglossary(7)_def_repository">repository</link> has an incomplete\r
919         history some of whose <link linkend="gitglossary(7)_def_commit">commits</link> have <link linkend="gitglossary(7)_def_parent">parents</link> cauterized away (in other\r
920         words, git is told to pretend that these commits do not have the\r
921         parents, even though they are recorded in the <link linkend="gitglossary(7)_def_commit_object">commit         object</link>). This is sometimes useful when you are interested only in the\r
922         recent history of a project even though the real history recorded in the\r
923         upstream is much larger. A shallow repository\r
924         is created by giving the <emphasis>--depth</emphasis> option to <xref linkend="git-clone(1)" />, and\r
925         its history can be later deepened with <xref linkend="git-fetch(1)" />.\r
926 </simpara>\r
927 </listitem>\r
928 </varlistentry>\r
929 <varlistentry>\r
930 <term>\r
931 <anchor id="gitglossary(7)_def_symref" xreflabel="[def_symref]"/>symref\r
932 </term>\r
933 <listitem>\r
934 <simpara>\r
935         Symbolic reference: instead of containing the <link linkend="gitglossary(7)_def_SHA1">SHA1</link>\r
936         id itself, it is of the format <emphasis>ref: refs/some/thing</emphasis> and when\r
937         referenced, it recursively dereferences to this reference.\r
938         <emphasis><link linkend="gitglossary(7)_def_HEAD">HEAD</link></emphasis> is a prime example of a symref. Symbolic\r
939         references are manipulated with the <xref linkend="git-symbolic-ref(1)" />\r
940         command.\r
941 </simpara>\r
942 </listitem>\r
943 </varlistentry>\r
944 <varlistentry>\r
945 <term>\r
946 <anchor id="gitglossary(7)_def_tag" xreflabel="[def_tag]"/>tag\r
947 </term>\r
948 <listitem>\r
949 <simpara>\r
950         A <link linkend="gitglossary(7)_def_ref">ref</link> under <emphasis>refs/tags/</emphasis> namespace that points to an\r
951         object of an arbitrary type (typically a tag points to either a\r
952         <link linkend="gitglossary(7)_def_tag_object">tag</link> or a <link linkend="gitglossary(7)_def_commit_object">commit object</link>).\r
953         In contrast to a <link linkend="gitglossary(7)_def_head">head</link>, a tag is not updated by\r
954         the <emphasis>commit</emphasis> command. A git tag has nothing to do with a Lisp\r
955         tag (which would be called an <link linkend="gitglossary(7)_def_object_type">object type</link>\r
956         in git's context). A tag is most typically used to mark a particular\r
957         point in the commit ancestry <link linkend="gitglossary(7)_def_chain">chain</link>.\r
958 </simpara>\r
959 </listitem>\r
960 </varlistentry>\r
961 <varlistentry>\r
962 <term>\r
963 <anchor id="gitglossary(7)_def_tag_object" xreflabel="[def_tag_object]"/>tag object\r
964 </term>\r
965 <listitem>\r
966 <simpara>\r
967         An <link linkend="gitglossary(7)_def_object">object</link> containing a <link linkend="gitglossary(7)_def_ref">ref</link> pointing to\r
968         another object, which can contain a message just like a\r
969         <link linkend="gitglossary(7)_def_commit_object">commit object</link>. It can also contain a (PGP)\r
970         signature, in which case it is called a "signed tag object".\r
971 </simpara>\r
972 </listitem>\r
973 </varlistentry>\r
974 <varlistentry>\r
975 <term>\r
976 <anchor id="gitglossary(7)_def_topic_branch" xreflabel="[def_topic_branch]"/>topic branch\r
977 </term>\r
978 <listitem>\r
979 <simpara>\r
980         A regular git <link linkend="gitglossary(7)_def_branch">branch</link> that is used by a developer to\r
981         identify a conceptual line of development. Since branches are very easy\r
982         and inexpensive, it is often desirable to have several small branches\r
983         that each contain very well defined concepts or small incremental yet\r
984         related changes.\r
985 </simpara>\r
986 </listitem>\r
987 </varlistentry>\r
988 <varlistentry>\r
989 <term>\r
990 <anchor id="gitglossary(7)_def_tree" xreflabel="[def_tree]"/>tree\r
991 </term>\r
992 <listitem>\r
993 <simpara>\r
994         Either a <link linkend="gitglossary(7)_def_working_tree">working tree</link>, or a <link linkend="gitglossary(7)_def_tree_object">tree         object</link> together with the dependent <link linkend="gitglossary(7)_def_blob_object">blob</link> and tree objects\r
995         (i.e. a stored representation of a working tree).\r
996 </simpara>\r
997 </listitem>\r
998 </varlistentry>\r
999 <varlistentry>\r
1000 <term>\r
1001 <anchor id="gitglossary(7)_def_tree_object" xreflabel="[def_tree_object]"/>tree object\r
1002 </term>\r
1003 <listitem>\r
1004 <simpara>\r
1005         An <link linkend="gitglossary(7)_def_object">object</link> containing a list of file names and modes along\r
1006         with refs to the associated blob and/or tree objects. A\r
1007         <link linkend="gitglossary(7)_def_tree">tree</link> is equivalent to a <link linkend="gitglossary(7)_def_directory">directory</link>.\r
1008 </simpara>\r
1009 </listitem>\r
1010 </varlistentry>\r
1011 <varlistentry>\r
1012 <term>\r
1013 <anchor id="gitglossary(7)_def_tree-ish" xreflabel="[def_tree-ish]"/>tree-ish\r
1014 </term>\r
1015 <listitem>\r
1016 <simpara>\r
1017         A <link linkend="gitglossary(7)_def_ref">ref</link> pointing to either a <link linkend="gitglossary(7)_def_commit_object">commit         object</link>, a <link linkend="gitglossary(7)_def_tree_object">tree object</link>, or a <link linkend="gitglossary(7)_def_tag_object">tag         object</link> pointing to a tag or commit or tree object.\r
1018 </simpara>\r
1019 </listitem>\r
1020 </varlistentry>\r
1021 <varlistentry>\r
1022 <term>\r
1023 <anchor id="gitglossary(7)_def_unmerged_index" xreflabel="[def_unmerged_index]"/>unmerged index\r
1024 </term>\r
1025 <listitem>\r
1026 <simpara>\r
1027         An <link linkend="gitglossary(7)_def_index">index</link> which contains unmerged\r
1028         <link linkend="gitglossary(7)_def_index_entry">index entries</link>.\r
1029 </simpara>\r
1030 </listitem>\r
1031 </varlistentry>\r
1032 <varlistentry>\r
1033 <term>\r
1034 <anchor id="gitglossary(7)_def_unreachable_object" xreflabel="[def_unreachable_object]"/>unreachable object\r
1035 </term>\r
1036 <listitem>\r
1037 <simpara>\r
1038         An <link linkend="gitglossary(7)_def_object">object</link> which is not <link linkend="gitglossary(7)_def_reachable">reachable</link> from a\r
1039         <link linkend="gitglossary(7)_def_branch">branch</link>, <link linkend="gitglossary(7)_def_tag">tag</link>, or any other reference.\r
1040 </simpara>\r
1041 </listitem>\r
1042 </varlistentry>\r
1043 <varlistentry>\r
1044 <term>\r
1045 <anchor id="gitglossary(7)_def_upstream_branch" xreflabel="[def_upstream_branch]"/>upstream branch\r
1046 </term>\r
1047 <listitem>\r
1048 <simpara>\r
1049         The default <link linkend="gitglossary(7)_def_branch">branch</link> that is merged into the branch in\r
1050         question (or the branch in question is rebased onto). It is configured\r
1051         via branch.&lt;name&gt;.remote and branch.&lt;name&gt;.merge. If the upstream branch\r
1052         of <emphasis>A</emphasis> is <emphasis>origin/B</emphasis> sometimes we say "<emphasis>A</emphasis> is tracking <emphasis>origin/B</emphasis>".\r
1053 </simpara>\r
1054 </listitem>\r
1055 </varlistentry>\r
1056 <varlistentry>\r
1057 <term>\r
1058 <anchor id="gitglossary(7)_def_working_tree" xreflabel="[def_working_tree]"/>working tree\r
1059 </term>\r
1060 <listitem>\r
1061 <simpara>\r
1062         The tree of actual checked out files.  The working tree normally\r
1063         contains the contents of the <link linkend="gitglossary(7)_def_HEAD">HEAD</link> commit's tree,\r
1064         plus any local changes that you have made but not yet committed.\r
1065 </simpara>\r
1066 </listitem>\r
1067 </varlistentry>\r
1068 </variablelist>\r
1069 </simplesect>\r
1070 <simplesect id="gitglossary(7)__see_also">\r
1071 <title>SEE ALSO</title>\r
1072 <simpara><xref linkend="gittutorial(7)" />,\r
1073 <xref linkend="gittutorial-2(7)" />,\r
1074 <xref linkend="gitcvs-migration(7)" />,\r
1075 link:everyday.html[Everyday git],\r
1076 link:user-manual.html[The Git User's Manual]</simpara>\r
1077 </simplesect>\r
1078 <simplesect id="gitglossary(7)__git">\r
1079 <title>GIT</title>\r
1080 <simpara>Part of the <xref linkend="git(1)" /> suite.</simpara>\r
1081 </simplesect>\r
1082 </sect2>\r