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 | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 7 | <title>git-clone(1)</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 | ba4b928 | 2008-07-06 05:20:31 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | ba4b928 | 2008-07-06 05:20:31 | [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 | ba4b928 | 2008-07-06 05:20:31 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | ba4b928 | 2008-07-06 05:20:31 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 182 | |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [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 | ba4b928 | 2008-07-06 05:20:31 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | ba4b928 | 2008-07-06 05:20:31 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 291 | div.hdlist tr { |
| 292 | padding-bottom: 15px; |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 293 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 301 | color: navy; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 302 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | ba4b928 | 2008-07-06 05:20:31 | [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 | ba4b928 | 2008-07-06 05:20:31 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | 68cf15a | 2010-11-06 01:01:59 | [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 | ba4b928 | 2008-07-06 05:20:31 | [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"> |
| 572 | <h1> |
| 573 | git-clone(1) Manual Page |
| 574 | </h1> |
| 575 | <h2>NAME</h2> |
| 576 | <div class="sectionbody"> |
| 577 | <p>git-clone - |
Junio C Hamano | 4ec0671 | 2007-06-09 20:39:33 | [diff] [blame] | 578 | Clone a repository into a new directory |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 579 | </p> |
| 580 | </div> |
| 581 | </div> |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 582 | <div id="content"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 583 | <h2 id="_synopsis">SYNOPSIS</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 584 | <div class="sectionbody"> |
Junio C Hamano | 235a91e | 2006-01-07 01:13:58 | [diff] [blame] | 585 | <div class="verseblock"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 586 | <div class="verseblock-content"><em>git clone</em> [--template=<template_directory>] |
Junio C Hamano | af1987f | 2008-08-03 07:58:19 | [diff] [blame] | 587 | [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror] |
Junio C Hamano | 2bd8a74 | 2009-12-01 21:16:59 | [diff] [blame] | 588 | [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>] |
Junio C Hamano | f93530e | 2011-05-25 23:59:59 | [diff] [blame] | 589 | [--separate-git-dir <git dir>] |
Junio C Hamano | b5be052 | 2012-01-29 22:20:19 | [diff] [blame^] | 590 | [--depth <depth>] [--[no-]single-branch] |
| 591 | [--recursive|--recurse-submodules] [--] <repository> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 592 | [<directory>]</div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 593 | <div class="verseblock-attribution"> |
| 594 | </div></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 595 | </div> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 596 | <h2 id="_description">DESCRIPTION</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 597 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 598 | <div class="paragraph"><p>Clones a repository into a newly created directory, creates |
Junio C Hamano | 5102d9a | 2006-12-08 07:23:46 | [diff] [blame] | 599 | remote-tracking branches for each branch in the cloned repository |
Junio C Hamano | c0e55e7 | 2009-10-10 00:56:29 | [diff] [blame] | 600 | (visible using <tt>git branch -r</tt>), and creates and checks out an |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 601 | initial branch that is forked from the cloned repository’s |
Junio C Hamano | c0e55e7 | 2009-10-10 00:56:29 | [diff] [blame] | 602 | currently active branch.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 603 | <div class="paragraph"><p>After the clone, a plain <tt>git fetch</tt> without arguments will update |
Junio C Hamano | 5102d9a | 2006-12-08 07:23:46 | [diff] [blame] | 604 | all the remote-tracking branches, and a <tt>git pull</tt> without |
| 605 | arguments will in addition merge the remote master branch into the |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 606 | current master branch, if any.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 607 | <div class="paragraph"><p>This default configuration is achieved by creating references to |
Junio C Hamano | 4fdccb2 | 2010-02-19 09:58:14 | [diff] [blame] | 608 | the remote branch heads under <tt>refs/remotes/origin</tt> and |
Junio C Hamano | 5102d9a | 2006-12-08 07:23:46 | [diff] [blame] | 609 | by initializing <tt>remote.origin.url</tt> and <tt>remote.origin.fetch</tt> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 610 | configuration variables.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 611 | </div> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 612 | <h2 id="_options">OPTIONS</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 613 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 614 | <div class="dlist"><dl> |
| 615 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 616 | --local |
| 617 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 618 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 619 | -l |
| 620 | </dt> |
| 621 | <dd> |
| 622 | <p> |
| 623 | When the repository to clone from is on a local machine, |
Junio C Hamano | 621e123 | 2009-10-26 05:16:47 | [diff] [blame] | 624 | this flag bypasses the normal "git aware" transport |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 625 | mechanism and clones the repository by making a copy of |
| 626 | HEAD and everything under objects and refs directories. |
Junio C Hamano | b1d6e88 | 2007-08-11 08:30:16 | [diff] [blame] | 627 | The files under <tt>.git/objects/</tt> directory are hardlinked |
| 628 | to save space when possible. This is now the default when |
| 629 | the source repository is specified with <tt>/path/to/repo</tt> |
| 630 | syntax, so it essentially is a no-op option. To force |
| 631 | copying instead of hardlinking (which may be desirable |
| 632 | if you are trying to make a back-up of your repository), |
| 633 | but still avoid the usual "git aware" transport |
| 634 | mechanism, <tt>--no-hardlinks</tt> can be used. |
| 635 | </p> |
| 636 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 637 | <dt class="hdlist1"> |
Junio C Hamano | b1d6e88 | 2007-08-11 08:30:16 | [diff] [blame] | 638 | --no-hardlinks |
| 639 | </dt> |
| 640 | <dd> |
| 641 | <p> |
| 642 | Optimize the cloning process from a repository on a |
| 643 | local filesystem by copying files under <tt>.git/objects</tt> |
| 644 | directory. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 645 | </p> |
| 646 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 647 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 648 | --shared |
| 649 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 650 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 651 | -s |
| 652 | </dt> |
| 653 | <dd> |
| 654 | <p> |
| 655 | When the repository to clone is on the local machine, |
| 656 | instead of using hard links, automatically setup |
Junio C Hamano | 621e123 | 2009-10-26 05:16:47 | [diff] [blame] | 657 | <tt>.git/objects/info/alternates</tt> to share the objects |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 658 | with the source repository. The resulting repository |
| 659 | starts out without any object of its own. |
| 660 | </p> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 661 | <div class="paragraph"><p><strong>NOTE</strong>: this is a possibly dangerous operation; do <strong>not</strong> use |
Junio C Hamano | efe3c63 | 2008-02-14 00:51:31 | [diff] [blame] | 662 | it unless you understand what it does. If you clone your |
Junio C Hamano | a9aee78 | 2008-04-23 16:09:20 | [diff] [blame] | 663 | repository using this option and then delete branches (or use any |
| 664 | other git command that makes any existing commit unreferenced) in the |
| 665 | source repository, some objects may become unreferenced (or dangling). |
Junio C Hamano | 621e123 | 2009-10-26 05:16:47 | [diff] [blame] | 666 | These objects may be removed by normal git operations (such as <tt>git commit</tt>) |
Junio C Hamano | fce7c7e | 2008-07-02 03:06:38 | [diff] [blame] | 667 | which automatically call <tt>git gc --auto</tt>. (See <a href="git-gc.html">git-gc(1)</a>.) |
| 668 | If these objects are removed and were referenced by the cloned repository, |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 669 | then the cloned repository will become corrupt.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 670 | <div class="paragraph"><p>Note that running <tt>git repack</tt> without the <tt>-l</tt> option in a repository |
Junio C Hamano | b937692 | 2009-08-19 00:09:13 | [diff] [blame] | 671 | cloned with <tt>-s</tt> will copy objects from the source repository into a pack |
| 672 | in the cloned repository, removing the disk space savings of <tt>clone -s</tt>. |
| 673 | It is safe, however, to run <tt>git gc</tt>, which uses the <tt>-l</tt> option by |
| 674 | default.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 675 | <div class="paragraph"><p>If you want to break the dependency of a repository cloned with <tt>-s</tt> on |
Junio C Hamano | b937692 | 2009-08-19 00:09:13 | [diff] [blame] | 676 | its source repository, you can simply run <tt>git repack -a</tt> to copy all |
| 677 | objects from the source repository into a pack in the cloned repository.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 678 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 679 | <dt class="hdlist1"> |
Junio C Hamano | f50bfec | 2006-04-19 09:44:12 | [diff] [blame] | 680 | --reference <repository> |
| 681 | </dt> |
| 682 | <dd> |
| 683 | <p> |
Junio C Hamano | 35b47ca | 2009-09-03 18:11:54 | [diff] [blame] | 684 | If the reference repository is on the local machine, |
Junio C Hamano | 621e123 | 2009-10-26 05:16:47 | [diff] [blame] | 685 | automatically setup <tt>.git/objects/info/alternates</tt> to |
Junio C Hamano | f50bfec | 2006-04-19 09:44:12 | [diff] [blame] | 686 | obtain objects from the reference repository. Using |
| 687 | an already existing repository as an alternate will |
Junio C Hamano | 250f03e | 2007-09-10 01:33:28 | [diff] [blame] | 688 | require fewer objects to be copied from the repository |
Junio C Hamano | f50bfec | 2006-04-19 09:44:12 | [diff] [blame] | 689 | being cloned, reducing network and local storage costs. |
| 690 | </p> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 691 | <div class="paragraph"><p><strong>NOTE</strong>: see the NOTE for the <tt>--shared</tt> option.</p></div> |
Junio C Hamano | f50bfec | 2006-04-19 09:44:12 | [diff] [blame] | 692 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 693 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 694 | --quiet |
| 695 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 696 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 697 | -q |
| 698 | </dt> |
| 699 | <dd> |
| 700 | <p> |
Junio C Hamano | 6ce6b6c | 2010-01-18 01:25:50 | [diff] [blame] | 701 | Operate quietly. Progress is not reported to the standard |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 702 | error stream. This flag is also passed to the ‘rsync’ |
Junio C Hamano | 3db8b41 | 2008-07-26 06:45:59 | [diff] [blame] | 703 | command when given. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 704 | </p> |
| 705 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 706 | <dt class="hdlist1"> |
Junio C Hamano | 7d06a8a | 2008-10-20 05:42:33 | [diff] [blame] | 707 | --verbose |
| 708 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 709 | <dt class="hdlist1"> |
Junio C Hamano | 7d06a8a | 2008-10-20 05:42:33 | [diff] [blame] | 710 | -v |
| 711 | </dt> |
| 712 | <dd> |
| 713 | <p> |
Junio C Hamano | ea90ab3 | 2010-03-15 20:32:55 | [diff] [blame] | 714 | Run verbosely. Does not affect the reporting of progress status |
| 715 | to the standard error stream. |
Junio C Hamano | 6ce6b6c | 2010-01-18 01:25:50 | [diff] [blame] | 716 | </p> |
| 717 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 718 | <dt class="hdlist1"> |
Junio C Hamano | 6ce6b6c | 2010-01-18 01:25:50 | [diff] [blame] | 719 | --progress |
| 720 | </dt> |
| 721 | <dd> |
| 722 | <p> |
| 723 | Progress status is reported on the standard error stream |
| 724 | by default when it is attached to a terminal, unless -q |
| 725 | is specified. This flag forces progress status even if the |
| 726 | standard error stream is not directed to a terminal. |
Junio C Hamano | 7d06a8a | 2008-10-20 05:42:33 | [diff] [blame] | 727 | </p> |
| 728 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 729 | <dt class="hdlist1"> |
Junio C Hamano | 1e6e006 | 2007-07-13 05:33:25 | [diff] [blame] | 730 | --no-checkout |
| 731 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 732 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 733 | -n |
| 734 | </dt> |
| 735 | <dd> |
| 736 | <p> |
| 737 | No checkout of HEAD is performed after the clone is complete. |
| 738 | </p> |
| 739 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 740 | <dt class="hdlist1"> |
Junio C Hamano | e663a7a | 2006-01-25 12:37:28 | [diff] [blame] | 741 | --bare |
Junio C Hamano | 38064d5 | 2006-01-15 10:13:49 | [diff] [blame] | 742 | </dt> |
| 743 | <dd> |
| 744 | <p> |
Junio C Hamano | e663a7a | 2006-01-25 12:37:28 | [diff] [blame] | 745 | Make a <em>bare</em> GIT repository. That is, instead of |
Junio C Hamano | 38064d5 | 2006-01-15 10:13:49 | [diff] [blame] | 746 | creating <tt><directory></tt> and placing the administrative |
| 747 | files in <tt><directory>/.git</tt>, make the <tt><directory></tt> |
Junio C Hamano | 9f292e7 | 2006-11-24 11:37:29 | [diff] [blame] | 748 | itself the <tt>$GIT_DIR</tt>. This obviously implies the <tt>-n</tt> |
| 749 | because there is nowhere to check out the working tree. |
| 750 | Also the branch heads at the remote are copied directly |
| 751 | to corresponding local branch heads, without mapping |
| 752 | them to <tt>refs/remotes/origin/</tt>. When this option is |
Junio C Hamano | d3361ad | 2007-01-01 03:20:24 | [diff] [blame] | 753 | used, neither remote-tracking branches nor the related |
| 754 | configuration variables are created. |
Junio C Hamano | 38064d5 | 2006-01-15 10:13:49 | [diff] [blame] | 755 | </p> |
| 756 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 757 | <dt class="hdlist1"> |
Junio C Hamano | af1987f | 2008-08-03 07:58:19 | [diff] [blame] | 758 | --mirror |
| 759 | </dt> |
| 760 | <dd> |
| 761 | <p> |
Junio C Hamano | 657fd8a | 2010-10-07 00:01:24 | [diff] [blame] | 762 | Set up a mirror of the source repository. This implies <tt>--bare</tt>. |
| 763 | Compared to <tt>--bare</tt>, <tt>--mirror</tt> not only maps local branches of the |
| 764 | source to local branches of the target, it maps all refs (including |
Junio C Hamano | 97bcb48 | 2010-11-25 03:16:07 | [diff] [blame] | 765 | remote-tracking branches, notes etc.) and sets up a refspec configuration such |
Junio C Hamano | 657fd8a | 2010-10-07 00:01:24 | [diff] [blame] | 766 | that all these refs are overwritten by a <tt>git remote update</tt> in the |
| 767 | target repository. |
Junio C Hamano | af1987f | 2008-08-03 07:58:19 | [diff] [blame] | 768 | </p> |
| 769 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 770 | <dt class="hdlist1"> |
Junio C Hamano | dcc22ee | 2006-11-03 02:40:13 | [diff] [blame] | 771 | --origin <name> |
| 772 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 773 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 774 | -o <name> |
| 775 | </dt> |
| 776 | <dd> |
| 777 | <p> |
Junio C Hamano | 621e123 | 2009-10-26 05:16:47 | [diff] [blame] | 778 | Instead of using the remote name <tt>origin</tt> to keep track |
| 779 | of the upstream repository, use <tt><name></tt>. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 780 | </p> |
| 781 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 782 | <dt class="hdlist1"> |
Junio C Hamano | c28068f | 2009-09-08 00:55:23 | [diff] [blame] | 783 | --branch <name> |
| 784 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 785 | <dt class="hdlist1"> |
Junio C Hamano | c28068f | 2009-09-08 00:55:23 | [diff] [blame] | 786 | -b <name> |
| 787 | </dt> |
| 788 | <dd> |
| 789 | <p> |
| 790 | Instead of pointing the newly created HEAD to the branch pointed |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 791 | to by the cloned repository’s HEAD, point to <tt><name></tt> branch |
Junio C Hamano | c28068f | 2009-09-08 00:55:23 | [diff] [blame] | 792 | instead. In a non-bare repository, this is the branch that will |
| 793 | be checked out. |
| 794 | </p> |
| 795 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 796 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 797 | --upload-pack <upload-pack> |
| 798 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 799 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 800 | -u <upload-pack> |
| 801 | </dt> |
| 802 | <dd> |
| 803 | <p> |
Junio C Hamano | 3db8b41 | 2008-07-26 06:45:59 | [diff] [blame] | 804 | When given, and the repository to clone from is accessed |
| 805 | via ssh, this specifies a non-default path for the command |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 806 | run on the other end. |
| 807 | </p> |
| 808 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 809 | <dt class="hdlist1"> |
Junio C Hamano | f31d9f5 | 2006-05-28 20:58:09 | [diff] [blame] | 810 | --template=<template_directory> |
| 811 | </dt> |
| 812 | <dd> |
| 813 | <p> |
| 814 | Specify the directory from which templates will be used; |
Junio C Hamano | caa712a | 2010-03-11 01:17:35 | [diff] [blame] | 815 | (See the "TEMPLATE DIRECTORY" section of <a href="git-init.html">git-init(1)</a>.) |
Junio C Hamano | f31d9f5 | 2006-05-28 20:58:09 | [diff] [blame] | 816 | </p> |
| 817 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 818 | <dt class="hdlist1"> |
Junio C Hamano | 708376e | 2011-07-19 20:02:13 | [diff] [blame] | 819 | --config <key>=<value> |
| 820 | </dt> |
| 821 | <dt class="hdlist1"> |
| 822 | -c <key>=<value> |
| 823 | </dt> |
| 824 | <dd> |
| 825 | <p> |
| 826 | Set a configuration variable in the newly-created repository; |
| 827 | this takes effect immediately after the repository is |
| 828 | initialized, but before the remote history is fetched or any |
| 829 | files checked out. The key is in the same format as expected by |
| 830 | <a href="git-config.html">git-config(1)</a> (e.g., <tt>core.eol=true</tt>). If multiple |
| 831 | values are given for the same key, each value will be written to |
| 832 | the config file. This makes it safe, for example, to add |
| 833 | additional fetch refspecs to the origin remote. |
| 834 | </p> |
| 835 | </dd> |
| 836 | <dt class="hdlist1"> |
Junio C Hamano | 0bbd467 | 2007-02-20 04:52:14 | [diff] [blame] | 837 | --depth <depth> |
Junio C Hamano | b288d9e | 2007-01-02 00:04:15 | [diff] [blame] | 838 | </dt> |
| 839 | <dd> |
| 840 | <p> |
| 841 | Create a <em>shallow</em> clone with a history truncated to the |
Junio C Hamano | 1c70883 | 2007-11-02 02:47:50 | [diff] [blame] | 842 | specified number of revisions. A shallow repository has a |
Junio C Hamano | b288d9e | 2007-01-02 00:04:15 | [diff] [blame] | 843 | number of limitations (you cannot clone or fetch from |
| 844 | it, nor push from nor into it), but is adequate if you |
Junio C Hamano | 1c70883 | 2007-11-02 02:47:50 | [diff] [blame] | 845 | are only interested in the recent history of a large project |
| 846 | with a long history, and would want to send in fixes |
Junio C Hamano | b288d9e | 2007-01-02 00:04:15 | [diff] [blame] | 847 | as patches. |
| 848 | </p> |
| 849 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 850 | <dt class="hdlist1"> |
Junio C Hamano | b5be052 | 2012-01-29 22:20:19 | [diff] [blame^] | 851 | --single-branch |
| 852 | </dt> |
| 853 | <dd> |
| 854 | <p> |
| 855 | Clone only the history leading to the tip of a single branch, |
| 856 | either specified by the <tt>--branch</tt> option or the primary |
| 857 | branch remote’s <tt>HEAD</tt> points at. When creating a shallow |
| 858 | clone with the <tt>--depth</tt> option, this is the default, unless |
| 859 | <tt>--no-single-branch</tt> is given to fetch the histories near the |
| 860 | tips of all branches. |
| 861 | </p> |
| 862 | </dd> |
| 863 | <dt class="hdlist1"> |
Junio C Hamano | 0e066b9 | 2009-08-28 01:08:41 | [diff] [blame] | 864 | --recursive |
| 865 | </dt> |
Junio C Hamano | ed69a74 | 2010-12-01 03:09:23 | [diff] [blame] | 866 | <dt class="hdlist1"> |
| 867 | --recurse-submodules |
| 868 | </dt> |
Junio C Hamano | 0e066b9 | 2009-08-28 01:08:41 | [diff] [blame] | 869 | <dd> |
| 870 | <p> |
| 871 | After the clone is created, initialize all submodules within, |
| 872 | using their default settings. This is equivalent to running |
Junio C Hamano | 621e123 | 2009-10-26 05:16:47 | [diff] [blame] | 873 | <tt>git submodule update --init --recursive</tt> immediately after |
Junio C Hamano | 0e066b9 | 2009-08-28 01:08:41 | [diff] [blame] | 874 | the clone is finished. This option is ignored if the cloned |
| 875 | repository does not have a worktree/checkout (i.e. if any of |
| 876 | <tt>--no-checkout</tt>/<tt>-n</tt>, <tt>--bare</tt>, or <tt>--mirror</tt> is given) |
| 877 | </p> |
| 878 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 879 | <dt class="hdlist1"> |
Junio C Hamano | a03ac86 | 2011-04-02 04:32:29 | [diff] [blame] | 880 | --separate-git-dir=<git dir> |
| 881 | </dt> |
| 882 | <dd> |
| 883 | <p> |
| 884 | Instead of placing the cloned repository where it is supposed |
| 885 | to be, place the cloned repository at the specified directory, |
| 886 | then make a filesytem-agnostic git symbolic link to there. |
| 887 | The result is git repository can be separated from working |
| 888 | tree. |
| 889 | </p> |
| 890 | </dd> |
| 891 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 892 | <repository> |
| 893 | </dt> |
| 894 | <dd> |
| 895 | <p> |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 896 | The (possibly remote) repository to clone from. See the |
| 897 | <a href="#URLS">URLS</a> section below for more information on specifying |
| 898 | repositories. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 899 | </p> |
| 900 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 901 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 902 | <directory> |
| 903 | </dt> |
| 904 | <dd> |
| 905 | <p> |
| 906 | The name of a new directory to clone into. The "humanish" |
| 907 | part of the source repository is used if no directory is |
Junio C Hamano | 621e123 | 2009-10-26 05:16:47 | [diff] [blame] | 908 | explicitly given (<tt>repo</tt> for <tt>/path/to/repo.git</tt> and <tt>foo</tt> |
| 909 | for <tt>host.xz:foo/.git</tt>). Cloning into an existing directory |
Junio C Hamano | 89bdb3b | 2009-05-10 06:48:14 | [diff] [blame] | 910 | is only allowed if the directory is empty. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 911 | </p> |
| 912 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 913 | </dl></div> |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [diff] [blame] | 914 | </div> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 915 | <h2 id="_git_urls_a_id_urls_a">GIT URLS<a id="URLS"></a></h2> |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 916 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 917 | <div class="paragraph"><p>In general, URLs contain information about the transport protocol, the |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 918 | address of the remote server, and the path to the repository. |
| 919 | Depending on the transport protocol, some of this information may be |
| 920 | absent.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 921 | <div class="paragraph"><p>Git natively supports ssh, git, http, https, ftp, ftps, and rsync |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 922 | protocols. The following syntaxes may be used with them:</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 923 | <div class="ulist"><ul> |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 924 | <li> |
| 925 | <p> |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 926 | ssh://[user@]host.xz[:port]/path/to/repo.git/ |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 927 | </p> |
| 928 | </li> |
| 929 | <li> |
| 930 | <p> |
Junio C Hamano | a3bb6eb | 2009-02-05 01:26:33 | [diff] [blame] | 931 | git://host.xz[:port]/path/to/repo.git/ |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 932 | </p> |
| 933 | </li> |
| 934 | <li> |
| 935 | <p> |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 936 | http[s]://host.xz[:port]/path/to/repo.git/ |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 937 | </p> |
| 938 | </li> |
| 939 | <li> |
| 940 | <p> |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 941 | ftp[s]://host.xz[:port]/path/to/repo.git/ |
Junio C Hamano | dbb6459 | 2007-09-01 11:17:39 | [diff] [blame] | 942 | </p> |
| 943 | </li> |
| 944 | <li> |
| 945 | <p> |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 946 | rsync://host.xz/path/to/repo.git/ |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 947 | </p> |
| 948 | </li> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 949 | </ul></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 950 | <div class="paragraph"><p>An alternative scp-like syntax may also be used with the ssh protocol:</p></div> |
| 951 | <div class="ulist"><ul> |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 952 | <li> |
| 953 | <p> |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 954 | [user@]host.xz:path/to/repo.git/ |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 955 | </p> |
| 956 | </li> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 957 | </ul></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 958 | <div class="paragraph"><p>The ssh and git protocols additionally support ~username expansion:</p></div> |
| 959 | <div class="ulist"><ul> |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 960 | <li> |
| 961 | <p> |
| 962 | ssh://[user@]host.xz[:port]/~[user]/path/to/repo.git/ |
| 963 | </p> |
| 964 | </li> |
| 965 | <li> |
| 966 | <p> |
| 967 | git://host.xz[:port]/~[user]/path/to/repo.git/ |
| 968 | </p> |
| 969 | </li> |
| 970 | <li> |
| 971 | <p> |
| 972 | [user@]host.xz:/~[user]/path/to/repo.git/ |
| 973 | </p> |
| 974 | </li> |
| 975 | </ul></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 976 | <div class="paragraph"><p>For local repositories, also supported by git natively, the following |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 977 | syntaxes may be used:</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 978 | <div class="ulist"><ul> |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 979 | <li> |
| 980 | <p> |
| 981 | /path/to/repo.git/ |
| 982 | </p> |
| 983 | </li> |
Junio C Hamano | b1d6e88 | 2007-08-11 08:30:16 | [diff] [blame] | 984 | <li> |
| 985 | <p> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 986 | <a href="file:///path/to/repo.git/">file:///path/to/repo.git/</a> |
Junio C Hamano | b1d6e88 | 2007-08-11 08:30:16 | [diff] [blame] | 987 | </p> |
| 988 | </li> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 989 | </ul></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 990 | <div class="paragraph"><p>These two syntaxes are mostly equivalent, except the former implies |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 991 | --local option.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 992 | <div class="paragraph"><p>When git doesn’t know how to handle a certain transport protocol, it |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 993 | attempts to use the <em>remote-<transport></em> remote helper, if one |
| 994 | exists. To explicitly request a remote helper, the following syntax |
| 995 | may be used:</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 996 | <div class="ulist"><ul> |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 997 | <li> |
| 998 | <p> |
| 999 | <transport>::<address> |
| 1000 | </p> |
| 1001 | </li> |
| 1002 | </ul></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1003 | <div class="paragraph"><p>where <address> may be a path, a server and path, or an arbitrary |
Junio C Hamano | 0c053e8 | 2010-04-19 06:46:34 | [diff] [blame] | 1004 | URL-like string recognized by the specific remote helper being |
| 1005 | invoked. See <a href="git-remote-helpers.html">git-remote-helpers(1)</a> for details.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1006 | <div class="paragraph"><p>If there are a large number of similarly-named remote repositories and |
Junio C Hamano | 24bc09a | 2008-02-28 00:27:44 | [diff] [blame] | 1007 | you want to use a different format for them (such that the URLs you |
| 1008 | use will be rewritten into URLs that work), you can create a |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1009 | configuration section of the form:</p></div> |
Junio C Hamano | 24bc09a | 2008-02-28 00:27:44 | [diff] [blame] | 1010 | <div class="listingblock"> |
| 1011 | <div class="content"> |
| 1012 | <pre><tt> [url "<actual url base>"] |
| 1013 | insteadOf = <other url base></tt></pre> |
| 1014 | </div></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1015 | <div class="paragraph"><p>For example, with this:</p></div> |
Junio C Hamano | 24bc09a | 2008-02-28 00:27:44 | [diff] [blame] | 1016 | <div class="listingblock"> |
| 1017 | <div class="content"> |
| 1018 | <pre><tt> [url "git://git.host.xz/"] |
| 1019 | insteadOf = host.xz:/path/to/ |
| 1020 | insteadOf = work:</tt></pre> |
| 1021 | </div></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1022 | <div class="paragraph"><p>a URL like "work:repo.git" or like "host.xz:/path/to/repo.git" will be |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1023 | rewritten in any context that takes a URL to be "git://git.host.xz/repo.git".</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1024 | <div class="paragraph"><p>If you want to rewrite URLs for push only, you can create a |
Junio C Hamano | 7df6dcf | 2009-09-13 09:51:17 | [diff] [blame] | 1025 | configuration section of the form:</p></div> |
| 1026 | <div class="listingblock"> |
| 1027 | <div class="content"> |
| 1028 | <pre><tt> [url "<actual url base>"] |
| 1029 | pushInsteadOf = <other url base></tt></pre> |
| 1030 | </div></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1031 | <div class="paragraph"><p>For example, with this:</p></div> |
Junio C Hamano | 7df6dcf | 2009-09-13 09:51:17 | [diff] [blame] | 1032 | <div class="listingblock"> |
| 1033 | <div class="content"> |
| 1034 | <pre><tt> [url "ssh://example.org/"] |
| 1035 | pushInsteadOf = git://example.org/</tt></pre> |
| 1036 | </div></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1037 | <div class="paragraph"><p>a URL like "git://example.org/path/to/repo.git" will be rewritten to |
Junio C Hamano | 7df6dcf | 2009-09-13 09:51:17 | [diff] [blame] | 1038 | "ssh://example.org/path/to/repo.git" for pushes, but pulls will still |
| 1039 | use the original URL.</p></div> |
Junio C Hamano | 330aae6 | 2007-07-06 17:01:58 | [diff] [blame] | 1040 | </div> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1041 | <h2 id="_examples">Examples</h2> |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [diff] [blame] | 1042 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1043 | <div class="ulist"><ul> |
Junio C Hamano | 9ccf664 | 2010-03-22 01:47:35 | [diff] [blame] | 1044 | <li> |
| 1045 | <p> |
| 1046 | Clone from upstream: |
| 1047 | </p> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1048 | <div class="listingblock"> |
| 1049 | <div class="content"> |
| 1050 | <pre><tt>$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6 |
| 1051 | $ cd my2.6 |
| 1052 | $ make</tt></pre> |
| 1053 | </div></div> |
Junio C Hamano | 9ccf664 | 2010-03-22 01:47:35 | [diff] [blame] | 1054 | </li> |
| 1055 | <li> |
| 1056 | <p> |
| 1057 | Make a local clone that borrows from the current directory, without checking things out: |
| 1058 | </p> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1059 | <div class="listingblock"> |
| 1060 | <div class="content"> |
| 1061 | <pre><tt>$ git clone -l -s -n . ../copy |
Junio C Hamano | 8638c92 | 2007-05-12 20:50:08 | [diff] [blame] | 1062 | $ cd ../copy |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1063 | $ git show-branch</tt></pre> |
| 1064 | </div></div> |
Junio C Hamano | 9ccf664 | 2010-03-22 01:47:35 | [diff] [blame] | 1065 | </li> |
| 1066 | <li> |
| 1067 | <p> |
| 1068 | Clone from upstream while borrowing from an existing local directory: |
| 1069 | </p> |
Junio C Hamano | f50bfec | 2006-04-19 09:44:12 | [diff] [blame] | 1070 | <div class="listingblock"> |
| 1071 | <div class="content"> |
| 1072 | <pre><tt>$ git clone --reference my2.6 \ |
| 1073 | git://git.kernel.org/pub/scm/.../linux-2.7 \ |
| 1074 | my2.7 |
| 1075 | $ cd my2.7</tt></pre> |
| 1076 | </div></div> |
Junio C Hamano | 9ccf664 | 2010-03-22 01:47:35 | [diff] [blame] | 1077 | </li> |
| 1078 | <li> |
| 1079 | <p> |
| 1080 | Create a bare repository to publish your changes to the public: |
| 1081 | </p> |
Junio C Hamano | 38064d5 | 2006-01-15 10:13:49 | [diff] [blame] | 1082 | <div class="listingblock"> |
| 1083 | <div class="content"> |
Junio C Hamano | e663a7a | 2006-01-25 12:37:28 | [diff] [blame] | 1084 | <pre><tt>$ git clone --bare -l /home/proj/.git /pub/scm/proj.git</tt></pre> |
Junio C Hamano | 38064d5 | 2006-01-15 10:13:49 | [diff] [blame] | 1085 | </div></div> |
Junio C Hamano | 9ccf664 | 2010-03-22 01:47:35 | [diff] [blame] | 1086 | </li> |
| 1087 | <li> |
| 1088 | <p> |
| 1089 | Create a repository on the kernel.org machine that borrows from Linus: |
| 1090 | </p> |
Junio C Hamano | 38064d5 | 2006-01-15 10:13:49 | [diff] [blame] | 1091 | <div class="listingblock"> |
| 1092 | <div class="content"> |
Junio C Hamano | e663a7a | 2006-01-25 12:37:28 | [diff] [blame] | 1093 | <pre><tt>$ git clone --bare -l -s /pub/scm/.../torvalds/linux-2.6.git \ |
Junio C Hamano | 38064d5 | 2006-01-15 10:13:49 | [diff] [blame] | 1094 | /pub/scm/.../me/subsys-2.6.git</tt></pre> |
| 1095 | </div></div> |
Junio C Hamano | 9ccf664 | 2010-03-22 01:47:35 | [diff] [blame] | 1096 | </li> |
| 1097 | </ul></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1098 | </div> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1099 | <h2 id="_git">GIT</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1100 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1101 | <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] | 1102 | </div> |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 1103 | </div> |
| 1104 | <div id="footnotes"><hr /></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1105 | <div id="footer"> |
| 1106 | <div id="footer-text"> |
Junio C Hamano | b5be052 | 2012-01-29 22:20:19 | [diff] [blame^] | 1107 | Last updated 2012-01-29 14:19:30 PDT |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1108 | </div> |
| 1109 | </div> |
| 1110 | </body> |
| 1111 | </html> |