| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" | 
|  | 2 | "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | 
|  | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | 
|  | 4 | <head> | 
|  | 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 6 | <meta name="generator" content="AsciiDoc 8.5.2" /> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 7 | <title>gitglossary(7)</title> | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 8 | <style type="text/css"> | 
|  | 9 | /* Debug borders */ | 
|  | 10 | p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 { | 
|  | 11 | /* | 
|  | 12 | border: 1px solid red; | 
|  | 13 | */ | 
|  | 14 | } | 
|  | 15 |  | 
|  | 16 | body { | 
|  | 17 | margin: 1em 5% 1em 5%; | 
|  | 18 | } | 
|  | 19 |  | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 20 | a { | 
|  | 21 | color: blue; | 
|  | 22 | text-decoration: underline; | 
|  | 23 | } | 
|  | 24 | a:visited { | 
|  | 25 | color: fuchsia; | 
|  | 26 | } | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 27 |  | 
|  | 28 | em { | 
|  | 29 | font-style: italic; | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 30 | color: navy; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 31 | } | 
|  | 32 |  | 
|  | 33 | strong { | 
|  | 34 | font-weight: bold; | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 35 | color: #083194; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 36 | } | 
|  | 37 |  | 
|  | 38 | tt { | 
|  | 39 | color: navy; | 
|  | 40 | } | 
|  | 41 |  | 
|  | 42 | h1, h2, h3, h4, h5, h6 { | 
|  | 43 | color: #527bbd; | 
|  | 44 | font-family: sans-serif; | 
|  | 45 | margin-top: 1.2em; | 
|  | 46 | margin-bottom: 0.5em; | 
|  | 47 | line-height: 1.3; | 
|  | 48 | } | 
|  | 49 |  | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 50 | h1, h2, h3 { | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 51 | border-bottom: 2px solid silver; | 
|  | 52 | } | 
|  | 53 | h2 { | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 54 | padding-top: 0.5em; | 
|  | 55 | } | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 56 | h3 { | 
|  | 57 | float: left; | 
|  | 58 | } | 
|  | 59 | h3 + * { | 
|  | 60 | clear: left; | 
|  | 61 | } | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 62 |  | 
|  | 63 | div.sectionbody { | 
|  | 64 | font-family: serif; | 
|  | 65 | margin-left: 0; | 
|  | 66 | } | 
|  | 67 |  | 
|  | 68 | hr { | 
|  | 69 | border: 1px solid silver; | 
|  | 70 | } | 
|  | 71 |  | 
|  | 72 | p { | 
|  | 73 | margin-top: 0.5em; | 
|  | 74 | margin-bottom: 0.5em; | 
|  | 75 | } | 
|  | 76 |  | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 77 | ul, ol, li > p { | 
|  | 78 | margin-top: 0; | 
|  | 79 | } | 
|  | 80 |  | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 81 | pre { | 
|  | 82 | padding: 0; | 
|  | 83 | margin: 0; | 
|  | 84 | } | 
|  | 85 |  | 
|  | 86 | span#author { | 
|  | 87 | color: #527bbd; | 
|  | 88 | font-family: sans-serif; | 
|  | 89 | font-weight: bold; | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 90 | font-size: 1.1em; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 91 | } | 
|  | 92 | span#email { | 
|  | 93 | } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 94 | span#revnumber, span#revdate, span#revremark { | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 95 | font-family: sans-serif; | 
|  | 96 | } | 
|  | 97 |  | 
|  | 98 | div#footer { | 
|  | 99 | font-family: sans-serif; | 
|  | 100 | font-size: small; | 
|  | 101 | border-top: 2px solid silver; | 
|  | 102 | padding-top: 0.5em; | 
|  | 103 | margin-top: 4.0em; | 
|  | 104 | } | 
|  | 105 | div#footer-text { | 
|  | 106 | float: left; | 
|  | 107 | padding-bottom: 0.5em; | 
|  | 108 | } | 
|  | 109 | div#footer-badges { | 
|  | 110 | float: right; | 
|  | 111 | padding-bottom: 0.5em; | 
|  | 112 | } | 
|  | 113 |  | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 114 | div#preamble { | 
|  | 115 | margin-top: 1.5em; | 
|  | 116 | margin-bottom: 1.5em; | 
|  | 117 | } | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 118 | div.tableblock, div.imageblock, div.exampleblock, div.verseblock, | 
|  | 119 | div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock, | 
|  | 120 | div.admonitionblock { | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 121 | margin-top: 1.0em; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 122 | margin-bottom: 1.5em; | 
|  | 123 | } | 
|  | 124 | div.admonitionblock { | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 125 | margin-top: 2.0em; | 
|  | 126 | margin-bottom: 2.0em; | 
|  | 127 | margin-right: 10%; | 
|  | 128 | color: #606060; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 129 | } | 
|  | 130 |  | 
|  | 131 | div.content { /* Block element content. */ | 
|  | 132 | padding: 0; | 
|  | 133 | } | 
|  | 134 |  | 
|  | 135 | /* Block element titles. */ | 
|  | 136 | div.title, caption.title { | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 137 | color: #527bbd; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 138 | font-family: sans-serif; | 
|  | 139 | font-weight: bold; | 
|  | 140 | text-align: left; | 
|  | 141 | margin-top: 1.0em; | 
|  | 142 | margin-bottom: 0.5em; | 
|  | 143 | } | 
|  | 144 | div.title + * { | 
|  | 145 | margin-top: 0; | 
|  | 146 | } | 
|  | 147 |  | 
|  | 148 | td div.title:first-child { | 
|  | 149 | margin-top: 0.0em; | 
|  | 150 | } | 
|  | 151 | div.content div.title:first-child { | 
|  | 152 | margin-top: 0.0em; | 
|  | 153 | } | 
|  | 154 | div.content + div.title { | 
|  | 155 | margin-top: 0.0em; | 
|  | 156 | } | 
|  | 157 |  | 
|  | 158 | div.sidebarblock > div.content { | 
|  | 159 | background: #ffffee; | 
|  | 160 | border: 1px solid silver; | 
|  | 161 | padding: 0.5em; | 
|  | 162 | } | 
|  | 163 |  | 
|  | 164 | div.listingblock > div.content { | 
|  | 165 | border: 1px solid silver; | 
|  | 166 | background: #f4f4f4; | 
|  | 167 | padding: 0.5em; | 
|  | 168 | } | 
|  | 169 |  | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 170 | div.quoteblock, div.verseblock { | 
|  | 171 | padding-left: 1.0em; | 
|  | 172 | margin-left: 1.0em; | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 173 | margin-right: 10%; | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 174 | border-left: 5px solid #dddddd; | 
|  | 175 | color: #777777; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 176 | } | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 177 |  | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 178 | div.quoteblock > div.attribution { | 
|  | 179 | padding-top: 0.5em; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 180 | text-align: right; | 
|  | 181 | } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 182 |  | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 183 | div.verseblock > div.content { | 
|  | 184 | white-space: pre; | 
|  | 185 | } | 
|  | 186 | div.verseblock > div.attribution { | 
|  | 187 | padding-top: 0.75em; | 
|  | 188 | text-align: left; | 
|  | 189 | } | 
|  | 190 | /* DEPRECATED: Pre version 8.2.7 verse style literal block. */ | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 191 | div.verseblock + div.attribution { | 
|  | 192 | text-align: left; | 
|  | 193 | } | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 194 |  | 
|  | 195 | div.admonitionblock .icon { | 
|  | 196 | vertical-align: top; | 
|  | 197 | font-size: 1.1em; | 
|  | 198 | font-weight: bold; | 
|  | 199 | text-decoration: underline; | 
|  | 200 | color: #527bbd; | 
|  | 201 | padding-right: 0.5em; | 
|  | 202 | } | 
|  | 203 | div.admonitionblock td.content { | 
|  | 204 | padding-left: 0.5em; | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 205 | border-left: 3px solid #dddddd; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 206 | } | 
|  | 207 |  | 
|  | 208 | div.exampleblock > div.content { | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 209 | border-left: 3px solid #dddddd; | 
|  | 210 | padding-left: 0.5em; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 211 | } | 
|  | 212 |  | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 213 | div.imageblock div.content { padding-left: 0; } | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 214 | span.image img { border-style: none; } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 215 | a.image:visited { color: white; } | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 216 |  | 
|  | 217 | dl { | 
|  | 218 | margin-top: 0.8em; | 
|  | 219 | margin-bottom: 0.8em; | 
|  | 220 | } | 
|  | 221 | dt { | 
|  | 222 | margin-top: 0.5em; | 
|  | 223 | margin-bottom: 0; | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 224 | font-style: normal; | 
|  | 225 | color: navy; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 226 | } | 
|  | 227 | dd > *:first-child { | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 228 | margin-top: 0.1em; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 229 | } | 
|  | 230 |  | 
|  | 231 | ul, ol { | 
|  | 232 | list-style-position: outside; | 
|  | 233 | } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 234 | ol.arabic { | 
|  | 235 | list-style-type: decimal; | 
|  | 236 | } | 
|  | 237 | ol.loweralpha { | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 238 | list-style-type: lower-alpha; | 
|  | 239 | } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 240 | ol.upperalpha { | 
|  | 241 | list-style-type: upper-alpha; | 
|  | 242 | } | 
|  | 243 | ol.lowerroman { | 
|  | 244 | list-style-type: lower-roman; | 
|  | 245 | } | 
|  | 246 | ol.upperroman { | 
|  | 247 | list-style-type: upper-roman; | 
|  | 248 | } | 
|  | 249 |  | 
|  | 250 | div.compact ul, div.compact ol, | 
|  | 251 | div.compact p, div.compact p, | 
|  | 252 | div.compact div, div.compact div { | 
|  | 253 | margin-top: 0.1em; | 
|  | 254 | margin-bottom: 0.1em; | 
|  | 255 | } | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 256 |  | 
|  | 257 | div.tableblock > table { | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 258 | border: 3px solid #527bbd; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 259 | } | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 260 | thead, p.table.header { | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 261 | font-family: sans-serif; | 
|  | 262 | font-weight: bold; | 
|  | 263 | } | 
|  | 264 | tfoot { | 
|  | 265 | font-weight: bold; | 
|  | 266 | } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 267 | td > div.verse { | 
|  | 268 | white-space: pre; | 
|  | 269 | } | 
|  | 270 | p.table { | 
|  | 271 | margin-top: 0; | 
|  | 272 | } | 
|  | 273 | /* Because the table frame attribute is overriden by CSS in most browsers. */ | 
|  | 274 | div.tableblock > table[frame="void"] { | 
|  | 275 | border-style: none; | 
|  | 276 | } | 
|  | 277 | div.tableblock > table[frame="hsides"] { | 
|  | 278 | border-left-style: none; | 
|  | 279 | border-right-style: none; | 
|  | 280 | } | 
|  | 281 | div.tableblock > table[frame="vsides"] { | 
|  | 282 | border-top-style: none; | 
|  | 283 | border-bottom-style: none; | 
|  | 284 | } | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 285 |  | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 286 |  | 
|  | 287 | div.hdlist { | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 288 | margin-top: 0.8em; | 
|  | 289 | margin-bottom: 0.8em; | 
|  | 290 | } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 291 | div.hdlist tr { | 
|  | 292 | padding-bottom: 15px; | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 293 | } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 294 | dt.hdlist1.strong, td.hdlist1.strong { | 
|  | 295 | font-weight: bold; | 
|  | 296 | } | 
|  | 297 | td.hdlist1 { | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 298 | vertical-align: top; | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 299 | font-style: normal; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 300 | padding-right: 0.8em; | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 301 | color: navy; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 302 | } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 303 | td.hdlist2 { | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 304 | vertical-align: top; | 
|  | 305 | } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 306 | div.hdlist.compact tr { | 
|  | 307 | margin: 0; | 
|  | 308 | padding-bottom: 0; | 
|  | 309 | } | 
|  | 310 |  | 
|  | 311 | .comment { | 
|  | 312 | background: yellow; | 
|  | 313 | } | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 314 |  | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 315 | .footnote, .footnoteref { | 
|  | 316 | font-size: 0.8em; | 
|  | 317 | } | 
|  | 318 |  | 
|  | 319 | span.footnote, span.footnoteref { | 
|  | 320 | vertical-align: super; | 
|  | 321 | } | 
|  | 322 |  | 
|  | 323 | #footnotes { | 
|  | 324 | margin: 20px 0 20px 0; | 
|  | 325 | padding: 7px 0 0 0; | 
|  | 326 | } | 
|  | 327 |  | 
|  | 328 | #footnotes div.footnote { | 
|  | 329 | margin: 0 0 5px 0; | 
|  | 330 | } | 
|  | 331 |  | 
|  | 332 | #footnotes hr { | 
|  | 333 | border: none; | 
|  | 334 | border-top: 1px solid silver; | 
|  | 335 | height: 1px; | 
|  | 336 | text-align: left; | 
|  | 337 | margin-left: 0; | 
|  | 338 | width: 20%; | 
|  | 339 | min-width: 100px; | 
|  | 340 | } | 
|  | 341 |  | 
|  | 342 |  | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 343 | @media print { | 
|  | 344 | div#footer-badges { display: none; } | 
|  | 345 | } | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 346 |  | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 347 | div#toc { | 
|  | 348 | margin-bottom: 2.5em; | 
|  | 349 | } | 
|  | 350 |  | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 351 | div#toctitle { | 
|  | 352 | color: #527bbd; | 
|  | 353 | font-family: sans-serif; | 
|  | 354 | font-size: 1.1em; | 
|  | 355 | font-weight: bold; | 
|  | 356 | margin-top: 1.0em; | 
|  | 357 | margin-bottom: 0.1em; | 
|  | 358 | } | 
|  | 359 |  | 
|  | 360 | div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 { | 
|  | 361 | margin-top: 0; | 
|  | 362 | margin-bottom: 0; | 
|  | 363 | } | 
|  | 364 | div.toclevel2 { | 
|  | 365 | margin-left: 2em; | 
|  | 366 | font-size: 0.9em; | 
|  | 367 | } | 
|  | 368 | div.toclevel3 { | 
|  | 369 | margin-left: 4em; | 
|  | 370 | font-size: 0.9em; | 
|  | 371 | } | 
|  | 372 | div.toclevel4 { | 
|  | 373 | margin-left: 6em; | 
|  | 374 | font-size: 0.9em; | 
|  | 375 | } | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 376 | /* Overrides for manpage documents */ | 
|  | 377 | h1 { | 
|  | 378 | padding-top: 0.5em; | 
|  | 379 | padding-bottom: 0.5em; | 
|  | 380 | border-top: 2px solid silver; | 
|  | 381 | border-bottom: 2px solid silver; | 
|  | 382 | } | 
|  | 383 | h2 { | 
|  | 384 | border-style: none; | 
|  | 385 | } | 
|  | 386 | div.sectionbody { | 
|  | 387 | margin-left: 5%; | 
|  | 388 | } | 
|  | 389 |  | 
|  | 390 | @media print { | 
|  | 391 | div#toc { display: none; } | 
|  | 392 | } | 
|  | 393 |  | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 394 | /* Workarounds for IE6's broken and incomplete CSS2. */ | 
|  | 395 |  | 
|  | 396 | div.sidebar-content { | 
|  | 397 | background: #ffffee; | 
|  | 398 | border: 1px solid silver; | 
|  | 399 | padding: 0.5em; | 
|  | 400 | } | 
|  | 401 | div.sidebar-title, div.image-title { | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 402 | color: #527bbd; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 403 | font-family: sans-serif; | 
|  | 404 | font-weight: bold; | 
|  | 405 | margin-top: 0.0em; | 
|  | 406 | margin-bottom: 0.5em; | 
|  | 407 | } | 
|  | 408 |  | 
|  | 409 | div.listingblock div.content { | 
|  | 410 | border: 1px solid silver; | 
|  | 411 | background: #f4f4f4; | 
|  | 412 | padding: 0.5em; | 
|  | 413 | } | 
|  | 414 |  | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 415 | div.quoteblock-attribution { | 
|  | 416 | padding-top: 0.5em; | 
|  | 417 | text-align: right; | 
|  | 418 | } | 
|  | 419 |  | 
|  | 420 | div.verseblock-content { | 
|  | 421 | white-space: pre; | 
|  | 422 | } | 
|  | 423 | div.verseblock-attribution { | 
|  | 424 | padding-top: 0.75em; | 
|  | 425 | text-align: left; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 426 | } | 
|  | 427 |  | 
|  | 428 | div.exampleblock-content { | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 429 | border-left: 3px solid #dddddd; | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 430 | padding-left: 0.5em; | 
|  | 431 | } | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 432 |  | 
|  | 433 | /* IE6 sets dynamically generated links as visited. */ | 
|  | 434 | div#toc a:visited { color: blue; } | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 435 | </style> | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 436 | <script type="text/javascript"> | 
|  | 437 | /*<+'])'); | 
|  | 481 | // Function that scans the DOM tree for header elements (the DOM2 | 
|  | 482 | // nodeIterator API would be a better technique but not supported by all | 
|  | 483 | // browsers). | 
|  | 484 | var iterate = function (el) { | 
|  | 485 | for (var i = el.firstChild; i != null; i = i.nextSibling) { | 
|  | 486 | if (i.nodeType == 1 /* Node.ELEMENT_NODE */) { | 
|  | 487 | var mo = re.exec(i.tagName); | 
|  | 488 | if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") { | 
|  | 489 | result[result.length] = new TocEntry(i, getText(i), mo[1]-1); | 
|  | 490 | } | 
|  | 491 | iterate(i); | 
|  | 492 | } | 
|  | 493 | } | 
|  | 494 | } | 
|  | 495 | iterate(el); | 
|  | 496 | return result; | 
|  | 497 | } | 
|  | 498 |  | 
|  | 499 | var toc = document.getElementById("toc"); | 
|  | 500 | var entries = tocEntries(document.getElementById("content"), toclevels); | 
|  | 501 | for (var i = 0; i < entries.length; ++i) { | 
|  | 502 | var entry = entries[i]; | 
|  | 503 | if (entry.element.id == "") | 
|  | 504 | entry.element.id = "_toc_" + i; | 
|  | 505 | var a = document.createElement("a"); | 
|  | 506 | a.href = "#" + entry.element.id; | 
|  | 507 | a.appendChild(document.createTextNode(entry.text)); | 
|  | 508 | var div = document.createElement("div"); | 
|  | 509 | div.appendChild(a); | 
|  | 510 | div.className = "toclevel" + entry.toclevel; | 
|  | 511 | toc.appendChild(div); | 
|  | 512 | } | 
|  | 513 | if (entries.length == 0) | 
|  | 514 | toc.parentNode.removeChild(toc); | 
|  | 515 | }, | 
|  | 516 |  | 
|  | 517 |  | 
|  | 518 | ///////////////////////////////////////////////////////////////////// | 
|  | 519 | // Footnotes generator | 
|  | 520 | ///////////////////////////////////////////////////////////////////// | 
|  | 521 |  | 
|  | 522 | /* Based on footnote generation code from: | 
|  | 523 | * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html | 
|  | 524 | */ | 
|  | 525 |  | 
|  | 526 | footnotes: function () { | 
|  | 527 | var cont = document.getElementById("content"); | 
|  | 528 | var noteholder = document.getElementById("footnotes"); | 
|  | 529 | var spans = cont.getElementsByTagName("span"); | 
|  | 530 | var refs = {}; | 
|  | 531 | var n = 0; | 
|  | 532 | for (i=0; i<spans.length; i++) { | 
|  | 533 | if (spans[i].className == "footnote") { | 
|  | 534 | n++; | 
|  | 535 | // Use [\s\S] in place of . so multi-line matches work. | 
|  | 536 | // Because JavaScript has no s (dotall) regex flag. | 
|  | 537 | note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1]; | 
|  | 538 | noteholder.innerHTML += | 
|  | 539 | "<div class='footnote' id='_footnote_" + n + "'>" + | 
|  | 540 | "<a href='#_footnoteref_" + n + "' title='Return to text'>" + | 
|  | 541 | n + "</a>. " + note + "</div>"; | 
|  | 542 | spans[i].innerHTML = | 
|  | 543 | "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n + | 
|  | 544 | "' title='View footnote' class='footnote'>" + n + "</a>]"; | 
|  | 545 | var id =spans[i].getAttribute("id"); | 
|  | 546 | if (id != null) refs["#"+id] = n; | 
|  | 547 | } | 
|  | 548 | } | 
|  | 549 | if (n == 0) | 
|  | 550 | noteholder.parentNode.removeChild(noteholder); | 
|  | 551 | else { | 
|  | 552 | // Process footnoterefs. | 
|  | 553 | for (i=0; i<spans.length; i++) { | 
|  | 554 | if (spans[i].className == "footnoteref") { | 
|  | 555 | var href = spans[i].getElementsByTagName("a")[0].getAttribute("href"); | 
|  | 556 | href = href.match(/#.*/)[0]; // Because IE return full URL. | 
|  | 557 | n = refs[href]; | 
|  | 558 | spans[i].innerHTML = | 
|  | 559 | "[<a href='#_footnote_" + n + | 
|  | 560 | "' title='View footnote' class='footnote'>" + n + "</a>]"; | 
|  | 561 | } | 
|  | 562 | } | 
|  | 563 | } | 
|  | 564 | } | 
|  | 565 |  | 
|  | 566 | } | 
|  | 567 | /*]]>*/ | 
|  | 568 | </script> | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 569 | </head> | 
|  | 570 | <body> | 
|  | 571 | <div id="header"> | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 572 | <h1> | 
|  | 573 | gitglossary(7) Manual Page | 
|  | 574 | </h1> | 
|  | 575 | <h2>NAME</h2> | 
|  | 576 | <div class="sectionbody"> | 
|  | 577 | <p>gitglossary - | 
|  | 578 | A GIT Glossary | 
|  | 579 | </p> | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 580 | </div> | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 581 | </div> | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 582 | <div id="content"> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 583 | <h2 id="_synopsis">SYNOPSIS</h2> | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 584 | <div class="sectionbody"> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 585 | <div class="paragraph"><p>*</p></div> | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 586 | </div> | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 587 | <h2 id="_description">DESCRIPTION</h2> | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 588 | <div class="sectionbody"> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 589 | <div class="dlist"><dl> | 
|  | 590 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 591 | <a id="def_alternate_object_database"></a>alternate object database | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 592 | </dt> | 
|  | 593 | <dd> | 
|  | 594 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 595 | Via the alternates mechanism, a <a href="#def_repository">repository</a> | 
|  | 596 | can inherit part of its <a href="#def_object_database">object database</a> | 
|  | 597 | from another object database, which is called "alternate". | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 598 | </p> | 
|  | 599 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 600 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 601 | <a id="def_bare_repository"></a>bare repository | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 602 | </dt> | 
|  | 603 | <dd> | 
|  | 604 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 605 | A bare repository is normally an appropriately | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 606 | named <a href="#def_directory">directory</a> with a <tt>.git</tt> suffix that does not | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 607 | have a locally checked-out copy of any of the files under | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 608 | revision control. That is, all of the <tt>git</tt> | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 609 | administrative and control files that would normally be present in the | 
| Junio C Hamano | c51fede | 2007-03-12 07:29:20 | [diff] [blame] | 610 | hidden <tt>.git</tt> sub-directory are directly present in the | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 611 | <tt>repository.git</tt> directory instead, | 
| Junio C Hamano | c51fede | 2007-03-12 07:29:20 | [diff] [blame] | 612 | and no other files are present and checked out. Usually publishers of | 
|  | 613 | public repositories make bare repositories available. | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 614 | </p> | 
|  | 615 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 616 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 617 | <a id="def_blob_object"></a>blob object | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 618 | </dt> | 
|  | 619 | <dd> | 
|  | 620 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 621 | Untyped <a href="#def_object">object</a>, e.g. the contents of a file. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 622 | </p> | 
|  | 623 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 624 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 625 | <a id="def_branch"></a>branch | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 626 | </dt> | 
|  | 627 | <dd> | 
|  | 628 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 629 | A "branch" is an active line of development. The most recent | 
|  | 630 | <a href="#def_commit">commit</a> on a branch is referred to as the tip of | 
|  | 631 | that branch. The tip of the branch is referenced by a branch | 
|  | 632 | <a href="#def_head">head</a>, which moves forward as additional development | 
|  | 633 | is done on the branch. A single git | 
|  | 634 | <a href="#def_repository">repository</a> can track an arbitrary number of | 
|  | 635 | branches, but your <a href="#def_working_tree">working tree</a> is | 
|  | 636 | associated with just one of them (the "current" or "checked out" | 
|  | 637 | branch), and <a href="#def_HEAD">HEAD</a> points to that branch. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 638 | </p> | 
|  | 639 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 640 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 641 | <a id="def_cache"></a>cache | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 642 | </dt> | 
|  | 643 | <dd> | 
|  | 644 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 645 | Obsolete for: <a href="#def_index">index</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 646 | </p> | 
|  | 647 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 648 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 649 | <a id="def_chain"></a>chain | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 650 | </dt> | 
|  | 651 | <dd> | 
|  | 652 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 653 | A list of objects, where each <a href="#def_object">object</a> in the list contains | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 654 | a reference to its successor (for example, the successor of a | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 655 | <a href="#def_commit">commit</a> could be one of its <a href="#def_parent">parents</a>). | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 656 | </p> | 
|  | 657 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 658 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 659 | <a id="def_changeset"></a>changeset | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 660 | </dt> | 
|  | 661 | <dd> | 
|  | 662 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 663 | BitKeeper/cvsps speak for "<a href="#def_commit">commit</a>". Since git does not | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 664 | store changes, but states, it really does not make sense to use the term | 
|  | 665 | "changesets" with git. | 
|  | 666 | </p> | 
|  | 667 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 668 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 669 | <a id="def_checkout"></a>checkout | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 670 | </dt> | 
|  | 671 | <dd> | 
|  | 672 | <p> | 
| Junio C Hamano | a14a403 | 2008-03-25 09:11:02 | [diff] [blame] | 673 | The action of updating all or part of the | 
|  | 674 | <a href="#def_working_tree">working tree</a> with a <a href="#def_tree_object">tree object</a> | 
|  | 675 | or <a href="#def_blob_object">blob</a> from the | 
|  | 676 | <a href="#def_object_database">object database</a>, and updating the | 
|  | 677 | <a href="#def_index">index</a> and <a href="#def_HEAD">HEAD</a> if the whole working tree has | 
|  | 678 | been pointed at a new <a href="#def_branch">branch</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 679 | </p> | 
|  | 680 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 681 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 682 | <a id="def_cherry-picking"></a>cherry-picking | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 683 | </dt> | 
|  | 684 | <dd> | 
|  | 685 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 686 | In <a href="#def_SCM">SCM</a> jargon, "cherry pick" means to choose a subset of | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 687 | changes out of a series of changes (typically commits) and record them | 
| Junio C Hamano | 764a667 | 2007-10-23 01:23:31 | [diff] [blame] | 688 | as a new series of changes on top of a different codebase. In GIT, this is | 
|  | 689 | performed by the "git cherry-pick" command to extract the change introduced | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 690 | by an existing <a href="#def_commit">commit</a> and to record it based on the tip | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 691 | of the current <a href="#def_branch">branch</a> as a new commit. | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 692 | </p> | 
|  | 693 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 694 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 695 | <a id="def_clean"></a>clean | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 696 | </dt> | 
|  | 697 | <dd> | 
|  | 698 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 699 | A <a href="#def_working_tree">working tree</a> is clean, if it | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 700 | corresponds to the <a href="#def_revision">revision</a> referenced by the current | 
|  | 701 | <a href="#def_head">head</a>. Also see "<a href="#def_dirty">dirty</a>". | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 702 | </p> | 
|  | 703 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 704 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 705 | <a id="def_commit"></a>commit | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 706 | </dt> | 
|  | 707 | <dd> | 
|  | 708 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 709 | As a noun: A single point in the | 
|  | 710 | git history; the entire history of a project is represented as a | 
|  | 711 | set of interrelated commits. The word "commit" is often | 
|  | 712 | used by git in the same places other revision control systems | 
|  | 713 | use the words "revision" or "version". Also used as a short | 
|  | 714 | hand for <a href="#def_commit_object">commit object</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 715 | </p> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 716 | <div class="paragraph"><p>As a verb: The action of storing a new snapshot of the project’s | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 717 | state in the git history, by creating a new commit representing the current | 
|  | 718 | state of the <a href="#def_index">index</a> and advancing <a href="#def_HEAD">HEAD</a> | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 719 | to point at the new commit.</p></div> | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 720 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 721 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 722 | <a id="def_commit_object"></a>commit object | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 723 | </dt> | 
|  | 724 | <dd> | 
|  | 725 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 726 | An <a href="#def_object">object</a> which contains the information about a | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 727 | particular <a href="#def_revision">revision</a>, such as <a href="#def_parent">parents</a>, committer, | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 728 | author, date and the <a href="#def_tree_object">tree object</a> which corresponds | 
|  | 729 | to the top <a href="#def_directory">directory</a> of the stored | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 730 | revision. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 731 | </p> | 
|  | 732 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 733 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 734 | <a id="def_core_git"></a>core git | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 735 | </dt> | 
|  | 736 | <dd> | 
|  | 737 | <p> | 
|  | 738 | Fundamental data structures and utilities of git. Exposes only limited | 
|  | 739 | source code management tools. | 
|  | 740 | </p> | 
|  | 741 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 742 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 743 | <a id="def_DAG"></a>DAG | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 744 | </dt> | 
|  | 745 | <dd> | 
|  | 746 | <p> | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 747 | Directed acyclic graph. The <a href="#def_commit_object">commit objects</a> form a | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 748 | directed acyclic graph, because they have parents (directed), and the | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 749 | graph of commit objects is acyclic (there is no <a href="#def_chain">chain</a> | 
|  | 750 | which begins and ends with the same <a href="#def_object">object</a>). | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 751 | </p> | 
|  | 752 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 753 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 754 | <a id="def_dangling_object"></a>dangling object | 
| Junio C Hamano | aa83a7d | 2007-03-05 02:37:29 | [diff] [blame] | 755 | </dt> | 
|  | 756 | <dd> | 
|  | 757 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 758 | An <a href="#def_unreachable_object">unreachable object</a> which is not | 
|  | 759 | <a href="#def_reachable">reachable</a> even from other unreachable objects; a | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 760 | dangling object has no references to it from any | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 761 | reference or <a href="#def_object">object</a> in the <a href="#def_repository">repository</a>. | 
| Junio C Hamano | aa83a7d | 2007-03-05 02:37:29 | [diff] [blame] | 762 | </p> | 
|  | 763 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 764 | <dt class="hdlist1"> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 765 | <a id="def_detached_HEAD"></a>detached HEAD | 
|  | 766 | </dt> | 
|  | 767 | <dd> | 
|  | 768 | <p> | 
|  | 769 | Normally the <a href="#def_HEAD">HEAD</a> stores the name of a | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 770 | <a href="#def_branch">branch</a>. However, git also allows you to <a href="#def_checkout">check out</a> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 771 | an arbitrary <a href="#def_commit">commit</a> that isn’t necessarily the tip of any | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 772 | particular branch. In this case HEAD is said to be "detached". | 
|  | 773 | </p> | 
|  | 774 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 775 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 776 | <a id="def_dircache"></a>dircache | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 777 | </dt> | 
|  | 778 | <dd> | 
|  | 779 | <p> | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 780 | You are <strong>waaaaay</strong> behind. See <a href="#def_index">index</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 781 | </p> | 
|  | 782 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 783 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 784 | <a id="def_directory"></a>directory | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 785 | </dt> | 
|  | 786 | <dd> | 
|  | 787 | <p> | 
|  | 788 | The list you get with "ls" :-) | 
|  | 789 | </p> | 
|  | 790 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 791 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 792 | <a id="def_dirty"></a>dirty | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 793 | </dt> | 
|  | 794 | <dd> | 
|  | 795 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 796 | A <a href="#def_working_tree">working tree</a> is said to be "dirty" if | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 797 | it contains modifications which have not been <a href="#def_commit">committed</a> to the current | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 798 | <a href="#def_branch">branch</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 799 | </p> | 
|  | 800 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 801 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 802 | <a id="def_ent"></a>ent | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 803 | </dt> | 
|  | 804 | <dd> | 
|  | 805 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 806 | Favorite synonym to "<a href="#def_tree-ish">tree-ish</a>" by some total geeks. See | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 807 | <tt>http://en.wikipedia.org/wiki/Ent_(Middle-earth)</tt> for an in-depth | 
| Junio C Hamano | 51c2ab0 | 2006-07-09 20:38:54 | [diff] [blame] | 808 | explanation. Avoid this term, not to confuse people. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 809 | </p> | 
|  | 810 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 811 | <dt class="hdlist1"> | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 812 | <a id="def_evil_merge"></a>evil merge | 
|  | 813 | </dt> | 
|  | 814 | <dd> | 
|  | 815 | <p> | 
|  | 816 | An evil merge is a <a href="#def_merge">merge</a> that introduces changes that | 
|  | 817 | do not appear in any <a href="#def_parent">parent</a>. | 
|  | 818 | </p> | 
|  | 819 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 820 | <dt class="hdlist1"> | 
| Junio C Hamano | 3f680f3 | 2009-11-16 02:10:54 | [diff] [blame] | 821 | <a id="def_fast_forward"></a>fast-forward | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 822 | </dt> | 
|  | 823 | <dd> | 
|  | 824 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 825 | A fast-forward is a special type of <a href="#def_merge">merge</a> where you have a | 
|  | 826 | <a href="#def_revision">revision</a> and you are "merging" another | 
|  | 827 | <a href="#def_branch">branch</a>'s changes that happen to be a descendant of what | 
|  | 828 | you have. In such these cases, you do not make a new <a href="#def_merge">merge</a> | 
|  | 829 | <a href="#def_commit">commit</a> but instead just update to his | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 830 | revision. This will happen frequently on a | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 831 | <a href="#def_remote_tracking_branch">remote-tracking branch</a> of a remote | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 832 | <a href="#def_repository">repository</a>. | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 833 | </p> | 
|  | 834 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 835 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 836 | <a id="def_fetch"></a>fetch | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 837 | </dt> | 
|  | 838 | <dd> | 
|  | 839 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 840 | Fetching a <a href="#def_branch">branch</a> means to get the | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 841 | branch’s <a href="#def_head_ref">head ref</a> from a remote | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 842 | <a href="#def_repository">repository</a>, to find out which objects are | 
|  | 843 | missing from the local <a href="#def_object_database">object database</a>, | 
|  | 844 | and to get them, too. See also <a href="git-fetch.html">git-fetch(1)</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 845 | </p> | 
|  | 846 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 847 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 848 | <a id="def_file_system"></a>file system | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 849 | </dt> | 
|  | 850 | <dd> | 
|  | 851 | <p> | 
|  | 852 | Linus Torvalds originally designed git to be a user space file system, | 
|  | 853 | i.e. the infrastructure to hold files and directories. That ensured the | 
|  | 854 | efficiency and speed of git. | 
|  | 855 | </p> | 
|  | 856 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 857 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 858 | <a id="def_git_archive"></a>git archive | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 859 | </dt> | 
|  | 860 | <dd> | 
|  | 861 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 862 | Synonym for <a href="#def_repository">repository</a> (for arch people). | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 863 | </p> | 
|  | 864 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 865 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 866 | <a id="def_grafts"></a>grafts | 
| Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 867 | </dt> | 
|  | 868 | <dd> | 
|  | 869 | <p> | 
|  | 870 | Grafts enables two otherwise different lines of development to be joined | 
|  | 871 | together by recording fake ancestry information for commits. This way | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 872 | you can make git pretend the set of <a href="#def_parent">parents</a> a <a href="#def_commit">commit</a> has | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 873 | is different from what was recorded when the commit was | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 874 | created. Configured via the <tt>.git/info/grafts</tt> file. | 
| Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 875 | </p> | 
|  | 876 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 877 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 878 | <a id="def_hash"></a>hash | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 879 | </dt> | 
|  | 880 | <dd> | 
|  | 881 | <p> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 882 | In git’s context, synonym to <a href="#def_object_name">object name</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 883 | </p> | 
|  | 884 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 885 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 886 | <a id="def_head"></a>head | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 887 | </dt> | 
|  | 888 | <dd> | 
|  | 889 | <p> | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 890 | A <a href="#def_ref">named reference</a> to the <a href="#def_commit">commit</a> at the tip of a | 
| Junio C Hamano | 360e3a1 | 2011-07-13 23:51:56 | [diff] [blame] | 891 | <a href="#def_branch">branch</a>. Heads are stored in a file in | 
|  | 892 | <tt>$GIT_DIR/refs/heads/</tt> directory, except when using packed refs. (See | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 893 | <a href="git-pack-refs.html">git-pack-refs(1)</a>.) | 
|  | 894 | </p> | 
|  | 895 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 896 | <dt class="hdlist1"> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 897 | <a id="def_HEAD"></a>HEAD | 
|  | 898 | </dt> | 
|  | 899 | <dd> | 
|  | 900 | <p> | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 901 | The current <a href="#def_branch">branch</a>. In more detail: Your <a href="#def_working_tree">working tree</a> is normally derived from the state of the tree | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 902 | referred to by HEAD. HEAD is a reference to one of the | 
|  | 903 | <a href="#def_head">heads</a> in your repository, except when using a | 
| Junio C Hamano | 360e3a1 | 2011-07-13 23:51:56 | [diff] [blame] | 904 | <a href="#def_detached_HEAD">detached HEAD</a>, in which case it directly | 
|  | 905 | references an arbitrary commit. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 906 | </p> | 
|  | 907 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 908 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 909 | <a id="def_head_ref"></a>head ref | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 910 | </dt> | 
|  | 911 | <dd> | 
|  | 912 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 913 | A synonym for <a href="#def_head">head</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 914 | </p> | 
|  | 915 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 916 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 917 | <a id="def_hook"></a>hook | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 918 | </dt> | 
|  | 919 | <dd> | 
|  | 920 | <p> | 
|  | 921 | During the normal execution of several git commands, call-outs are made | 
|  | 922 | to optional scripts that allow a developer to add functionality or | 
|  | 923 | checking. Typically, the hooks allow for a command to be pre-verified | 
|  | 924 | and potentially aborted, and allow for a post-notification after the | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 925 | operation is done. The hook scripts are found in the | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 926 | <tt>$GIT_DIR/hooks/</tt> directory, and are enabled by simply | 
| Junio C Hamano | 116db35 | 2008-12-17 19:48:40 | [diff] [blame] | 927 | removing the <tt>.sample</tt> suffix from the filename. In earlier versions | 
|  | 928 | of git you had to make them executable. | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 929 | </p> | 
|  | 930 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 931 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 932 | <a id="def_index"></a>index | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 933 | </dt> | 
|  | 934 | <dd> | 
|  | 935 | <p> | 
|  | 936 | A collection of files with stat information, whose contents are stored | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 937 | as objects. The index is a stored version of your | 
|  | 938 | <a href="#def_working_tree">working tree</a>. Truth be told, it can also contain a second, and even | 
|  | 939 | a third version of a working tree, which are used | 
|  | 940 | when <a href="#def_merge">merging</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 941 | </p> | 
|  | 942 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 943 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 944 | <a id="def_index_entry"></a>index entry | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 945 | </dt> | 
|  | 946 | <dd> | 
|  | 947 | <p> | 
|  | 948 | The information regarding a particular file, stored in the | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 949 | <a href="#def_index">index</a>. An index entry can be unmerged, if a | 
|  | 950 | <a href="#def_merge">merge</a> was started, but not yet finished (i.e. if | 
|  | 951 | the index contains multiple versions of that file). | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 952 | </p> | 
|  | 953 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 954 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 955 | <a id="def_master"></a>master | 
| Junio C Hamano | f3e80c0 | 2006-01-11 00:54:55 | [diff] [blame] | 956 | </dt> | 
|  | 957 | <dd> | 
|  | 958 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 959 | The default development <a href="#def_branch">branch</a>. Whenever you | 
|  | 960 | create a git <a href="#def_repository">repository</a>, a branch named | 
|  | 961 | "master" is created, and becomes the active branch. In most | 
|  | 962 | cases, this contains the local development, though that is | 
|  | 963 | purely by convention and is not required. | 
| Junio C Hamano | f3e80c0 | 2006-01-11 00:54:55 | [diff] [blame] | 964 | </p> | 
|  | 965 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 966 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 967 | <a id="def_merge"></a>merge | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 968 | </dt> | 
|  | 969 | <dd> | 
|  | 970 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 971 | As a verb: To bring the contents of another | 
|  | 972 | <a href="#def_branch">branch</a> (possibly from an external | 
|  | 973 | <a href="#def_repository">repository</a>) into the current branch. In the | 
|  | 974 | case where the merged-in branch is from a different repository, | 
|  | 975 | this is done by first <a href="#def_fetch">fetching</a> the remote branch | 
|  | 976 | and then merging the result into the current branch. This | 
|  | 977 | combination of fetch and merge operations is called a | 
|  | 978 | <a href="#def_pull">pull</a>. Merging is performed by an automatic process | 
|  | 979 | that identifies changes made since the branches diverged, and | 
|  | 980 | then applies all those changes together. In cases where changes | 
|  | 981 | conflict, manual intervention may be required to complete the | 
|  | 982 | merge. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 983 | </p> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 984 | <div class="paragraph"><p>As a noun: unless it is a <a href="#def_fast_forward">fast-forward</a>, a | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 985 | successful merge results in the creation of a new <a href="#def_commit">commit</a> | 
|  | 986 | representing the result of the merge, and having as | 
|  | 987 | <a href="#def_parent">parents</a> the tips of the merged <a href="#def_branch">branches</a>. | 
|  | 988 | This commit is referred to as a "merge commit", or sometimes just a | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 989 | "merge".</p></div> | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 990 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 991 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 992 | <a id="def_object"></a>object | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 993 | </dt> | 
|  | 994 | <dd> | 
|  | 995 | <p> | 
|  | 996 | The unit of storage in git. It is uniquely identified by the | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 997 | <a href="#def_SHA1">SHA1</a> of its contents. Consequently, an | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 998 | object can not be changed. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 999 | </p> | 
|  | 1000 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1001 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1002 | <a id="def_object_database"></a>object database | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1003 | </dt> | 
|  | 1004 | <dd> | 
|  | 1005 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1006 | Stores a set of "objects", and an individual <a href="#def_object">object</a> is | 
|  | 1007 | identified by its <a href="#def_object_name">object name</a>. The objects usually | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1008 | live in <tt>$GIT_DIR/objects/</tt>. | 
|  | 1009 | </p> | 
|  | 1010 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1011 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1012 | <a id="def_object_identifier"></a>object identifier | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1013 | </dt> | 
|  | 1014 | <dd> | 
|  | 1015 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1016 | Synonym for <a href="#def_object_name">object name</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1017 | </p> | 
|  | 1018 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1019 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1020 | <a id="def_object_name"></a>object name | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1021 | </dt> | 
|  | 1022 | <dd> | 
|  | 1023 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1024 | The unique identifier of an <a href="#def_object">object</a>. The <a href="#def_hash">hash</a> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1025 | of the object’s contents using the Secure Hash Algorithm | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1026 | 1 and usually represented by the 40 character hexadecimal encoding of | 
| Junio C Hamano | 3a70234 | 2007-12-12 21:34:02 | [diff] [blame] | 1027 | the <a href="#def_hash">hash</a> of the object. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1028 | </p> | 
|  | 1029 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1030 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1031 | <a id="def_object_type"></a>object type | 
| Junio C Hamano | 21c0b42 | 2006-10-12 19:10:36 | [diff] [blame] | 1032 | </dt> | 
|  | 1033 | <dd> | 
|  | 1034 | <p> | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 1035 | One of the identifiers "<a href="#def_commit_object">commit</a>", | 
|  | 1036 | "<a href="#def_tree_object">tree</a>", "<a href="#def_tag_object">tag</a>" or | 
|  | 1037 | "<a href="#def_blob_object">blob</a>" describing the type of an | 
|  | 1038 | <a href="#def_object">object</a>. | 
| Junio C Hamano | 21c0b42 | 2006-10-12 19:10:36 | [diff] [blame] | 1039 | </p> | 
|  | 1040 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1041 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1042 | <a id="def_octopus"></a>octopus | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1043 | </dt> | 
|  | 1044 | <dd> | 
|  | 1045 | <p> | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 1046 | To <a href="#def_merge">merge</a> more than two <a href="#def_branch">branches</a>. Also denotes an | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1047 | intelligent predator. | 
|  | 1048 | </p> | 
|  | 1049 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1050 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1051 | <a id="def_origin"></a>origin | 
| Junio C Hamano | f3e80c0 | 2006-01-11 00:54:55 | [diff] [blame] | 1052 | </dt> | 
|  | 1053 | <dd> | 
|  | 1054 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1055 | The default upstream <a href="#def_repository">repository</a>. Most projects have | 
| Junio C Hamano | d3361ad | 2007-01-01 03:20:24 | [diff] [blame] | 1056 | at least one upstream project which they track. By default | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1057 | <em>origin</em> is used for that purpose. New upstream updates | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1058 | will be fetched into remote <a href="#def_remote_tracking_branch">remote-tracking branches</a> named | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1059 | origin/name-of-upstream-branch, which you can see using | 
| Junio C Hamano | ea82cff | 2009-03-18 01:54:48 | [diff] [blame] | 1060 | <tt>git branch -r</tt>. | 
| Junio C Hamano | f3e80c0 | 2006-01-11 00:54:55 | [diff] [blame] | 1061 | </p> | 
|  | 1062 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1063 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1064 | <a id="def_pack"></a>pack | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1065 | </dt> | 
|  | 1066 | <dd> | 
|  | 1067 | <p> | 
|  | 1068 | A set of objects which have been compressed into one file (to save space | 
|  | 1069 | or to transmit them efficiently). | 
|  | 1070 | </p> | 
|  | 1071 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1072 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1073 | <a id="def_pack_index"></a>pack index | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1074 | </dt> | 
|  | 1075 | <dd> | 
|  | 1076 | <p> | 
|  | 1077 | The list of identifiers, and other information, of the objects in a | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1078 | <a href="#def_pack">pack</a>, to assist in efficiently accessing the contents of a | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1079 | pack. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1080 | </p> | 
|  | 1081 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1082 | <dt class="hdlist1"> | 
| Junio C Hamano | 63c2bc9 | 2011-02-28 06:41:28 | [diff] [blame] | 1083 | <a id="def_pathspec"></a>pathspec | 
|  | 1084 | </dt> | 
|  | 1085 | <dd> | 
|  | 1086 | <p> | 
|  | 1087 | Pattern used to specify paths. | 
|  | 1088 | </p> | 
|  | 1089 | <div class="paragraph"><p>Pathspecs are used on the command line of "git ls-files", "git | 
| Junio C Hamano | 2a294cd | 2011-05-23 23:06:31 | [diff] [blame] | 1090 | ls-tree", "git add", "git grep", "git diff", "git checkout", | 
|  | 1091 | and many other commands to | 
| Junio C Hamano | 63c2bc9 | 2011-02-28 06:41:28 | [diff] [blame] | 1092 | limit the scope of operations to some subset of the tree or | 
|  | 1093 | worktree. See the documentation of each command for whether | 
|  | 1094 | paths are relative to the current directory or toplevel. The | 
|  | 1095 | pathspec syntax is as follows:</p></div> | 
|  | 1096 | <div class="ulist"><ul> | 
|  | 1097 | <li> | 
|  | 1098 | <p> | 
|  | 1099 | any path matches itself | 
|  | 1100 | </p> | 
|  | 1101 | </li> | 
|  | 1102 | <li> | 
|  | 1103 | <p> | 
|  | 1104 | the pathspec up to the last slash represents a | 
|  | 1105 | directory prefix. The scope of that pathspec is | 
|  | 1106 | limited to that subtree. | 
|  | 1107 | </p> | 
|  | 1108 | </li> | 
|  | 1109 | <li> | 
|  | 1110 | <p> | 
|  | 1111 | the rest of the pathspec is a pattern for the remainder | 
|  | 1112 | of the pathname. Paths relative to the directory | 
|  | 1113 | prefix will be matched against that pattern using fnmatch(3); | 
|  | 1114 | in particular, <em>*</em> and <em>?</em> <em>can</em> match directory separators. | 
|  | 1115 | </p> | 
|  | 1116 | <div class="paragraph"><p>For example, Documentation/*.jpg will match all .jpg files | 
|  | 1117 | in the Documentation subtree, | 
|  | 1118 | including Documentation/chapter_1/figure_1.jpg.</p></div> | 
|  | 1119 | </li> | 
|  | 1120 | </ul></div> | 
| Junio C Hamano | 2a294cd | 2011-05-23 23:06:31 | [diff] [blame] | 1121 | <div class="paragraph"><p>A pathspec that begins with a colon <tt>:</tt> has special meaning. In the | 
|  | 1122 | short form, the leading colon <tt>:</tt> is followed by zero or more "magic | 
|  | 1123 | signature" letters (which optionally is terminated by another colon <tt>:</tt>), | 
|  | 1124 | and the remainder is the pattern to match against the path. The optional | 
|  | 1125 | colon that terminates the "magic signature" can be omitted if the pattern | 
|  | 1126 | begins with a character that cannot be a "magic signature" and is not a | 
|  | 1127 | colon.</p></div> | 
|  | 1128 | <div class="paragraph"><p>In the long form, the leading colon <tt>:</tt> is followed by a open | 
|  | 1129 | parenthesis <tt>(</tt>, a comma-separated list of zero or more "magic words", | 
|  | 1130 | and a close parentheses <tt>)</tt>, and the remainder is the pattern to match | 
|  | 1131 | against the path.</p></div> | 
|  | 1132 | <div class="paragraph"><p>The "magic signature" consists of an ASCII symbol that is not | 
|  | 1133 | alphanumeric.</p></div> | 
|  | 1134 | <div class="dlist"><dl> | 
|  | 1135 | <dt class="hdlist1"> | 
|  | 1136 | top <tt>/</tt> | 
|  | 1137 | </dt> | 
|  | 1138 | <dd> | 
|  | 1139 | <p> | 
|  | 1140 | The magic word <tt>top</tt> (mnemonic: <tt>/</tt>) makes the pattern match | 
|  | 1141 | from the root of the working tree, even when you are running | 
|  | 1142 | the command from inside a subdirectory. | 
|  | 1143 | </p> | 
|  | 1144 | </dd> | 
|  | 1145 | </dl></div> | 
|  | 1146 | <div class="paragraph"><p>Currently only the slash <tt>/</tt> is recognized as the "magic signature", | 
|  | 1147 | but it is envisioned that we will support more types of magic in later | 
|  | 1148 | versions of git.</p></div> | 
|  | 1149 | <div class="paragraph"><p>A pathspec with only a colon means "there is no pathspec". This form | 
|  | 1150 | should not be combined with other pathspec.</p></div> | 
| Junio C Hamano | 63c2bc9 | 2011-02-28 06:41:28 | [diff] [blame] | 1151 | </dd> | 
|  | 1152 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1153 | <a id="def_parent"></a>parent | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1154 | </dt> | 
|  | 1155 | <dd> | 
|  | 1156 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1157 | A <a href="#def_commit_object">commit object</a> contains a (possibly empty) list | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1158 | of the logical predecessor(s) in the line of development, i.e. its | 
|  | 1159 | parents. | 
|  | 1160 | </p> | 
|  | 1161 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1162 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1163 | <a id="def_pickaxe"></a>pickaxe | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 1164 | </dt> | 
|  | 1165 | <dd> | 
|  | 1166 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1167 | The term <a href="#def_pickaxe">pickaxe</a> refers to an option to the diffcore | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 1168 | routines that help select changes that add or delete a given text | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 1169 | string. With the <tt>--pickaxe-all</tt> option, it can be used to view the full | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1170 | <a href="#def_changeset">changeset</a> that introduced or removed, say, a | 
| Junio C Hamano | c51fede | 2007-03-12 07:29:20 | [diff] [blame] | 1171 | particular line of text. See <a href="git-diff.html">git-diff(1)</a>. | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 1172 | </p> | 
|  | 1173 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1174 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1175 | <a id="def_plumbing"></a>plumbing | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1176 | </dt> | 
|  | 1177 | <dd> | 
|  | 1178 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1179 | Cute name for <a href="#def_core_git">core git</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1180 | </p> | 
|  | 1181 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1182 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1183 | <a id="def_porcelain"></a>porcelain | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1184 | </dt> | 
|  | 1185 | <dd> | 
|  | 1186 | <p> | 
|  | 1187 | Cute name for programs and program suites depending on | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1188 | <a href="#def_core_git">core git</a>, presenting a high level access to | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1189 | core git. Porcelains expose more of a <a href="#def_SCM">SCM</a> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1190 | interface than the <a href="#def_plumbing">plumbing</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1191 | </p> | 
|  | 1192 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1193 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1194 | <a id="def_pull"></a>pull | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1195 | </dt> | 
|  | 1196 | <dd> | 
|  | 1197 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1198 | Pulling a <a href="#def_branch">branch</a> means to <a href="#def_fetch">fetch</a> it and | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1199 | <a href="#def_merge">merge</a> it. See also <a href="git-pull.html">git-pull(1)</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1200 | </p> | 
|  | 1201 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1202 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1203 | <a id="def_push"></a>push | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1204 | </dt> | 
|  | 1205 | <dd> | 
|  | 1206 | <p> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1207 | Pushing a <a href="#def_branch">branch</a> means to get the branch’s | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1208 | <a href="#def_head_ref">head ref</a> from a remote <a href="#def_repository">repository</a>, | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1209 | find out if it is a direct ancestor to the branch’s local | 
| Junio C Hamano | 764a667 | 2007-10-23 01:23:31 | [diff] [blame] | 1210 | head ref, and in that case, putting all | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1211 | objects, which are <a href="#def_reachable">reachable</a> from the local | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1212 | head ref, and which are missing from the remote | 
|  | 1213 | repository, into the remote | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1214 | <a href="#def_object_database">object database</a>, and updating the remote | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1215 | head ref. If the remote <a href="#def_head">head</a> is not an | 
|  | 1216 | ancestor to the local head, the push fails. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1217 | </p> | 
|  | 1218 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1219 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1220 | <a id="def_reachable"></a>reachable | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1221 | </dt> | 
|  | 1222 | <dd> | 
|  | 1223 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1224 | All of the ancestors of a given <a href="#def_commit">commit</a> are said to be | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1225 | "reachable" from that commit. More | 
|  | 1226 | generally, one <a href="#def_object">object</a> is reachable from | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1227 | another if we can reach the one from the other by a <a href="#def_chain">chain</a> | 
|  | 1228 | that follows <a href="#def_tag">tags</a> to whatever they tag, | 
|  | 1229 | <a href="#def_commit_object">commits</a> to their parents or trees, and | 
|  | 1230 | <a href="#def_tree_object">trees</a> to the trees or <a href="#def_blob_object">blobs</a> | 
|  | 1231 | that they contain. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1232 | </p> | 
|  | 1233 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1234 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1235 | <a id="def_rebase"></a>rebase | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1236 | </dt> | 
|  | 1237 | <dd> | 
|  | 1238 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1239 | To reapply a series of changes from a <a href="#def_branch">branch</a> to a | 
|  | 1240 | different base, and reset the <a href="#def_head">head</a> of that branch | 
|  | 1241 | to the result. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1242 | </p> | 
|  | 1243 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1244 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1245 | <a id="def_ref"></a>ref | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1246 | </dt> | 
|  | 1247 | <dd> | 
|  | 1248 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1249 | A 40-byte hex representation of a <a href="#def_SHA1">SHA1</a> or a name that | 
| Junio C Hamano | 360e3a1 | 2011-07-13 23:51:56 | [diff] [blame] | 1250 | denotes a particular <a href="#def_object">object</a>. They may be stored in | 
|  | 1251 | a file under <tt>$GIT_DIR/refs/</tt> directory, or | 
|  | 1252 | in the <tt>$GIT_DIR/packed-refs</tt> file. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1253 | </p> | 
|  | 1254 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1255 | <dt class="hdlist1"> | 
| Junio C Hamano | bb0f404 | 2007-07-04 06:41:40 | [diff] [blame] | 1256 | <a id="def_reflog"></a>reflog | 
|  | 1257 | </dt> | 
|  | 1258 | <dd> | 
|  | 1259 | <p> | 
|  | 1260 | A reflog shows the local "history" of a ref. In other words, | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1261 | it can tell you what the 3rd last revision in <em>this</em> repository | 
|  | 1262 | was, and what was the current state in <em>this</em> repository, | 
| Junio C Hamano | bb0f404 | 2007-07-04 06:41:40 | [diff] [blame] | 1263 | yesterday 9:14pm. See <a href="git-reflog.html">git-reflog(1)</a> for details. | 
|  | 1264 | </p> | 
|  | 1265 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1266 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1267 | <a id="def_refspec"></a>refspec | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 1268 | </dt> | 
|  | 1269 | <dd> | 
|  | 1270 | <p> | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 1271 | A "refspec" is used by <a href="#def_fetch">fetch</a> and | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1272 | <a href="#def_push">push</a> to describe the mapping between remote | 
|  | 1273 | <a href="#def_ref">ref</a> and local ref. They are combined with a colon in | 
|  | 1274 | the format <src>:<dst>, preceded by an optional plus sign, +. | 
|  | 1275 | For example: <tt>git fetch $URL | 
|  | 1276 | refs/heads/master:refs/heads/origin</tt> means "grab the master | 
|  | 1277 | <a href="#def_branch">branch</a> <a href="#def_head">head</a> from the $URL and store | 
|  | 1278 | it as my origin branch head". And <tt>git push | 
|  | 1279 | $URL refs/heads/master:refs/heads/to-upstream</tt> means "publish my | 
|  | 1280 | master branch head as to-upstream branch at $URL". See also | 
| Junio C Hamano | 764a667 | 2007-10-23 01:23:31 | [diff] [blame] | 1281 | <a href="git-push.html">git-push(1)</a>. | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 1282 | </p> | 
|  | 1283 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1284 | <dt class="hdlist1"> | 
|  | 1285 | <a id="def_remote_tracking_branch"></a>remote-tracking branch | 
|  | 1286 | </dt> | 
|  | 1287 | <dd> | 
|  | 1288 | <p> | 
|  | 1289 | A regular git <a href="#def_branch">branch</a> that is used to follow changes from | 
|  | 1290 | another <a href="#def_repository">repository</a>. A remote-tracking | 
|  | 1291 | branch should not contain direct modifications or have local commits | 
|  | 1292 | made to it. A remote-tracking branch can usually be | 
|  | 1293 | identified as the right-hand-side <a href="#def_ref">ref</a> in a Pull: | 
|  | 1294 | <a href="#def_refspec">refspec</a>. | 
|  | 1295 | </p> | 
|  | 1296 | </dd> | 
|  | 1297 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1298 | <a id="def_repository"></a>repository | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1299 | </dt> | 
|  | 1300 | <dd> | 
|  | 1301 | <p> | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 1302 | A collection of <a href="#def_ref">refs</a> together with an | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1303 | <a href="#def_object_database">object database</a> containing all objects | 
|  | 1304 | which are <a href="#def_reachable">reachable</a> from the refs, possibly | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 1305 | accompanied by meta data from one or more <a href="#def_porcelain">porcelains</a>. A | 
|  | 1306 | repository can share an object database with other repositories | 
|  | 1307 | via <a href="#def_alternate_object_database">alternates mechanism</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1308 | </p> | 
|  | 1309 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1310 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1311 | <a id="def_resolve"></a>resolve | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1312 | </dt> | 
|  | 1313 | <dd> | 
|  | 1314 | <p> | 
|  | 1315 | The action of fixing up manually what a failed automatic | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1316 | <a href="#def_merge">merge</a> left behind. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1317 | </p> | 
|  | 1318 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1319 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1320 | <a id="def_revision"></a>revision | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1321 | </dt> | 
|  | 1322 | <dd> | 
|  | 1323 | <p> | 
|  | 1324 | A particular state of files and directories which was stored in the | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1325 | <a href="#def_object_database">object database</a>. It is referenced by a | 
|  | 1326 | <a href="#def_commit_object">commit object</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1327 | </p> | 
|  | 1328 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1329 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1330 | <a id="def_rewind"></a>rewind | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1331 | </dt> | 
|  | 1332 | <dd> | 
|  | 1333 | <p> | 
|  | 1334 | To throw away part of the development, i.e. to assign the | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1335 | <a href="#def_head">head</a> to an earlier <a href="#def_revision">revision</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1336 | </p> | 
|  | 1337 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1338 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1339 | <a id="def_SCM"></a>SCM | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1340 | </dt> | 
|  | 1341 | <dd> | 
|  | 1342 | <p> | 
|  | 1343 | Source code management (tool). | 
|  | 1344 | </p> | 
|  | 1345 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1346 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1347 | <a id="def_SHA1"></a>SHA1 | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1348 | </dt> | 
|  | 1349 | <dd> | 
|  | 1350 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1351 | Synonym for <a href="#def_object_name">object name</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1352 | </p> | 
|  | 1353 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1354 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1355 | <a id="def_shallow_repository"></a>shallow repository | 
| Junio C Hamano | 4f9a605 | 2007-01-17 20:25:16 | [diff] [blame] | 1356 | </dt> | 
|  | 1357 | <dd> | 
|  | 1358 | <p> | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 1359 | A shallow <a href="#def_repository">repository</a> has an incomplete | 
|  | 1360 | history some of whose <a href="#def_commit">commits</a> have <a href="#def_parent">parents</a> cauterized away (in other | 
| Junio C Hamano | 4f9a605 | 2007-01-17 20:25:16 | [diff] [blame] | 1361 | words, git is told to pretend that these commits do not have the | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1362 | parents, even though they are recorded in the <a href="#def_commit_object">commit object</a>). This is sometimes useful when you are interested only in the | 
| Junio C Hamano | 4f9a605 | 2007-01-17 20:25:16 | [diff] [blame] | 1363 | recent history of a project even though the real history recorded in the | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1364 | upstream is much larger. A shallow repository | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 1365 | is created by giving the <tt>--depth</tt> option to <a href="git-clone.html">git-clone(1)</a>, and | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1366 | its history can be later deepened with <a href="git-fetch.html">git-fetch(1)</a>. | 
| Junio C Hamano | 4f9a605 | 2007-01-17 20:25:16 | [diff] [blame] | 1367 | </p> | 
|  | 1368 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1369 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1370 | <a id="def_symref"></a>symref | 
| Junio C Hamano | 3a97102 | 2006-11-18 22:17:58 | [diff] [blame] | 1371 | </dt> | 
|  | 1372 | <dd> | 
|  | 1373 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1374 | Symbolic reference: instead of containing the <a href="#def_SHA1">SHA1</a> | 
|  | 1375 | id itself, it is of the format <em>ref: refs/some/thing</em> and when | 
|  | 1376 | referenced, it recursively dereferences to this reference. | 
|  | 1377 | <em><a href="#def_HEAD">HEAD</a></em> is a prime example of a symref. Symbolic | 
|  | 1378 | references are manipulated with the <a href="git-symbolic-ref.html">git-symbolic-ref(1)</a> | 
|  | 1379 | command. | 
| Junio C Hamano | 3a97102 | 2006-11-18 22:17:58 | [diff] [blame] | 1380 | </p> | 
|  | 1381 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1382 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1383 | <a id="def_tag"></a>tag | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1384 | </dt> | 
|  | 1385 | <dd> | 
|  | 1386 | <p> | 
| Junio C Hamano | 360e3a1 | 2011-07-13 23:51:56 | [diff] [blame] | 1387 | A <a href="#def_ref">ref</a> under <tt>refs/tags/</tt> namespace that points to an | 
|  | 1388 | object of an arbitrary type (typically a tag points to either a | 
|  | 1389 | <a href="#def_tag_object">tag</a> or a <a href="#def_commit_object">commit object</a>). | 
|  | 1390 | In contrast to a <a href="#def_head">head</a>, a tag is not updated by | 
|  | 1391 | the <tt>commit</tt> command. A git tag has nothing to do with a Lisp | 
|  | 1392 | tag (which would be called an <a href="#def_object_type">object type</a> | 
|  | 1393 | in git’s context). A tag is most typically used to mark a particular | 
|  | 1394 | point in the commit ancestry <a href="#def_chain">chain</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1395 | </p> | 
|  | 1396 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1397 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1398 | <a id="def_tag_object"></a>tag object | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1399 | </dt> | 
|  | 1400 | <dd> | 
|  | 1401 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1402 | An <a href="#def_object">object</a> containing a <a href="#def_ref">ref</a> pointing to | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1403 | another object, which can contain a message just like a | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1404 | <a href="#def_commit_object">commit object</a>. It can also contain a (PGP) | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 1405 | signature, in which case it is called a "signed tag object". | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1406 | </p> | 
|  | 1407 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1408 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1409 | <a id="def_topic_branch"></a>topic branch | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 1410 | </dt> | 
|  | 1411 | <dd> | 
|  | 1412 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1413 | A regular git <a href="#def_branch">branch</a> that is used by a developer to | 
| Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 1414 | identify a conceptual line of development. Since branches are very easy | 
|  | 1415 | and inexpensive, it is often desirable to have several small branches | 
|  | 1416 | that each contain very well defined concepts or small incremental yet | 
|  | 1417 | related changes. | 
|  | 1418 | </p> | 
|  | 1419 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1420 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1421 | <a id="def_tree"></a>tree | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1422 | </dt> | 
|  | 1423 | <dd> | 
|  | 1424 | <p> | 
| Junio C Hamano | 3646098 | 2007-05-27 04:29:12 | [diff] [blame] | 1425 | Either a <a href="#def_working_tree">working tree</a>, or a <a href="#def_tree_object">tree object</a> together with the dependent <a href="#def_blob_object">blob</a> and tree objects | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1426 | (i.e. a stored representation of a working tree). | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1427 | </p> | 
|  | 1428 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1429 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1430 | <a id="def_tree_object"></a>tree object | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1431 | </dt> | 
|  | 1432 | <dd> | 
|  | 1433 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1434 | An <a href="#def_object">object</a> containing a list of file names and modes along | 
|  | 1435 | with refs to the associated blob and/or tree objects. A | 
|  | 1436 | <a href="#def_tree">tree</a> is equivalent to a <a href="#def_directory">directory</a>. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1437 | </p> | 
|  | 1438 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1439 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1440 | <a id="def_tree-ish"></a>tree-ish | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1441 | </dt> | 
|  | 1442 | <dd> | 
|  | 1443 | <p> | 
| Junio C Hamano | 75485c8 | 2007-05-19 04:20:33 | [diff] [blame] | 1444 | A <a href="#def_ref">ref</a> pointing to either a <a href="#def_commit_object">commit object</a>, a <a href="#def_tree_object">tree object</a>, or a <a href="#def_tag_object">tag object</a> pointing to a tag or commit or tree object. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1445 | </p> | 
|  | 1446 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1447 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1448 | <a id="def_unmerged_index"></a>unmerged index | 
| Junio C Hamano | 21c0b42 | 2006-10-12 19:10:36 | [diff] [blame] | 1449 | </dt> | 
|  | 1450 | <dd> | 
|  | 1451 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1452 | An <a href="#def_index">index</a> which contains unmerged | 
|  | 1453 | <a href="#def_index_entry">index entries</a>. | 
| Junio C Hamano | 21c0b42 | 2006-10-12 19:10:36 | [diff] [blame] | 1454 | </p> | 
|  | 1455 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1456 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1457 | <a id="def_unreachable_object"></a>unreachable object | 
| Junio C Hamano | aa83a7d | 2007-03-05 02:37:29 | [diff] [blame] | 1458 | </dt> | 
|  | 1459 | <dd> | 
|  | 1460 | <p> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1461 | An <a href="#def_object">object</a> which is not <a href="#def_reachable">reachable</a> from a | 
|  | 1462 | <a href="#def_branch">branch</a>, <a href="#def_tag">tag</a>, or any other reference. | 
| Junio C Hamano | aa83a7d | 2007-03-05 02:37:29 | [diff] [blame] | 1463 | </p> | 
|  | 1464 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1465 | <dt class="hdlist1"> | 
| Junio C Hamano | 98e32c3 | 2009-04-13 02:39:53 | [diff] [blame] | 1466 | <a id="def_upstream_branch"></a>upstream branch | 
|  | 1467 | </dt> | 
|  | 1468 | <dd> | 
|  | 1469 | <p> | 
|  | 1470 | The default <a href="#def_branch">branch</a> that is merged into the branch in | 
|  | 1471 | question (or the branch in question is rebased onto). It is configured | 
|  | 1472 | via branch.<name>.remote and branch.<name>.merge. If the upstream branch | 
|  | 1473 | of <em>A</em> is <em>origin/B</em> sometimes we say "<em>A</em> is tracking <em>origin/B</em>". | 
|  | 1474 | </p> | 
|  | 1475 | </dd> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1476 | <dt class="hdlist1"> | 
| Junio C Hamano | 3d5b41f | 2007-03-26 02:33:41 | [diff] [blame] | 1477 | <a id="def_working_tree"></a>working tree | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1478 | </dt> | 
|  | 1479 | <dd> | 
|  | 1480 | <p> | 
| Junio C Hamano | c0e55e7 | 2009-10-10 00:56:29 | [diff] [blame] | 1481 | The tree of actual checked out files. The working tree normally | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1482 | contains the contents of the <a href="#def_HEAD">HEAD</a> commit’s tree, | 
| Junio C Hamano | c0e55e7 | 2009-10-10 00:56:29 | [diff] [blame] | 1483 | plus any local changes that you have made but not yet committed. | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1484 | </p> | 
|  | 1485 | </dd> | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 1486 | </dl></div> | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1487 | </div> | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 1488 | <h2 id="_see_also">SEE ALSO</h2> | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 1489 | <div class="sectionbody"> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1490 | <div class="paragraph"><p><a href="gittutorial.html">gittutorial(7)</a>, | 
| Junio C Hamano | d3452a0 | 2008-11-15 08:07:55 | [diff] [blame] | 1491 | <a href="gittutorial-2.html">gittutorial-2(7)</a>, | 
|  | 1492 | <a href="gitcvs-migration.html">gitcvs-migration(7)</a>, | 
|  | 1493 | <a href="everyday.html">Everyday git</a>, | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1494 | <a href="user-manual.html">The Git User’s Manual</a></p></div> | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 1495 | </div> | 
| Junio C Hamano | d32738e | 2008-07-09 19:53:42 | [diff] [blame] | 1496 | <h2 id="_git">GIT</h2> | 
| Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 1497 | <div class="sectionbody"> | 
| Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 1498 | <div class="paragraph"><p>Part of the <a href="git.html">git(1)</a> suite.</p></div> | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1499 | </div> | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 1500 | </div> | 
|  | 1501 | <div id="footnotes"><hr /></div> | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1502 | <div id="footer"> | 
|  | 1503 | <div id="footer-text"> | 
| Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame^] | 1504 | Last updated 2011-09-21 23:01:14 PDT | 
| Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1505 | </div> | 
|  | 1506 | </div> | 
|  | 1507 | </body> | 
|  | 1508 | </html> |