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> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 5 | <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" /> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 6 | <meta name="generator" content="AsciiDoc 8.6.9" /> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 7 | <title>git(1)</title> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 8 | <style type="text/css"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 9 | /* Shared CSS for AsciiDoc xhtml11 and html5 backends */ |
| 10 | |
| 11 | /* Default font. */ |
| 12 | body { |
| 13 | font-family: Georgia,serif; |
| 14 | } |
| 15 | |
| 16 | /* Title font. */ |
| 17 | h1, h2, h3, h4, h5, h6, |
| 18 | div.title, caption.title, |
| 19 | thead, p.table.header, |
| 20 | #toctitle, |
| 21 | #author, #revnumber, #revdate, #revremark, |
| 22 | #footer { |
| 23 | font-family: Arial,Helvetica,sans-serif; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | body { |
| 27 | margin: 1em 5% 1em 5%; |
| 28 | } |
| 29 | |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 30 | a { |
| 31 | color: blue; |
| 32 | text-decoration: underline; |
| 33 | } |
| 34 | a:visited { |
| 35 | color: fuchsia; |
| 36 | } |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 37 | |
| 38 | em { |
| 39 | font-style: italic; |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 40 | color: navy; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 41 | } |
| 42 | |
| 43 | strong { |
| 44 | font-weight: bold; |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 45 | color: #083194; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 46 | } |
| 47 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 48 | h1, h2, h3, h4, h5, h6 { |
| 49 | color: #527bbd; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 50 | margin-top: 1.2em; |
| 51 | margin-bottom: 0.5em; |
| 52 | line-height: 1.3; |
| 53 | } |
| 54 | |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 55 | h1, h2, h3 { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 56 | border-bottom: 2px solid silver; |
| 57 | } |
| 58 | h2 { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 59 | padding-top: 0.5em; |
| 60 | } |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 61 | h3 { |
| 62 | float: left; |
| 63 | } |
| 64 | h3 + * { |
| 65 | clear: left; |
| 66 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 67 | h5 { |
| 68 | font-size: 1.0em; |
| 69 | } |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 70 | |
| 71 | div.sectionbody { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 72 | margin-left: 0; |
| 73 | } |
| 74 | |
| 75 | hr { |
| 76 | border: 1px solid silver; |
| 77 | } |
| 78 | |
| 79 | p { |
| 80 | margin-top: 0.5em; |
| 81 | margin-bottom: 0.5em; |
| 82 | } |
| 83 | |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 84 | ul, ol, li > p { |
| 85 | margin-top: 0; |
| 86 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 87 | ul > li { color: #aaa; } |
| 88 | ul > li > * { color: black; } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 89 | |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 90 | .monospaced, code, pre { |
| 91 | font-family: "Courier New", Courier, monospace; |
| 92 | font-size: inherit; |
| 93 | color: navy; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 94 | padding: 0; |
| 95 | margin: 0; |
| 96 | } |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 97 | pre { |
| 98 | white-space: pre-wrap; |
| 99 | } |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 100 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 101 | #author { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 102 | color: #527bbd; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 103 | font-weight: bold; |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 104 | font-size: 1.1em; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 105 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 106 | #email { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 107 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 108 | #revnumber, #revdate, #revremark { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 109 | } |
| 110 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 111 | #footer { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 112 | font-size: small; |
| 113 | border-top: 2px solid silver; |
| 114 | padding-top: 0.5em; |
| 115 | margin-top: 4.0em; |
| 116 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 117 | #footer-text { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 118 | float: left; |
| 119 | padding-bottom: 0.5em; |
| 120 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 121 | #footer-badges { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 122 | float: right; |
| 123 | padding-bottom: 0.5em; |
| 124 | } |
| 125 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 126 | #preamble { |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 127 | margin-top: 1.5em; |
| 128 | margin-bottom: 1.5em; |
| 129 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 130 | div.imageblock, div.exampleblock, div.verseblock, |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 131 | div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock, |
| 132 | div.admonitionblock { |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 133 | margin-top: 1.0em; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 134 | margin-bottom: 1.5em; |
| 135 | } |
| 136 | div.admonitionblock { |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 137 | margin-top: 2.0em; |
| 138 | margin-bottom: 2.0em; |
| 139 | margin-right: 10%; |
| 140 | color: #606060; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 141 | } |
| 142 | |
| 143 | div.content { /* Block element content. */ |
| 144 | padding: 0; |
| 145 | } |
| 146 | |
| 147 | /* Block element titles. */ |
| 148 | div.title, caption.title { |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 149 | color: #527bbd; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 150 | font-weight: bold; |
| 151 | text-align: left; |
| 152 | margin-top: 1.0em; |
| 153 | margin-bottom: 0.5em; |
| 154 | } |
| 155 | div.title + * { |
| 156 | margin-top: 0; |
| 157 | } |
| 158 | |
| 159 | td div.title:first-child { |
| 160 | margin-top: 0.0em; |
| 161 | } |
| 162 | div.content div.title:first-child { |
| 163 | margin-top: 0.0em; |
| 164 | } |
| 165 | div.content + div.title { |
| 166 | margin-top: 0.0em; |
| 167 | } |
| 168 | |
| 169 | div.sidebarblock > div.content { |
| 170 | background: #ffffee; |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 171 | border: 1px solid #dddddd; |
| 172 | border-left: 4px solid #f0f0f0; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 173 | padding: 0.5em; |
| 174 | } |
| 175 | |
| 176 | div.listingblock > div.content { |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 177 | border: 1px solid #dddddd; |
| 178 | border-left: 5px solid #f0f0f0; |
| 179 | background: #f8f8f8; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 180 | padding: 0.5em; |
| 181 | } |
| 182 | |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 183 | div.quoteblock, div.verseblock { |
| 184 | padding-left: 1.0em; |
| 185 | margin-left: 1.0em; |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 186 | margin-right: 10%; |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 187 | border-left: 5px solid #f0f0f0; |
| 188 | color: #888; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 189 | } |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 190 | |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 191 | div.quoteblock > div.attribution { |
| 192 | padding-top: 0.5em; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 193 | text-align: right; |
| 194 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 195 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 196 | div.verseblock > pre.content { |
| 197 | font-family: inherit; |
| 198 | font-size: inherit; |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 199 | } |
| 200 | div.verseblock > div.attribution { |
| 201 | padding-top: 0.75em; |
| 202 | text-align: left; |
| 203 | } |
| 204 | /* DEPRECATED: Pre version 8.2.7 verse style literal block. */ |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 205 | div.verseblock + div.attribution { |
| 206 | text-align: left; |
| 207 | } |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 208 | |
| 209 | div.admonitionblock .icon { |
| 210 | vertical-align: top; |
| 211 | font-size: 1.1em; |
| 212 | font-weight: bold; |
| 213 | text-decoration: underline; |
| 214 | color: #527bbd; |
| 215 | padding-right: 0.5em; |
| 216 | } |
| 217 | div.admonitionblock td.content { |
| 218 | padding-left: 0.5em; |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 219 | border-left: 3px solid #dddddd; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 220 | } |
| 221 | |
| 222 | div.exampleblock > div.content { |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 223 | border-left: 3px solid #dddddd; |
| 224 | padding-left: 0.5em; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 225 | } |
| 226 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 227 | div.imageblock div.content { padding-left: 0; } |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 228 | span.image img { border-style: none; vertical-align: text-bottom; } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 229 | a.image:visited { color: white; } |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 230 | |
| 231 | dl { |
| 232 | margin-top: 0.8em; |
| 233 | margin-bottom: 0.8em; |
| 234 | } |
| 235 | dt { |
| 236 | margin-top: 0.5em; |
| 237 | margin-bottom: 0; |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 238 | font-style: normal; |
| 239 | color: navy; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 240 | } |
| 241 | dd > *:first-child { |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 242 | margin-top: 0.1em; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 243 | } |
| 244 | |
| 245 | ul, ol { |
| 246 | list-style-position: outside; |
| 247 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 248 | ol.arabic { |
| 249 | list-style-type: decimal; |
| 250 | } |
| 251 | ol.loweralpha { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 252 | list-style-type: lower-alpha; |
| 253 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 254 | ol.upperalpha { |
| 255 | list-style-type: upper-alpha; |
| 256 | } |
| 257 | ol.lowerroman { |
| 258 | list-style-type: lower-roman; |
| 259 | } |
| 260 | ol.upperroman { |
| 261 | list-style-type: upper-roman; |
| 262 | } |
| 263 | |
| 264 | div.compact ul, div.compact ol, |
| 265 | div.compact p, div.compact p, |
| 266 | div.compact div, div.compact div { |
| 267 | margin-top: 0.1em; |
| 268 | margin-bottom: 0.1em; |
| 269 | } |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 270 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 271 | tfoot { |
| 272 | font-weight: bold; |
| 273 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 274 | td > div.verse { |
| 275 | white-space: pre; |
| 276 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 277 | |
| 278 | div.hdlist { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 279 | margin-top: 0.8em; |
| 280 | margin-bottom: 0.8em; |
| 281 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 282 | div.hdlist tr { |
| 283 | padding-bottom: 15px; |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 284 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 285 | dt.hdlist1.strong, td.hdlist1.strong { |
| 286 | font-weight: bold; |
| 287 | } |
| 288 | td.hdlist1 { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 289 | vertical-align: top; |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 290 | font-style: normal; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 291 | padding-right: 0.8em; |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 292 | color: navy; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 293 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 294 | td.hdlist2 { |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 295 | vertical-align: top; |
| 296 | } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 297 | div.hdlist.compact tr { |
| 298 | margin: 0; |
| 299 | padding-bottom: 0; |
| 300 | } |
| 301 | |
| 302 | .comment { |
| 303 | background: yellow; |
| 304 | } |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 305 | |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 306 | .footnote, .footnoteref { |
| 307 | font-size: 0.8em; |
| 308 | } |
| 309 | |
| 310 | span.footnote, span.footnoteref { |
| 311 | vertical-align: super; |
| 312 | } |
| 313 | |
| 314 | #footnotes { |
| 315 | margin: 20px 0 20px 0; |
| 316 | padding: 7px 0 0 0; |
| 317 | } |
| 318 | |
| 319 | #footnotes div.footnote { |
| 320 | margin: 0 0 5px 0; |
| 321 | } |
| 322 | |
| 323 | #footnotes hr { |
| 324 | border: none; |
| 325 | border-top: 1px solid silver; |
| 326 | height: 1px; |
| 327 | text-align: left; |
| 328 | margin-left: 0; |
| 329 | width: 20%; |
| 330 | min-width: 100px; |
| 331 | } |
| 332 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 333 | div.colist td { |
| 334 | padding-right: 0.5em; |
| 335 | padding-bottom: 0.3em; |
| 336 | vertical-align: top; |
| 337 | } |
| 338 | div.colist td img { |
| 339 | margin-top: 0.3em; |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 340 | } |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 341 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 342 | @media print { |
| 343 | #footer-badges { display: none; } |
| 344 | } |
| 345 | |
| 346 | #toc { |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 347 | margin-bottom: 2.5em; |
| 348 | } |
| 349 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 350 | #toctitle { |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 351 | color: #527bbd; |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 352 | font-size: 1.1em; |
| 353 | font-weight: bold; |
| 354 | margin-top: 1.0em; |
| 355 | margin-bottom: 0.1em; |
| 356 | } |
| 357 | |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 358 | div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 { |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 359 | margin-top: 0; |
| 360 | margin-bottom: 0; |
| 361 | } |
| 362 | div.toclevel2 { |
| 363 | margin-left: 2em; |
| 364 | font-size: 0.9em; |
| 365 | } |
| 366 | div.toclevel3 { |
| 367 | margin-left: 4em; |
| 368 | font-size: 0.9em; |
| 369 | } |
| 370 | div.toclevel4 { |
| 371 | margin-left: 6em; |
| 372 | font-size: 0.9em; |
| 373 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 374 | |
| 375 | span.aqua { color: aqua; } |
| 376 | span.black { color: black; } |
| 377 | span.blue { color: blue; } |
| 378 | span.fuchsia { color: fuchsia; } |
| 379 | span.gray { color: gray; } |
| 380 | span.green { color: green; } |
| 381 | span.lime { color: lime; } |
| 382 | span.maroon { color: maroon; } |
| 383 | span.navy { color: navy; } |
| 384 | span.olive { color: olive; } |
| 385 | span.purple { color: purple; } |
| 386 | span.red { color: red; } |
| 387 | span.silver { color: silver; } |
| 388 | span.teal { color: teal; } |
| 389 | span.white { color: white; } |
| 390 | span.yellow { color: yellow; } |
| 391 | |
| 392 | span.aqua-background { background: aqua; } |
| 393 | span.black-background { background: black; } |
| 394 | span.blue-background { background: blue; } |
| 395 | span.fuchsia-background { background: fuchsia; } |
| 396 | span.gray-background { background: gray; } |
| 397 | span.green-background { background: green; } |
| 398 | span.lime-background { background: lime; } |
| 399 | span.maroon-background { background: maroon; } |
| 400 | span.navy-background { background: navy; } |
| 401 | span.olive-background { background: olive; } |
| 402 | span.purple-background { background: purple; } |
| 403 | span.red-background { background: red; } |
| 404 | span.silver-background { background: silver; } |
| 405 | span.teal-background { background: teal; } |
| 406 | span.white-background { background: white; } |
| 407 | span.yellow-background { background: yellow; } |
| 408 | |
| 409 | span.big { font-size: 2em; } |
| 410 | span.small { font-size: 0.6em; } |
| 411 | |
| 412 | span.underline { text-decoration: underline; } |
| 413 | span.overline { text-decoration: overline; } |
| 414 | span.line-through { text-decoration: line-through; } |
| 415 | |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 416 | div.unbreakable { page-break-inside: avoid; } |
| 417 | |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 418 | |
| 419 | /* |
| 420 | * xhtml11 specific |
| 421 | * |
| 422 | * */ |
| 423 | |
| 424 | div.tableblock { |
| 425 | margin-top: 1.0em; |
| 426 | margin-bottom: 1.5em; |
| 427 | } |
| 428 | div.tableblock > table { |
| 429 | border: 3px solid #527bbd; |
| 430 | } |
| 431 | thead, p.table.header { |
| 432 | font-weight: bold; |
| 433 | color: #527bbd; |
| 434 | } |
| 435 | p.table { |
| 436 | margin-top: 0; |
| 437 | } |
| 438 | /* Because the table frame attribute is overriden by CSS in most browsers. */ |
| 439 | div.tableblock > table[frame="void"] { |
| 440 | border-style: none; |
| 441 | } |
| 442 | div.tableblock > table[frame="hsides"] { |
| 443 | border-left-style: none; |
| 444 | border-right-style: none; |
| 445 | } |
| 446 | div.tableblock > table[frame="vsides"] { |
| 447 | border-top-style: none; |
| 448 | border-bottom-style: none; |
| 449 | } |
| 450 | |
| 451 | |
| 452 | /* |
| 453 | * html5 specific |
| 454 | * |
| 455 | * */ |
| 456 | |
| 457 | table.tableblock { |
| 458 | margin-top: 1.0em; |
| 459 | margin-bottom: 1.5em; |
| 460 | } |
| 461 | thead, p.tableblock.header { |
| 462 | font-weight: bold; |
| 463 | color: #527bbd; |
| 464 | } |
| 465 | p.tableblock { |
| 466 | margin-top: 0; |
| 467 | } |
| 468 | table.tableblock { |
| 469 | border-width: 3px; |
| 470 | border-spacing: 0px; |
| 471 | border-style: solid; |
| 472 | border-color: #527bbd; |
| 473 | border-collapse: collapse; |
| 474 | } |
| 475 | th.tableblock, td.tableblock { |
| 476 | border-width: 1px; |
| 477 | padding: 4px; |
| 478 | border-style: solid; |
| 479 | border-color: #527bbd; |
| 480 | } |
| 481 | |
| 482 | table.tableblock.frame-topbot { |
| 483 | border-left-style: hidden; |
| 484 | border-right-style: hidden; |
| 485 | } |
| 486 | table.tableblock.frame-sides { |
| 487 | border-top-style: hidden; |
| 488 | border-bottom-style: hidden; |
| 489 | } |
| 490 | table.tableblock.frame-none { |
| 491 | border-style: hidden; |
| 492 | } |
| 493 | |
| 494 | th.tableblock.halign-left, td.tableblock.halign-left { |
| 495 | text-align: left; |
| 496 | } |
| 497 | th.tableblock.halign-center, td.tableblock.halign-center { |
| 498 | text-align: center; |
| 499 | } |
| 500 | th.tableblock.halign-right, td.tableblock.halign-right { |
| 501 | text-align: right; |
| 502 | } |
| 503 | |
| 504 | th.tableblock.valign-top, td.tableblock.valign-top { |
| 505 | vertical-align: top; |
| 506 | } |
| 507 | th.tableblock.valign-middle, td.tableblock.valign-middle { |
| 508 | vertical-align: middle; |
| 509 | } |
| 510 | th.tableblock.valign-bottom, td.tableblock.valign-bottom { |
| 511 | vertical-align: bottom; |
| 512 | } |
| 513 | |
| 514 | |
| 515 | /* |
| 516 | * manpage specific |
| 517 | * |
| 518 | * */ |
| 519 | |
| 520 | body.manpage h1 { |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 521 | padding-top: 0.5em; |
| 522 | padding-bottom: 0.5em; |
| 523 | border-top: 2px solid silver; |
| 524 | border-bottom: 2px solid silver; |
| 525 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 526 | body.manpage h2 { |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 527 | border-style: none; |
| 528 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 529 | body.manpage div.sectionbody { |
| 530 | margin-left: 3em; |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 531 | } |
| 532 | |
| 533 | @media print { |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 534 | body.manpage div#toc { display: none; } |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 535 | } |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 536 | |
| 537 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 538 | </style> |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 539 | <script type="text/javascript"> |
| 540 | /*<![CDATA[*/ |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 541 | var asciidoc = { // Namespace. |
| 542 | |
| 543 | ///////////////////////////////////////////////////////////////////// |
| 544 | // Table Of Contents generator |
| 545 | ///////////////////////////////////////////////////////////////////// |
| 546 | |
| 547 | /* Author: Mihai Bazon, September 2002 |
| 548 | * http://students.infoiasi.ro/~mishoo |
| 549 | * |
| 550 | * Table Of Content generator |
| 551 | * Version: 0.4 |
| 552 | * |
| 553 | * Feel free to use this script under the terms of the GNU General Public |
| 554 | * License, as long as you do not remove or alter this notice. |
| 555 | */ |
| 556 | |
| 557 | /* modified by Troy D. Hanson, September 2006. License: GPL */ |
| 558 | /* modified by Stuart Rackham, 2006, 2009. License: GPL */ |
| 559 | |
| 560 | // toclevels = 1..4. |
| 561 | toc: function (toclevels) { |
| 562 | |
| 563 | function getText(el) { |
| 564 | var text = ""; |
| 565 | for (var i = el.firstChild; i != null; i = i.nextSibling) { |
| 566 | if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants. |
| 567 | text += i.data; |
| 568 | else if (i.firstChild != null) |
| 569 | text += getText(i); |
| 570 | } |
| 571 | return text; |
| 572 | } |
| 573 | |
| 574 | function TocEntry(el, text, toclevel) { |
| 575 | this.element = el; |
| 576 | this.text = text; |
| 577 | this.toclevel = toclevel; |
| 578 | } |
| 579 | |
| 580 | function tocEntries(el, toclevels) { |
| 581 | var result = new Array; |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 582 | var re = new RegExp('[hH]([1-'+(toclevels+1)+'])'); |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 583 | // Function that scans the DOM tree for header elements (the DOM2 |
| 584 | // nodeIterator API would be a better technique but not supported by all |
| 585 | // browsers). |
| 586 | var iterate = function (el) { |
| 587 | for (var i = el.firstChild; i != null; i = i.nextSibling) { |
| 588 | if (i.nodeType == 1 /* Node.ELEMENT_NODE */) { |
| 589 | var mo = re.exec(i.tagName); |
| 590 | if (mo && (i.getAttribute("class") || i.getAttribute("className")) != "float") { |
| 591 | result[result.length] = new TocEntry(i, getText(i), mo[1]-1); |
| 592 | } |
| 593 | iterate(i); |
| 594 | } |
| 595 | } |
| 596 | } |
| 597 | iterate(el); |
| 598 | return result; |
| 599 | } |
| 600 | |
| 601 | var toc = document.getElementById("toc"); |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 602 | if (!toc) { |
| 603 | return; |
| 604 | } |
| 605 | |
| 606 | // Delete existing TOC entries in case we're reloading the TOC. |
| 607 | var tocEntriesToRemove = []; |
| 608 | var i; |
| 609 | for (i = 0; i < toc.childNodes.length; i++) { |
| 610 | var entry = toc.childNodes[i]; |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 611 | if (entry.nodeName.toLowerCase() == 'div' |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 612 | && entry.getAttribute("class") |
| 613 | && entry.getAttribute("class").match(/^toclevel/)) |
| 614 | tocEntriesToRemove.push(entry); |
| 615 | } |
| 616 | for (i = 0; i < tocEntriesToRemove.length; i++) { |
| 617 | toc.removeChild(tocEntriesToRemove[i]); |
| 618 | } |
| 619 | |
| 620 | // Rebuild TOC entries. |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 621 | var entries = tocEntries(document.getElementById("content"), toclevels); |
| 622 | for (var i = 0; i < entries.length; ++i) { |
| 623 | var entry = entries[i]; |
| 624 | if (entry.element.id == "") |
| 625 | entry.element.id = "_toc_" + i; |
| 626 | var a = document.createElement("a"); |
| 627 | a.href = "#" + entry.element.id; |
| 628 | a.appendChild(document.createTextNode(entry.text)); |
| 629 | var div = document.createElement("div"); |
| 630 | div.appendChild(a); |
| 631 | div.className = "toclevel" + entry.toclevel; |
| 632 | toc.appendChild(div); |
| 633 | } |
| 634 | if (entries.length == 0) |
| 635 | toc.parentNode.removeChild(toc); |
| 636 | }, |
| 637 | |
| 638 | |
| 639 | ///////////////////////////////////////////////////////////////////// |
| 640 | // Footnotes generator |
| 641 | ///////////////////////////////////////////////////////////////////// |
| 642 | |
| 643 | /* Based on footnote generation code from: |
| 644 | * http://www.brandspankingnew.net/archive/2005/07/format_footnote.html |
| 645 | */ |
| 646 | |
| 647 | footnotes: function () { |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 648 | // Delete existing footnote entries in case we're reloading the footnodes. |
| 649 | var i; |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 650 | var noteholder = document.getElementById("footnotes"); |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 651 | if (!noteholder) { |
| 652 | return; |
| 653 | } |
| 654 | var entriesToRemove = []; |
| 655 | for (i = 0; i < noteholder.childNodes.length; i++) { |
| 656 | var entry = noteholder.childNodes[i]; |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 657 | if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote") |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 658 | entriesToRemove.push(entry); |
| 659 | } |
| 660 | for (i = 0; i < entriesToRemove.length; i++) { |
| 661 | noteholder.removeChild(entriesToRemove[i]); |
| 662 | } |
| 663 | |
| 664 | // Rebuild footnote entries. |
| 665 | var cont = document.getElementById("content"); |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 666 | var spans = cont.getElementsByTagName("span"); |
| 667 | var refs = {}; |
| 668 | var n = 0; |
| 669 | for (i=0; i<spans.length; i++) { |
| 670 | if (spans[i].className == "footnote") { |
| 671 | n++; |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 672 | var note = spans[i].getAttribute("data-note"); |
| 673 | if (!note) { |
| 674 | // Use [\s\S] in place of . so multi-line matches work. |
| 675 | // Because JavaScript has no s (dotall) regex flag. |
| 676 | note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1]; |
| 677 | spans[i].innerHTML = |
| 678 | "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n + |
| 679 | "' title='View footnote' class='footnote'>" + n + "</a>]"; |
| 680 | spans[i].setAttribute("data-note", note); |
| 681 | } |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 682 | noteholder.innerHTML += |
| 683 | "<div class='footnote' id='_footnote_" + n + "'>" + |
| 684 | "<a href='#_footnoteref_" + n + "' title='Return to text'>" + |
| 685 | n + "</a>. " + note + "</div>"; |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 686 | var id =spans[i].getAttribute("id"); |
| 687 | if (id != null) refs["#"+id] = n; |
| 688 | } |
| 689 | } |
| 690 | if (n == 0) |
| 691 | noteholder.parentNode.removeChild(noteholder); |
| 692 | else { |
| 693 | // Process footnoterefs. |
| 694 | for (i=0; i<spans.length; i++) { |
| 695 | if (spans[i].className == "footnoteref") { |
| 696 | var href = spans[i].getElementsByTagName("a")[0].getAttribute("href"); |
| 697 | href = href.match(/#.*/)[0]; // Because IE return full URL. |
| 698 | n = refs[href]; |
| 699 | spans[i].innerHTML = |
| 700 | "[<a href='#_footnote_" + n + |
| 701 | "' title='View footnote' class='footnote'>" + n + "</a>]"; |
| 702 | } |
| 703 | } |
| 704 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 705 | }, |
| 706 | |
| 707 | install: function(toclevels) { |
| 708 | var timerId; |
| 709 | |
| 710 | function reinstall() { |
| 711 | asciidoc.footnotes(); |
| 712 | if (toclevels) { |
| 713 | asciidoc.toc(toclevels); |
| 714 | } |
| 715 | } |
| 716 | |
| 717 | function reinstallAndRemoveTimer() { |
| 718 | clearInterval(timerId); |
| 719 | reinstall(); |
| 720 | } |
| 721 | |
| 722 | timerId = setInterval(reinstall, 500); |
| 723 | if (document.addEventListener) |
| 724 | document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false); |
| 725 | else |
| 726 | window.onload = reinstallAndRemoveTimer; |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 727 | } |
| 728 | |
| 729 | } |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 730 | asciidoc.install(); |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 731 | /*]]>*/ |
| 732 | </script> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 733 | </head> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 734 | <body class="manpage"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 735 | <div id="header"> |
| 736 | <h1> |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 737 | git(1) Manual Page |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 738 | </h1> |
| 739 | <h2>NAME</h2> |
| 740 | <div class="sectionbody"> |
| 741 | <p>git - |
| 742 | the stupid content tracker |
| 743 | </p> |
| 744 | </div> |
| 745 | </div> |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 746 | <div id="content"> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 747 | <div class="sect1"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 748 | <h2 id="_synopsis">SYNOPSIS</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 749 | <div class="sectionbody"> |
Junio C Hamano | 6b2cee1 | 2006-08-26 08:43:31 | [diff] [blame] | 750 | <div class="verseblock"> |
Junio C Hamano | 79f4c7c | 2013-09-20 21:03:37 | [diff] [blame] | 751 | <pre class="content"><em>git</em> [--version] [--help] [-C <path>] [-c <name>=<value>] |
Junio C Hamano | 90ff60f | 2012-02-20 10:25:14 | [diff] [blame] | 752 | [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path] |
Junio C Hamano | f727901 | 2011-08-18 06:13:13 | [diff] [blame] | 753 | [-p|--paginate|--no-pager] [--no-replace-objects] [--bare] |
| 754 | [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>] |
Junio C Hamano | 4a401d5 | 2016-10-26 22:24:37 | [diff] [blame^] | 755 | [--super-prefix=<path>] |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 756 | <command> [<args>]</pre> |
| 757 | <div class="attribution"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 758 | </div></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 759 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 760 | </div> |
| 761 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 762 | <h2 id="_description">DESCRIPTION</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 763 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 764 | <div class="paragraph"><p>Git is a fast, scalable, distributed revision control system with an |
Junio C Hamano | e27fb93 | 2006-04-03 05:34:10 | [diff] [blame] | 765 | unusually rich command set that provides both high-level operations |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 766 | and full access to internals.</p></div> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 767 | <div class="paragraph"><p>See <a href="gittutorial.html">gittutorial(7)</a> to get started, then see |
Junio C Hamano | 446e30b | 2014-10-16 21:30:32 | [diff] [blame] | 768 | <a href="giteveryday.html">giteveryday(7)</a> for a useful minimum set of |
Junio C Hamano | d031611 | 2012-08-22 19:55:29 | [diff] [blame] | 769 | commands. The <a href="user-manual.html">Git User’s Manual</a> has a more |
| 770 | in-depth introduction.</p></div> |
| 771 | <div class="paragraph"><p>After you mastered the basic concepts, you can come back to this |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 772 | page to learn what commands Git offers. You can learn more about |
| 773 | individual Git commands with "git help command". <a href="gitcli.html">gitcli(7)</a> |
Junio C Hamano | e1aeb5e | 2014-06-06 19:16:29 | [diff] [blame] | 774 | manual page gives you an overview of the command-line command syntax.</p></div> |
Junio C Hamano | 48931e2 | 2016-07-11 20:08:47 | [diff] [blame] | 775 | <div class="paragraph"><p>A formatted and hyperlinked copy of the latest Git documentation |
| 776 | can be viewed at <code>https://git.github.io/htmldocs/git.html</code>.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 777 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 778 | </div> |
| 779 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 780 | <h2 id="_options">OPTIONS</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 781 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 782 | <div class="dlist"><dl> |
| 783 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 784 | --version |
| 785 | </dt> |
| 786 | <dd> |
| 787 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 788 | Prints the Git suite version that the <em>git</em> program came from. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 789 | </p> |
| 790 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 791 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 792 | --help |
| 793 | </dt> |
| 794 | <dd> |
| 795 | <p> |
Junio C Hamano | 0107892 | 2006-03-10 00:31:47 | [diff] [blame] | 796 | Prints the synopsis and a list of the most commonly used |
Junio C Hamano | 92d8037 | 2016-07-13 22:00:05 | [diff] [blame] | 797 | commands. If the option <code>--all</code> or <code>-a</code> is given then all |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 798 | available commands are printed. If a Git command is named this |
Junio C Hamano | 5825687 | 2007-12-04 08:31:13 | [diff] [blame] | 799 | option will bring up the manual page for that command. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 800 | </p> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 801 | <div class="paragraph"><p>Other options are available to control how the manual page is |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 802 | displayed. See <a href="git-help.html">git-help(1)</a> for more information, |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 803 | because <code>git --help ...</code> is converted internally into <code>git |
| 804 | help ...</code>.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 805 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 806 | <dt class="hdlist1"> |
Junio C Hamano | 79f4c7c | 2013-09-20 21:03:37 | [diff] [blame] | 807 | -C <path> |
| 808 | </dt> |
| 809 | <dd> |
| 810 | <p> |
| 811 | Run as if git was started in <em><path></em> instead of the current working |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 812 | directory. When multiple <code>-C</code> options are given, each subsequent |
| 813 | non-absolute <code>-C <path></code> is interpreted relative to the preceding <code>-C |
| 814 | <path></code>. |
Junio C Hamano | 79f4c7c | 2013-09-20 21:03:37 | [diff] [blame] | 815 | </p> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 816 | <div class="paragraph"><p>This option affects options that expect path name like <code>--git-dir</code> and |
| 817 | <code>--work-tree</code> in that their interpretations of the path names would be |
| 818 | made relative to the working directory caused by the <code>-C</code> option. For |
Junio C Hamano | 79f4c7c | 2013-09-20 21:03:37 | [diff] [blame] | 819 | example the following invocations are equivalent:</p></div> |
| 820 | <div class="literalblock"> |
| 821 | <div class="content"> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 822 | <pre><code>git --git-dir=a.git --work-tree=b -C c status |
| 823 | git --git-dir=c/a.git --work-tree=c/b status</code></pre> |
Junio C Hamano | 79f4c7c | 2013-09-20 21:03:37 | [diff] [blame] | 824 | </div></div> |
| 825 | </dd> |
| 826 | <dt class="hdlist1"> |
Junio C Hamano | cc7636a | 2010-05-21 14:57:53 | [diff] [blame] | 827 | -c <name>=<value> |
| 828 | </dt> |
| 829 | <dd> |
| 830 | <p> |
| 831 | Pass a configuration parameter to the command. The value |
| 832 | given will override values from configuration files. |
| 833 | The <name> is expected in the same format as listed by |
| 834 | <em>git config</em> (subkeys separated by dots). |
| 835 | </p> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 836 | <div class="paragraph"><p>Note that omitting the <code>=</code> in <code>git -c foo.bar ...</code> is allowed and sets |
| 837 | <code>foo.bar</code> to the boolean true value (just like <code>[foo]bar</code> would in a |
| 838 | config file). Including the equals but with an empty value (like <code>git -c |
| 839 | foo.bar= ...</code>) sets <code>foo.bar</code> to the empty string.</p></div> |
Junio C Hamano | cc7636a | 2010-05-21 14:57:53 | [diff] [blame] | 840 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 841 | <dt class="hdlist1"> |
Junio C Hamano | d2179ef | 2010-10-22 04:12:17 | [diff] [blame] | 842 | --exec-path[=<path>] |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 843 | </dt> |
| 844 | <dd> |
| 845 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 846 | Path to wherever your core Git programs are installed. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 847 | This can also be controlled by setting the GIT_EXEC_PATH |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 848 | environment variable. If no path is given, <em>git</em> will print |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 849 | the current setting and then exit. |
| 850 | </p> |
| 851 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 852 | <dt class="hdlist1"> |
Junio C Hamano | b4a9ede | 2009-04-08 07:36:32 | [diff] [blame] | 853 | --html-path |
| 854 | </dt> |
| 855 | <dd> |
| 856 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 857 | Print the path, without trailing slash, where Git’s HTML |
Junio C Hamano | 5f2627d | 2011-05-06 20:23:48 | [diff] [blame] | 858 | documentation is installed and exit. |
| 859 | </p> |
| 860 | </dd> |
| 861 | <dt class="hdlist1"> |
| 862 | --man-path |
| 863 | </dt> |
| 864 | <dd> |
| 865 | <p> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 866 | Print the manpath (see <code>man(1)</code>) for the man pages for |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 867 | this version of Git and exit. |
Junio C Hamano | 5f2627d | 2011-05-06 20:23:48 | [diff] [blame] | 868 | </p> |
| 869 | </dd> |
| 870 | <dt class="hdlist1"> |
| 871 | --info-path |
| 872 | </dt> |
| 873 | <dd> |
| 874 | <p> |
| 875 | Print the path where the Info files documenting this |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 876 | version of Git are installed and exit. |
Junio C Hamano | b4a9ede | 2009-04-08 07:36:32 | [diff] [blame] | 877 | </p> |
| 878 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 879 | <dt class="hdlist1"> |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 880 | -p |
| 881 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 882 | <dt class="hdlist1"> |
Junio C Hamano | eb41599 | 2008-06-08 22:49:47 | [diff] [blame] | 883 | --paginate |
Junio C Hamano | f870ef8 | 2006-07-29 09:10:13 | [diff] [blame] | 884 | </dt> |
| 885 | <dd> |
| 886 | <p> |
Junio C Hamano | 4aa0bcc | 2010-03-03 05:13:12 | [diff] [blame] | 887 | Pipe all output into <em>less</em> (or if set, $PAGER) if standard |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 888 | output is a terminal. This overrides the <code>pager.<cmd></code> |
Junio C Hamano | 4aa0bcc | 2010-03-03 05:13:12 | [diff] [blame] | 889 | configuration options (see the "Configuration Mechanism" section |
| 890 | below). |
Junio C Hamano | f870ef8 | 2006-07-29 09:10:13 | [diff] [blame] | 891 | </p> |
| 892 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 893 | <dt class="hdlist1"> |
Junio C Hamano | cae8627 | 2007-08-21 02:20:49 | [diff] [blame] | 894 | --no-pager |
| 895 | </dt> |
| 896 | <dd> |
| 897 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 898 | Do not pipe Git output into a pager. |
Junio C Hamano | cae8627 | 2007-08-21 02:20:49 | [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 | f870ef8 | 2006-07-29 09:10:13 | [diff] [blame] | 902 | --git-dir=<path> |
| 903 | </dt> |
| 904 | <dd> |
| 905 | <p> |
| 906 | Set the path to the repository. This can also be controlled by |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 907 | setting the <code>GIT_DIR</code> environment variable. It can be an absolute |
Junio C Hamano | 7d575a5 | 2008-04-30 08:45:27 | [diff] [blame] | 908 | path or relative path to current working directory. |
Junio C Hamano | f870ef8 | 2006-07-29 09:10:13 | [diff] [blame] | 909 | </p> |
| 910 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 911 | <dt class="hdlist1"> |
Junio C Hamano | d526ba9 | 2007-07-02 00:17:42 | [diff] [blame] | 912 | --work-tree=<path> |
| 913 | </dt> |
| 914 | <dd> |
| 915 | <p> |
Junio C Hamano | 80d5846 | 2011-01-24 22:52:52 | [diff] [blame] | 916 | Set the path to the working tree. It can be an absolute path |
| 917 | or a path relative to the current working directory. |
Junio C Hamano | d526ba9 | 2007-07-02 00:17:42 | [diff] [blame] | 918 | This can also be controlled by setting the GIT_WORK_TREE |
| 919 | environment variable and the core.worktree configuration |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 920 | variable (see core.worktree in <a href="git-config.html">git-config(1)</a> for a |
Junio C Hamano | 80d5846 | 2011-01-24 22:52:52 | [diff] [blame] | 921 | more detailed discussion). |
Junio C Hamano | d526ba9 | 2007-07-02 00:17:42 | [diff] [blame] | 922 | </p> |
| 923 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 924 | <dt class="hdlist1"> |
Junio C Hamano | f727901 | 2011-08-18 06:13:13 | [diff] [blame] | 925 | --namespace=<path> |
| 926 | </dt> |
| 927 | <dd> |
| 928 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 929 | Set the Git namespace. See <a href="gitnamespaces.html">gitnamespaces(7)</a> for more |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 930 | details. Equivalent to setting the <code>GIT_NAMESPACE</code> environment |
Junio C Hamano | f727901 | 2011-08-18 06:13:13 | [diff] [blame] | 931 | variable. |
| 932 | </p> |
| 933 | </dd> |
| 934 | <dt class="hdlist1"> |
Junio C Hamano | 4a401d5 | 2016-10-26 22:24:37 | [diff] [blame^] | 935 | --super-prefix=<path> |
| 936 | </dt> |
| 937 | <dd> |
| 938 | <p> |
| 939 | Currently for internal use only. Set a prefix which gives a path from |
| 940 | above a repository down to its root. One use is to give submodules |
| 941 | context about the superproject that invoked it. |
| 942 | </p> |
| 943 | </dd> |
| 944 | <dt class="hdlist1"> |
Junio C Hamano | f870ef8 | 2006-07-29 09:10:13 | [diff] [blame] | 945 | --bare |
| 946 | </dt> |
| 947 | <dd> |
| 948 | <p> |
Junio C Hamano | c435b1c | 2007-08-28 06:25:35 | [diff] [blame] | 949 | Treat the repository as a bare repository. If GIT_DIR |
| 950 | environment is not set, it is set to the current working |
| 951 | directory. |
Junio C Hamano | f870ef8 | 2006-07-29 09:10:13 | [diff] [blame] | 952 | </p> |
| 953 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 954 | <dt class="hdlist1"> |
Junio C Hamano | 3d23a0a | 2009-10-19 08:04:30 | [diff] [blame] | 955 | --no-replace-objects |
| 956 | </dt> |
| 957 | <dd> |
| 958 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 959 | Do not use replacement refs to replace Git objects. See |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 960 | <a href="git-replace.html">git-replace(1)</a> for more information. |
Junio C Hamano | 3d23a0a | 2009-10-19 08:04:30 | [diff] [blame] | 961 | </p> |
| 962 | </dd> |
Junio C Hamano | abad6da | 2013-01-06 09:06:32 | [diff] [blame] | 963 | <dt class="hdlist1"> |
| 964 | --literal-pathspecs |
| 965 | </dt> |
| 966 | <dd> |
| 967 | <p> |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 968 | Treat pathspecs literally (i.e. no globbing, no pathspec magic). |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 969 | This is equivalent to setting the <code>GIT_LITERAL_PATHSPECS</code> environment |
| 970 | variable to <code>1</code>. |
Junio C Hamano | abad6da | 2013-01-06 09:06:32 | [diff] [blame] | 971 | </p> |
| 972 | </dd> |
Junio C Hamano | b9acecb | 2013-10-16 01:18:56 | [diff] [blame] | 973 | <dt class="hdlist1"> |
| 974 | --glob-pathspecs |
| 975 | </dt> |
| 976 | <dd> |
| 977 | <p> |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 978 | Add "glob" magic to all pathspec. This is equivalent to setting |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 979 | the <code>GIT_GLOB_PATHSPECS</code> environment variable to <code>1</code>. Disabling |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 980 | globbing on individual pathspecs can be done using pathspec |
Junio C Hamano | b9acecb | 2013-10-16 01:18:56 | [diff] [blame] | 981 | magic ":(literal)" |
| 982 | </p> |
| 983 | </dd> |
| 984 | <dt class="hdlist1"> |
| 985 | --noglob-pathspecs |
| 986 | </dt> |
| 987 | <dd> |
| 988 | <p> |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 989 | Add "literal" magic to all pathspec. This is equivalent to setting |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 990 | the <code>GIT_NOGLOB_PATHSPECS</code> environment variable to <code>1</code>. Enabling |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 991 | globbing on individual pathspecs can be done using pathspec |
Junio C Hamano | b9acecb | 2013-10-16 01:18:56 | [diff] [blame] | 992 | magic ":(glob)" |
| 993 | </p> |
| 994 | </dd> |
| 995 | <dt class="hdlist1"> |
| 996 | --icase-pathspecs |
| 997 | </dt> |
| 998 | <dd> |
| 999 | <p> |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 1000 | Add "icase" magic to all pathspec. This is equivalent to setting |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 1001 | the <code>GIT_ICASE_PATHSPECS</code> environment variable to <code>1</code>. |
Junio C Hamano | b9acecb | 2013-10-16 01:18:56 | [diff] [blame] | 1002 | </p> |
| 1003 | </dd> |
| 1004 | </dl></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1005 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1006 | </div> |
| 1007 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1008 | <h2 id="_git_commands">GIT COMMANDS</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1009 | <div class="sectionbody"> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1010 | <div class="paragraph"><p>We divide Git into high level ("porcelain") commands and low level |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1011 | ("plumbing") commands.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1012 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1013 | </div> |
| 1014 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1015 | <h2 id="_high_level_commands_porcelain">High-level commands (porcelain)</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1016 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1017 | <div class="paragraph"><p>We separate the porcelain commands into the main commands and some |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1018 | ancillary user utilities.</p></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1019 | <div class="sect2"> |
| 1020 | <h3 id="_main_porcelain_commands">Main porcelain commands</h3> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1021 | <div class="dlist"><dl> |
| 1022 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1023 | <a href="git-add.html">git-add(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1024 | </dt> |
| 1025 | <dd> |
| 1026 | <p> |
Junio C Hamano | 4cd1c0e | 2007-08-06 04:39:14 | [diff] [blame] | 1027 | Add file contents to the index. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1028 | </p> |
| 1029 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1030 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1031 | <a href="git-am.html">git-am(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1032 | </dt> |
| 1033 | <dd> |
| 1034 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1035 | Apply a series of patches from a mailbox. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1036 | </p> |
| 1037 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1038 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1039 | <a href="git-archive.html">git-archive(1)</a> |
Junio C Hamano | 817abb4 | 2006-09-26 07:16:58 | [diff] [blame] | 1040 | </dt> |
| 1041 | <dd> |
| 1042 | <p> |
Junio C Hamano | 4ec0671 | 2007-06-09 20:39:33 | [diff] [blame] | 1043 | Create an archive of files from a named tree. |
Junio C Hamano | 817abb4 | 2006-09-26 07:16:58 | [diff] [blame] | 1044 | </p> |
| 1045 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1046 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1047 | <a href="git-bisect.html">git-bisect(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1048 | </dt> |
| 1049 | <dd> |
| 1050 | <p> |
Junio C Hamano | 9c51287 | 2015-08-12 21:59:25 | [diff] [blame] | 1051 | Use binary search to find the commit that introduced a bug. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1052 | </p> |
| 1053 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1054 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1055 | <a href="git-branch.html">git-branch(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1056 | </dt> |
| 1057 | <dd> |
| 1058 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1059 | List, create, or delete branches. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1060 | </p> |
| 1061 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1062 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1063 | <a href="git-bundle.html">git-bundle(1)</a> |
Junio C Hamano | 6ac2f14 | 2007-03-01 01:24:56 | [diff] [blame] | 1064 | </dt> |
| 1065 | <dd> |
| 1066 | <p> |
| 1067 | Move objects and refs by archive. |
| 1068 | </p> |
| 1069 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1070 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1071 | <a href="git-checkout.html">git-checkout(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1072 | </dt> |
| 1073 | <dd> |
| 1074 | <p> |
Junio C Hamano | 823eebb | 2015-07-10 22:29:34 | [diff] [blame] | 1075 | Switch branches or restore working tree files. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1076 | </p> |
| 1077 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1078 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1079 | <a href="git-cherry-pick.html">git-cherry-pick(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1080 | </dt> |
| 1081 | <dd> |
| 1082 | <p> |
Junio C Hamano | 89a5734 | 2010-06-22 23:22:55 | [diff] [blame] | 1083 | Apply the changes introduced by some existing commits. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1084 | </p> |
| 1085 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1086 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1087 | <a href="git-citool.html">git-citool(1)</a> |
Junio C Hamano | 58784fc | 2007-06-23 08:48:57 | [diff] [blame] | 1088 | </dt> |
| 1089 | <dd> |
| 1090 | <p> |
| 1091 | Graphical alternative to git-commit. |
| 1092 | </p> |
| 1093 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1094 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1095 | <a href="git-clean.html">git-clean(1)</a> |
Junio C Hamano | 54559c8 | 2006-04-13 07:45:12 | [diff] [blame] | 1096 | </dt> |
| 1097 | <dd> |
| 1098 | <p> |
| 1099 | Remove untracked files from the working tree. |
| 1100 | </p> |
| 1101 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1102 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1103 | <a href="git-clone.html">git-clone(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1104 | </dt> |
| 1105 | <dd> |
| 1106 | <p> |
Junio C Hamano | 4ec0671 | 2007-06-09 20:39:33 | [diff] [blame] | 1107 | Clone a repository into a new directory. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1108 | </p> |
| 1109 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1110 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1111 | <a href="git-commit.html">git-commit(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1112 | </dt> |
| 1113 | <dd> |
| 1114 | <p> |
| 1115 | Record changes to the repository. |
| 1116 | </p> |
| 1117 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1118 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1119 | <a href="git-describe.html">git-describe(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1120 | </dt> |
| 1121 | <dd> |
| 1122 | <p> |
Junio C Hamano | 2f79782 | 2015-07-01 22:26:23 | [diff] [blame] | 1123 | Describe a commit using the most recent tag reachable from it. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1124 | </p> |
| 1125 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1126 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1127 | <a href="git-diff.html">git-diff(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1128 | </dt> |
| 1129 | <dd> |
| 1130 | <p> |
| 1131 | Show changes between commits, commit and working tree, etc. |
| 1132 | </p> |
| 1133 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1134 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1135 | <a href="git-fetch.html">git-fetch(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1136 | </dt> |
| 1137 | <dd> |
| 1138 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1139 | Download objects and refs from another repository. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1140 | </p> |
| 1141 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1142 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1143 | <a href="git-format-patch.html">git-format-patch(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1144 | </dt> |
| 1145 | <dd> |
| 1146 | <p> |
| 1147 | Prepare patches for e-mail submission. |
| 1148 | </p> |
| 1149 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1150 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1151 | <a href="git-gc.html">git-gc(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1152 | </dt> |
| 1153 | <dd> |
| 1154 | <p> |
| 1155 | Cleanup unnecessary files and optimize the local repository. |
| 1156 | </p> |
| 1157 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1158 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1159 | <a href="git-grep.html">git-grep(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1160 | </dt> |
| 1161 | <dd> |
| 1162 | <p> |
| 1163 | Print lines matching a pattern. |
| 1164 | </p> |
| 1165 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1166 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1167 | <a href="git-gui.html">git-gui(1)</a> |
Junio C Hamano | 58784fc | 2007-06-23 08:48:57 | [diff] [blame] | 1168 | </dt> |
| 1169 | <dd> |
| 1170 | <p> |
| 1171 | A portable graphical interface to Git. |
| 1172 | </p> |
| 1173 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1174 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1175 | <a href="git-init.html">git-init(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1176 | </dt> |
| 1177 | <dd> |
| 1178 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1179 | Create an empty Git repository or reinitialize an existing one. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1180 | </p> |
| 1181 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1182 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1183 | <a href="git-log.html">git-log(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1184 | </dt> |
| 1185 | <dd> |
| 1186 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1187 | Show commit logs. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1188 | </p> |
| 1189 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1190 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1191 | <a href="git-merge.html">git-merge(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1192 | </dt> |
| 1193 | <dd> |
| 1194 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1195 | Join two or more development histories together. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1196 | </p> |
| 1197 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1198 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1199 | <a href="git-mv.html">git-mv(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1200 | </dt> |
| 1201 | <dd> |
| 1202 | <p> |
| 1203 | Move or rename a file, a directory, or a symlink. |
| 1204 | </p> |
| 1205 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1206 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1207 | <a href="git-notes.html">git-notes(1)</a> |
Junio C Hamano | 3b70d3c | 2009-11-21 17:37:37 | [diff] [blame] | 1208 | </dt> |
| 1209 | <dd> |
| 1210 | <p> |
Junio C Hamano | a574a09 | 2010-06-13 19:57:10 | [diff] [blame] | 1211 | Add or inspect object notes. |
Junio C Hamano | 3b70d3c | 2009-11-21 17:37:37 | [diff] [blame] | 1212 | </p> |
| 1213 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1214 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1215 | <a href="git-pull.html">git-pull(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1216 | </dt> |
| 1217 | <dd> |
| 1218 | <p> |
Junio C Hamano | 8401f14 | 2013-07-12 22:47:46 | [diff] [blame] | 1219 | Fetch from and integrate with another repository or a local branch. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1220 | </p> |
| 1221 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1222 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1223 | <a href="git-push.html">git-push(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1224 | </dt> |
| 1225 | <dd> |
| 1226 | <p> |
| 1227 | Update remote refs along with associated objects. |
| 1228 | </p> |
| 1229 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1230 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1231 | <a href="git-rebase.html">git-rebase(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1232 | </dt> |
| 1233 | <dd> |
| 1234 | <p> |
Junio C Hamano | df97ffc | 2016-03-10 22:58:00 | [diff] [blame] | 1235 | Reapply commits on top of another base tip. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1236 | </p> |
| 1237 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1238 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1239 | <a href="git-reset.html">git-reset(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1240 | </dt> |
| 1241 | <dd> |
| 1242 | <p> |
| 1243 | Reset current HEAD to the specified state. |
| 1244 | </p> |
| 1245 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1246 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1247 | <a href="git-revert.html">git-revert(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1248 | </dt> |
| 1249 | <dd> |
| 1250 | <p> |
Junio C Hamano | 89a5734 | 2010-06-22 23:22:55 | [diff] [blame] | 1251 | Revert some existing commits. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1252 | </p> |
| 1253 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1254 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1255 | <a href="git-rm.html">git-rm(1)</a> |
Junio C Hamano | 54559c8 | 2006-04-13 07:45:12 | [diff] [blame] | 1256 | </dt> |
| 1257 | <dd> |
| 1258 | <p> |
| 1259 | Remove files from the working tree and from the index. |
| 1260 | </p> |
| 1261 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1262 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1263 | <a href="git-shortlog.html">git-shortlog(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1264 | </dt> |
| 1265 | <dd> |
| 1266 | <p> |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 1267 | Summarize <em>git log</em> output. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1268 | </p> |
| 1269 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1270 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1271 | <a href="git-show.html">git-show(1)</a> |
Junio C Hamano | 2b13527 | 2006-03-18 07:45:42 | [diff] [blame] | 1272 | </dt> |
| 1273 | <dd> |
| 1274 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1275 | Show various types of objects. |
Junio C Hamano | 2b13527 | 2006-03-18 07:45:42 | [diff] [blame] | 1276 | </p> |
| 1277 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1278 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1279 | <a href="git-stash.html">git-stash(1)</a> |
Junio C Hamano | 1d90cb0 | 2007-07-03 07:05:31 | [diff] [blame] | 1280 | </dt> |
| 1281 | <dd> |
| 1282 | <p> |
| 1283 | Stash the changes in a dirty working directory away. |
| 1284 | </p> |
| 1285 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1286 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1287 | <a href="git-status.html">git-status(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1288 | </dt> |
| 1289 | <dd> |
| 1290 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1291 | Show the working tree status. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1292 | </p> |
| 1293 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1294 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1295 | <a href="git-submodule.html">git-submodule(1)</a> |
Junio C Hamano | 38b693c | 2007-06-03 08:40:14 | [diff] [blame] | 1296 | </dt> |
| 1297 | <dd> |
| 1298 | <p> |
| 1299 | Initialize, update or inspect submodules. |
| 1300 | </p> |
| 1301 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1302 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1303 | <a href="git-tag.html">git-tag(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1304 | </dt> |
| 1305 | <dd> |
| 1306 | <p> |
Junio C Hamano | db450ba | 2007-01-21 08:57:14 | [diff] [blame] | 1307 | Create, list, delete or verify a tag object signed with GPG. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1308 | </p> |
| 1309 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1310 | <dt class="hdlist1"> |
Junio C Hamano | b5dd60f | 2015-07-13 21:48:05 | [diff] [blame] | 1311 | <a href="git-worktree.html">git-worktree(1)</a> |
| 1312 | </dt> |
| 1313 | <dd> |
| 1314 | <p> |
Junio C Hamano | 9c51287 | 2015-08-12 21:59:25 | [diff] [blame] | 1315 | Manage multiple working trees. |
Junio C Hamano | b5dd60f | 2015-07-13 21:48:05 | [diff] [blame] | 1316 | </p> |
| 1317 | </dd> |
| 1318 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1319 | <a href="gitk.html">gitk(1)</a> |
Junio C Hamano | 0a16b95 | 2007-12-02 18:56:34 | [diff] [blame] | 1320 | </dt> |
| 1321 | <dd> |
| 1322 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1323 | The Git repository browser. |
Junio C Hamano | 0a16b95 | 2007-12-02 18:56:34 | [diff] [blame] | 1324 | </p> |
| 1325 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1326 | </dl></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1327 | </div> |
| 1328 | <div class="sect2"> |
| 1329 | <h3 id="_ancillary_commands">Ancillary Commands</h3> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1330 | <div class="paragraph"><p>Manipulators:</p></div> |
| 1331 | <div class="dlist"><dl> |
| 1332 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1333 | <a href="git-config.html">git-config(1)</a> |
Junio C Hamano | b1d6e88 | 2007-08-11 08:30:16 | [diff] [blame] | 1334 | </dt> |
| 1335 | <dd> |
| 1336 | <p> |
| 1337 | Get and set repository or global options. |
| 1338 | </p> |
| 1339 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1340 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1341 | <a href="git-fast-export.html">git-fast-export(1)</a> |
Junio C Hamano | 5825687 | 2007-12-04 08:31:13 | [diff] [blame] | 1342 | </dt> |
| 1343 | <dd> |
| 1344 | <p> |
| 1345 | Git data exporter. |
| 1346 | </p> |
| 1347 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1348 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1349 | <a href="git-fast-import.html">git-fast-import(1)</a> |
Junio C Hamano | dfc4ce7 | 2007-02-07 23:17:29 | [diff] [blame] | 1350 | </dt> |
| 1351 | <dd> |
| 1352 | <p> |
Junio C Hamano | 053827f | 2007-02-14 07:23:58 | [diff] [blame] | 1353 | Backend for fast Git data importers. |
Junio C Hamano | dfc4ce7 | 2007-02-07 23:17:29 | [diff] [blame] | 1354 | </p> |
| 1355 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1356 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1357 | <a href="git-filter-branch.html">git-filter-branch(1)</a> |
Junio C Hamano | bb0f404 | 2007-07-04 06:41:40 | [diff] [blame] | 1358 | </dt> |
| 1359 | <dd> |
| 1360 | <p> |
| 1361 | Rewrite branches. |
| 1362 | </p> |
| 1363 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1364 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1365 | <a href="git-mergetool.html">git-mergetool(1)</a> |
Junio C Hamano | 103ad7f | 2007-03-14 11:19:26 | [diff] [blame] | 1366 | </dt> |
| 1367 | <dd> |
| 1368 | <p> |
| 1369 | Run merge conflict resolution tools to resolve merge conflicts. |
| 1370 | </p> |
| 1371 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1372 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1373 | <a href="git-pack-refs.html">git-pack-refs(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1374 | </dt> |
| 1375 | <dd> |
| 1376 | <p> |
| 1377 | Pack heads and tags for efficient repository access. |
| 1378 | </p> |
| 1379 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1380 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1381 | <a href="git-prune.html">git-prune(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1382 | </dt> |
| 1383 | <dd> |
| 1384 | <p> |
Junio C Hamano | 4ec0671 | 2007-06-09 20:39:33 | [diff] [blame] | 1385 | Prune all unreachable objects from the object database. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1386 | </p> |
| 1387 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1388 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1389 | <a href="git-reflog.html">git-reflog(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1390 | </dt> |
| 1391 | <dd> |
| 1392 | <p> |
| 1393 | Manage reflog information. |
| 1394 | </p> |
| 1395 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1396 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1397 | <a href="git-relink.html">git-relink(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1398 | </dt> |
| 1399 | <dd> |
| 1400 | <p> |
| 1401 | Hardlink common objects in local repositories. |
| 1402 | </p> |
| 1403 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1404 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1405 | <a href="git-remote.html">git-remote(1)</a> |
Junio C Hamano | 053827f | 2007-02-14 07:23:58 | [diff] [blame] | 1406 | </dt> |
| 1407 | <dd> |
| 1408 | <p> |
Junio C Hamano | 5b3533d | 2014-02-27 23:07:15 | [diff] [blame] | 1409 | Manage set of tracked repositories. |
Junio C Hamano | 053827f | 2007-02-14 07:23:58 | [diff] [blame] | 1410 | </p> |
| 1411 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1412 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1413 | <a href="git-repack.html">git-repack(1)</a> |
Junio C Hamano | b1d6e88 | 2007-08-11 08:30:16 | [diff] [blame] | 1414 | </dt> |
| 1415 | <dd> |
| 1416 | <p> |
| 1417 | Pack unpacked objects in a repository. |
| 1418 | </p> |
| 1419 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1420 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1421 | <a href="git-replace.html">git-replace(1)</a> |
Junio C Hamano | 5529599 | 2009-10-13 09:06:33 | [diff] [blame] | 1422 | </dt> |
| 1423 | <dd> |
| 1424 | <p> |
| 1425 | Create, list, delete refs to replace objects. |
| 1426 | </p> |
| 1427 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1428 | </dl></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1429 | <div class="paragraph"><p>Interrogators:</p></div> |
| 1430 | <div class="dlist"><dl> |
| 1431 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1432 | <a href="git-annotate.html">git-annotate(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1433 | </dt> |
| 1434 | <dd> |
| 1435 | <p> |
Junio C Hamano | 7924d5e | 2009-03-03 08:28:48 | [diff] [blame] | 1436 | Annotate file lines with commit information. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1437 | </p> |
| 1438 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1439 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1440 | <a href="git-blame.html">git-blame(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1441 | </dt> |
| 1442 | <dd> |
| 1443 | <p> |
| 1444 | Show what revision and author last modified each line of a file. |
| 1445 | </p> |
| 1446 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1447 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1448 | <a href="git-cherry.html">git-cherry(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1449 | </dt> |
| 1450 | <dd> |
| 1451 | <p> |
Junio C Hamano | 4c8f2d9 | 2013-12-13 00:55:42 | [diff] [blame] | 1452 | Find commits yet to be applied to upstream. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1453 | </p> |
| 1454 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1455 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1456 | <a href="git-count-objects.html">git-count-objects(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1457 | </dt> |
| 1458 | <dd> |
| 1459 | <p> |
| 1460 | Count unpacked number of objects and their disk consumption. |
| 1461 | </p> |
| 1462 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1463 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1464 | <a href="git-difftool.html">git-difftool(1)</a> |
Junio C Hamano | 3bd66e9 | 2009-04-18 06:17:56 | [diff] [blame] | 1465 | </dt> |
| 1466 | <dd> |
| 1467 | <p> |
| 1468 | Show changes using common diff tools. |
| 1469 | </p> |
| 1470 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1471 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1472 | <a href="git-fsck.html">git-fsck(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1473 | </dt> |
| 1474 | <dd> |
| 1475 | <p> |
| 1476 | Verifies the connectivity and validity of the objects in the database. |
| 1477 | </p> |
| 1478 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1479 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1480 | <a href="git-get-tar-commit-id.html">git-get-tar-commit-id(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1481 | </dt> |
| 1482 | <dd> |
| 1483 | <p> |
Junio C Hamano | 393e57f | 2007-11-20 04:53:25 | [diff] [blame] | 1484 | Extract commit ID from an archive created using git-archive. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1485 | </p> |
| 1486 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1487 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1488 | <a href="git-help.html">git-help(1)</a> |
Junio C Hamano | 5825687 | 2007-12-04 08:31:13 | [diff] [blame] | 1489 | </dt> |
| 1490 | <dd> |
| 1491 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1492 | Display help information about Git. |
Junio C Hamano | 5825687 | 2007-12-04 08:31:13 | [diff] [blame] | 1493 | </p> |
| 1494 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1495 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1496 | <a href="git-instaweb.html">git-instaweb(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1497 | </dt> |
| 1498 | <dd> |
| 1499 | <p> |
| 1500 | Instantly browse your working repository in gitweb. |
| 1501 | </p> |
| 1502 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1503 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1504 | <a href="git-merge-tree.html">git-merge-tree(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1505 | </dt> |
| 1506 | <dd> |
| 1507 | <p> |
| 1508 | Show three-way merge without touching index. |
| 1509 | </p> |
| 1510 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1511 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1512 | <a href="git-rerere.html">git-rerere(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1513 | </dt> |
| 1514 | <dd> |
| 1515 | <p> |
| 1516 | Reuse recorded resolution of conflicted merges. |
| 1517 | </p> |
| 1518 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1519 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1520 | <a href="git-rev-parse.html">git-rev-parse(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1521 | </dt> |
| 1522 | <dd> |
| 1523 | <p> |
| 1524 | Pick out and massage parameters. |
| 1525 | </p> |
| 1526 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1527 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1528 | <a href="git-show-branch.html">git-show-branch(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1529 | </dt> |
| 1530 | <dd> |
| 1531 | <p> |
| 1532 | Show branches and their commits. |
| 1533 | </p> |
| 1534 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1535 | <dt class="hdlist1"> |
Junio C Hamano | 56121c4 | 2014-07-10 23:23:35 | [diff] [blame] | 1536 | <a href="git-verify-commit.html">git-verify-commit(1)</a> |
| 1537 | </dt> |
| 1538 | <dd> |
| 1539 | <p> |
| 1540 | Check the GPG signature of commits. |
| 1541 | </p> |
| 1542 | </dd> |
| 1543 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1544 | <a href="git-verify-tag.html">git-verify-tag(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1545 | </dt> |
| 1546 | <dd> |
| 1547 | <p> |
Junio C Hamano | b1d6e88 | 2007-08-11 08:30:16 | [diff] [blame] | 1548 | Check the GPG signature of tags. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1549 | </p> |
| 1550 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1551 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1552 | <a href="git-whatchanged.html">git-whatchanged(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1553 | </dt> |
| 1554 | <dd> |
| 1555 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1556 | Show logs with difference each commit introduces. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1557 | </p> |
| 1558 | </dd> |
Junio C Hamano | 11821ed | 2011-10-19 18:42:09 | [diff] [blame] | 1559 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1560 | <a href="gitweb.html">gitweb(1)</a> |
Junio C Hamano | 11821ed | 2011-10-19 18:42:09 | [diff] [blame] | 1561 | </dt> |
| 1562 | <dd> |
| 1563 | <p> |
| 1564 | Git web interface (web frontend to Git repositories). |
| 1565 | </p> |
| 1566 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1567 | </dl></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1568 | </div> |
| 1569 | <div class="sect2"> |
| 1570 | <h3 id="_interacting_with_others">Interacting with Others</h3> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1571 | <div class="paragraph"><p>These commands are to interact with foreign SCM and with other |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1572 | people via patch over e-mail.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1573 | <div class="dlist"><dl> |
| 1574 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1575 | <a href="git-archimport.html">git-archimport(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1576 | </dt> |
| 1577 | <dd> |
| 1578 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1579 | Import an Arch repository into Git. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1580 | </p> |
| 1581 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1582 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1583 | <a href="git-cvsexportcommit.html">git-cvsexportcommit(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1584 | </dt> |
| 1585 | <dd> |
| 1586 | <p> |
| 1587 | Export a single commit to a CVS checkout. |
| 1588 | </p> |
| 1589 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1590 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1591 | <a href="git-cvsimport.html">git-cvsimport(1)</a> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1592 | </dt> |
| 1593 | <dd> |
| 1594 | <p> |
| 1595 | Salvage your data out of another SCM people love to hate. |
| 1596 | </p> |
| 1597 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1598 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1599 | <a href="git-cvsserver.html">git-cvsserver(1)</a> |
Junio C Hamano | 54559c8 | 2006-04-13 07:45:12 | [diff] [blame] | 1600 | </dt> |
| 1601 | <dd> |
| 1602 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1603 | A CVS server emulator for Git. |
Junio C Hamano | 54559c8 | 2006-04-13 07:45:12 | [diff] [blame] | 1604 | </p> |
| 1605 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1606 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1607 | <a href="git-imap-send.html">git-imap-send(1)</a> |
Junio C Hamano | 5229946 | 2006-12-28 00:59:38 | [diff] [blame] | 1608 | </dt> |
| 1609 | <dd> |
| 1610 | <p> |
Junio C Hamano | 5cf43ca | 2008-08-20 09:14:14 | [diff] [blame] | 1611 | Send a collection of patches from stdin to an IMAP folder. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1612 | </p> |
| 1613 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1614 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1615 | <a href="git-p4.html">git-p4(1)</a> |
Junio C Hamano | 4eda136 | 2012-04-23 20:55:49 | [diff] [blame] | 1616 | </dt> |
| 1617 | <dd> |
| 1618 | <p> |
| 1619 | Import from and submit to Perforce repositories. |
| 1620 | </p> |
| 1621 | </dd> |
| 1622 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1623 | <a href="git-quiltimport.html">git-quiltimport(1)</a> |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 1624 | </dt> |
| 1625 | <dd> |
| 1626 | <p> |
| 1627 | Applies a quilt patchset onto the current branch. |
| 1628 | </p> |
| 1629 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1630 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1631 | <a href="git-request-pull.html">git-request-pull(1)</a> |
Junio C Hamano | 7464064 | 2006-12-27 10:59:55 | [diff] [blame] | 1632 | </dt> |
| 1633 | <dd> |
| 1634 | <p> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1635 | Generates a summary of pending changes. |
Junio C Hamano | 7464064 | 2006-12-27 10:59:55 | [diff] [blame] | 1636 | </p> |
| 1637 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1638 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1639 | <a href="git-send-email.html">git-send-email(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1640 | </dt> |
| 1641 | <dd> |
| 1642 | <p> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1643 | Send a collection of patches as emails. |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1644 | </p> |
| 1645 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1646 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1647 | <a href="git-svn.html">git-svn(1)</a> |
Junio C Hamano | b518f45 | 2006-08-04 00:18:06 | [diff] [blame] | 1648 | </dt> |
| 1649 | <dd> |
| 1650 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1651 | Bidirectional operation between a Subversion repository and Git. |
Junio C Hamano | b518f45 | 2006-08-04 00:18:06 | [diff] [blame] | 1652 | </p> |
| 1653 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1654 | </dl></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1655 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1656 | </div> |
| 1657 | </div> |
| 1658 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1659 | <h2 id="_low_level_commands_plumbing">Low-level commands (plumbing)</h2> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1660 | <div class="sectionbody"> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1661 | <div class="paragraph"><p>Although Git includes its |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1662 | own porcelain layer, its low-level commands are sufficient to support |
| 1663 | development of alternative porcelains. Developers of such porcelains |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1664 | might start by reading about <a href="git-update-index.html">git-update-index(1)</a> and |
| 1665 | <a href="git-read-tree.html">git-read-tree(1)</a>.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1666 | <div class="paragraph"><p>The interface (input, output, set of options and the semantics) |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1667 | to these low-level commands are meant to be a lot more stable |
| 1668 | than Porcelain level commands, because these commands are |
| 1669 | primarily for scripted use. The interface to Porcelain commands |
| 1670 | on the other hand are subject to change in order to improve the |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1671 | end user experience.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1672 | <div class="paragraph"><p>The following description divides |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1673 | the low-level commands into commands that manipulate objects (in |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1674 | the repository, index, and working tree), commands that interrogate and |
| 1675 | compare objects, and commands that move objects and references between |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1676 | repositories.</p></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1677 | <div class="sect2"> |
| 1678 | <h3 id="_manipulation_commands">Manipulation commands</h3> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1679 | <div class="dlist"><dl> |
| 1680 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1681 | <a href="git-apply.html">git-apply(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1682 | </dt> |
| 1683 | <dd> |
| 1684 | <p> |
Junio C Hamano | 5706e0b | 2009-11-24 10:54:16 | [diff] [blame] | 1685 | Apply a patch to files and/or to the index. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1686 | </p> |
| 1687 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1688 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1689 | <a href="git-checkout-index.html">git-checkout-index(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1690 | </dt> |
| 1691 | <dd> |
| 1692 | <p> |
| 1693 | Copy files from the index to the working tree. |
| 1694 | </p> |
| 1695 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1696 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1697 | <a href="git-commit-tree.html">git-commit-tree(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1698 | </dt> |
| 1699 | <dd> |
| 1700 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1701 | Create a new commit object. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1702 | </p> |
| 1703 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1704 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1705 | <a href="git-hash-object.html">git-hash-object(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1706 | </dt> |
| 1707 | <dd> |
| 1708 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1709 | Compute object ID and optionally creates a blob from a file. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1710 | </p> |
| 1711 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1712 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1713 | <a href="git-index-pack.html">git-index-pack(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1714 | </dt> |
| 1715 | <dd> |
| 1716 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1717 | Build pack index file for an existing packed archive. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1718 | </p> |
| 1719 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1720 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1721 | <a href="git-merge-file.html">git-merge-file(1)</a> |
Junio C Hamano | 1de7bc6 | 2006-12-17 19:31:54 | [diff] [blame] | 1722 | </dt> |
| 1723 | <dd> |
| 1724 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1725 | Run a three-way file merge. |
Junio C Hamano | 1de7bc6 | 2006-12-17 19:31:54 | [diff] [blame] | 1726 | </p> |
| 1727 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1728 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1729 | <a href="git-merge-index.html">git-merge-index(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1730 | </dt> |
| 1731 | <dd> |
| 1732 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1733 | Run a merge for files needing merging. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1734 | </p> |
| 1735 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1736 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1737 | <a href="git-mktag.html">git-mktag(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1738 | </dt> |
| 1739 | <dd> |
| 1740 | <p> |
| 1741 | Creates a tag object. |
| 1742 | </p> |
| 1743 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1744 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1745 | <a href="git-mktree.html">git-mktree(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1746 | </dt> |
| 1747 | <dd> |
| 1748 | <p> |
| 1749 | Build a tree-object from ls-tree formatted text. |
| 1750 | </p> |
| 1751 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1752 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1753 | <a href="git-pack-objects.html">git-pack-objects(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1754 | </dt> |
| 1755 | <dd> |
| 1756 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1757 | Create a packed archive of objects. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1758 | </p> |
| 1759 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1760 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1761 | <a href="git-prune-packed.html">git-prune-packed(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1762 | </dt> |
| 1763 | <dd> |
| 1764 | <p> |
| 1765 | Remove extra objects that are already in pack files. |
| 1766 | </p> |
| 1767 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1768 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1769 | <a href="git-read-tree.html">git-read-tree(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1770 | </dt> |
| 1771 | <dd> |
| 1772 | <p> |
| 1773 | Reads tree information into the index. |
| 1774 | </p> |
| 1775 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1776 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1777 | <a href="git-symbolic-ref.html">git-symbolic-ref(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1778 | </dt> |
| 1779 | <dd> |
| 1780 | <p> |
Junio C Hamano | 4eb2b9c | 2012-11-15 21:12:29 | [diff] [blame] | 1781 | Read, modify and delete symbolic refs. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1782 | </p> |
| 1783 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1784 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1785 | <a href="git-unpack-objects.html">git-unpack-objects(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1786 | </dt> |
| 1787 | <dd> |
| 1788 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1789 | Unpack objects from a packed archive. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1790 | </p> |
| 1791 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1792 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1793 | <a href="git-update-index.html">git-update-index(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1794 | </dt> |
| 1795 | <dd> |
| 1796 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1797 | Register file contents in the working tree to the index. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1798 | </p> |
| 1799 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1800 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1801 | <a href="git-update-ref.html">git-update-ref(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1802 | </dt> |
| 1803 | <dd> |
| 1804 | <p> |
| 1805 | Update the object name stored in a ref safely. |
| 1806 | </p> |
| 1807 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1808 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1809 | <a href="git-write-tree.html">git-write-tree(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1810 | </dt> |
| 1811 | <dd> |
| 1812 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1813 | Create a tree object from the current index. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1814 | </p> |
| 1815 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1816 | </dl></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1817 | </div> |
| 1818 | <div class="sect2"> |
| 1819 | <h3 id="_interrogation_commands">Interrogation commands</h3> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1820 | <div class="dlist"><dl> |
| 1821 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1822 | <a href="git-cat-file.html">git-cat-file(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1823 | </dt> |
| 1824 | <dd> |
| 1825 | <p> |
Junio C Hamano | 1de7572 | 2009-03-26 08:39:38 | [diff] [blame] | 1826 | Provide content or type and size information for repository objects. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1827 | </p> |
| 1828 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1829 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1830 | <a href="git-diff-files.html">git-diff-files(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1831 | </dt> |
| 1832 | <dd> |
| 1833 | <p> |
| 1834 | Compares files in the working tree and the index. |
| 1835 | </p> |
| 1836 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1837 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1838 | <a href="git-diff-index.html">git-diff-index(1)</a> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1839 | </dt> |
| 1840 | <dd> |
| 1841 | <p> |
Junio C Hamano | 7e590a1 | 2013-06-02 23:46:52 | [diff] [blame] | 1842 | Compare a tree to the working tree or index. |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1843 | </p> |
| 1844 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1845 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1846 | <a href="git-diff-tree.html">git-diff-tree(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1847 | </dt> |
| 1848 | <dd> |
| 1849 | <p> |
| 1850 | Compares the content and mode of blobs found via two tree objects. |
| 1851 | </p> |
| 1852 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1853 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1854 | <a href="git-for-each-ref.html">git-for-each-ref(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1855 | </dt> |
| 1856 | <dd> |
| 1857 | <p> |
| 1858 | Output information on each ref. |
| 1859 | </p> |
| 1860 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1861 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1862 | <a href="git-ls-files.html">git-ls-files(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1863 | </dt> |
| 1864 | <dd> |
| 1865 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1866 | Show information about files in the index and the working tree. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1867 | </p> |
| 1868 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1869 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1870 | <a href="git-ls-remote.html">git-ls-remote(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1871 | </dt> |
| 1872 | <dd> |
| 1873 | <p> |
| 1874 | List references in a remote repository. |
| 1875 | </p> |
| 1876 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1877 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1878 | <a href="git-ls-tree.html">git-ls-tree(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1879 | </dt> |
| 1880 | <dd> |
| 1881 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1882 | List the contents of a tree object. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1883 | </p> |
| 1884 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1885 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1886 | <a href="git-merge-base.html">git-merge-base(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1887 | </dt> |
| 1888 | <dd> |
| 1889 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1890 | Find as good common ancestors as possible for a merge. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1891 | </p> |
| 1892 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1893 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1894 | <a href="git-name-rev.html">git-name-rev(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1895 | </dt> |
| 1896 | <dd> |
| 1897 | <p> |
| 1898 | Find symbolic names for given revs. |
| 1899 | </p> |
| 1900 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1901 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1902 | <a href="git-pack-redundant.html">git-pack-redundant(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1903 | </dt> |
| 1904 | <dd> |
| 1905 | <p> |
| 1906 | Find redundant pack files. |
| 1907 | </p> |
| 1908 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1909 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1910 | <a href="git-rev-list.html">git-rev-list(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1911 | </dt> |
| 1912 | <dd> |
| 1913 | <p> |
| 1914 | Lists commit objects in reverse chronological order. |
| 1915 | </p> |
| 1916 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1917 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1918 | <a href="git-show-index.html">git-show-index(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1919 | </dt> |
| 1920 | <dd> |
| 1921 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1922 | Show packed archive index. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1923 | </p> |
| 1924 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1925 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1926 | <a href="git-show-ref.html">git-show-ref(1)</a> |
Junio C Hamano | d8c9d43 | 2006-11-07 07:19:13 | [diff] [blame] | 1927 | </dt> |
| 1928 | <dd> |
| 1929 | <p> |
| 1930 | List references in a local repository. |
| 1931 | </p> |
| 1932 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1933 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1934 | <a href="git-unpack-file.html">git-unpack-file(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1935 | </dt> |
| 1936 | <dd> |
| 1937 | <p> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1938 | Creates a temporary file with a blob’s contents. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1939 | </p> |
| 1940 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1941 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1942 | <a href="git-var.html">git-var(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1943 | </dt> |
| 1944 | <dd> |
| 1945 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1946 | Show a Git logical variable. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1947 | </p> |
| 1948 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1949 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1950 | <a href="git-verify-pack.html">git-verify-pack(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1951 | </dt> |
| 1952 | <dd> |
| 1953 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1954 | Validate packed Git archive files. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1955 | </p> |
| 1956 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1957 | </dl></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1958 | <div class="paragraph"><p>In general, the interrogate commands do not touch the files in |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 1959 | the working tree.</p></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 1960 | </div> |
| 1961 | <div class="sect2"> |
| 1962 | <h3 id="_synching_repositories">Synching repositories</h3> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1963 | <div class="dlist"><dl> |
| 1964 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1965 | <a href="git-daemon.html">git-daemon(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1966 | </dt> |
| 1967 | <dd> |
| 1968 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1969 | A really simple server for Git repositories. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 1970 | </p> |
| 1971 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1972 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1973 | <a href="git-fetch-pack.html">git-fetch-pack(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1974 | </dt> |
| 1975 | <dd> |
| 1976 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1977 | Receive missing objects from another repository. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1978 | </p> |
| 1979 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1980 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1981 | <a href="git-http-backend.html">git-http-backend(1)</a> |
Junio C Hamano | 096dde2 | 2009-12-26 23:14:11 | [diff] [blame] | 1982 | </dt> |
| 1983 | <dd> |
| 1984 | <p> |
| 1985 | Server side implementation of Git over HTTP. |
| 1986 | </p> |
| 1987 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1988 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1989 | <a href="git-send-pack.html">git-send-pack(1)</a> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 1990 | </dt> |
| 1991 | <dd> |
| 1992 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 1993 | Push objects over Git protocol to another repository. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1994 | </p> |
| 1995 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 1996 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 1997 | <a href="git-update-server-info.html">git-update-server-info(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 1998 | </dt> |
| 1999 | <dd> |
| 2000 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 2001 | Update auxiliary info file to help dumb servers. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 2002 | </p> |
| 2003 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2004 | </dl></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2005 | <div class="paragraph"><p>The following are helper commands used by the above; end users |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2006 | typically do not use them directly.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2007 | <div class="dlist"><dl> |
| 2008 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2009 | <a href="git-http-fetch.html">git-http-fetch(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2010 | </dt> |
| 2011 | <dd> |
| 2012 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2013 | Download from a remote Git repository via HTTP. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2014 | </p> |
| 2015 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2016 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2017 | <a href="git-http-push.html">git-http-push(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2018 | </dt> |
| 2019 | <dd> |
| 2020 | <p> |
| 2021 | Push objects over HTTP/DAV to another repository. |
| 2022 | </p> |
| 2023 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2024 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2025 | <a href="git-parse-remote.html">git-parse-remote(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2026 | </dt> |
| 2027 | <dd> |
| 2028 | <p> |
| 2029 | Routines to help parsing remote repository access parameters. |
| 2030 | </p> |
| 2031 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2032 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2033 | <a href="git-receive-pack.html">git-receive-pack(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2034 | </dt> |
| 2035 | <dd> |
| 2036 | <p> |
| 2037 | Receive what is pushed into the repository. |
| 2038 | </p> |
| 2039 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2040 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2041 | <a href="git-shell.html">git-shell(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2042 | </dt> |
| 2043 | <dd> |
| 2044 | <p> |
Junio C Hamano | 3b4609d | 2010-09-30 00:04:34 | [diff] [blame] | 2045 | Restricted login shell for Git-only SSH access. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2046 | </p> |
| 2047 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2048 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2049 | <a href="git-upload-archive.html">git-upload-archive(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 2050 | </dt> |
| 2051 | <dd> |
| 2052 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 2053 | Send archive back to git-archive. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 2054 | </p> |
| 2055 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2056 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2057 | <a href="git-upload-pack.html">git-upload-pack(1)</a> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 2058 | </dt> |
| 2059 | <dd> |
| 2060 | <p> |
Junio C Hamano | 7c73c66 | 2007-01-19 00:37:50 | [diff] [blame] | 2061 | Send objects packed back to git-fetch-pack. |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 2062 | </p> |
| 2063 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2064 | </dl></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2065 | </div> |
| 2066 | <div class="sect2"> |
| 2067 | <h3 id="_internal_helper_commands">Internal helper commands</h3> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2068 | <div class="paragraph"><p>These are internal helper commands used by other commands; end |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2069 | users typically do not use them directly.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2070 | <div class="dlist"><dl> |
| 2071 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2072 | <a href="git-check-attr.html">git-check-attr(1)</a> |
Junio C Hamano | e90436a | 2007-04-22 07:22:13 | [diff] [blame] | 2073 | </dt> |
| 2074 | <dd> |
| 2075 | <p> |
Junio C Hamano | 9bd39c4 | 2008-11-13 01:54:44 | [diff] [blame] | 2076 | Display gitattributes information. |
Junio C Hamano | e90436a | 2007-04-22 07:22:13 | [diff] [blame] | 2077 | </p> |
| 2078 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2079 | <dt class="hdlist1"> |
Junio C Hamano | 36d5229 | 2013-01-25 21:32:36 | [diff] [blame] | 2080 | <a href="git-check-ignore.html">git-check-ignore(1)</a> |
| 2081 | </dt> |
| 2082 | <dd> |
| 2083 | <p> |
| 2084 | Debug gitignore / exclude files. |
| 2085 | </p> |
| 2086 | </dd> |
| 2087 | <dt class="hdlist1"> |
Junio C Hamano | 58f587a | 2013-07-22 19:20:59 | [diff] [blame] | 2088 | <a href="git-check-mailmap.html">git-check-mailmap(1)</a> |
| 2089 | </dt> |
| 2090 | <dd> |
| 2091 | <p> |
| 2092 | Show canonical names and email addresses of contacts. |
| 2093 | </p> |
| 2094 | </dd> |
| 2095 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2096 | <a href="git-check-ref-format.html">git-check-ref-format(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2097 | </dt> |
| 2098 | <dd> |
| 2099 | <p> |
Junio C Hamano | 1de7572 | 2009-03-26 08:39:38 | [diff] [blame] | 2100 | Ensures that a reference name is well formed. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2101 | </p> |
| 2102 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2103 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2104 | <a href="git-column.html">git-column(1)</a> |
Junio C Hamano | 22700fb | 2012-05-03 23:07:25 | [diff] [blame] | 2105 | </dt> |
| 2106 | <dd> |
| 2107 | <p> |
| 2108 | Display data in columns. |
| 2109 | </p> |
| 2110 | </dd> |
| 2111 | <dt class="hdlist1"> |
Junio C Hamano | 62e7937 | 2012-08-08 22:53:35 | [diff] [blame] | 2112 | <a href="git-credential.html">git-credential(1)</a> |
| 2113 | </dt> |
| 2114 | <dd> |
| 2115 | <p> |
| 2116 | Retrieve and store user credentials. |
| 2117 | </p> |
| 2118 | </dd> |
| 2119 | <dt class="hdlist1"> |
Junio C Hamano | d031611 | 2012-08-22 19:55:29 | [diff] [blame] | 2120 | <a href="git-credential-cache.html">git-credential-cache(1)</a> |
| 2121 | </dt> |
| 2122 | <dd> |
| 2123 | <p> |
| 2124 | Helper to temporarily store passwords in memory. |
| 2125 | </p> |
| 2126 | </dd> |
| 2127 | <dt class="hdlist1"> |
| 2128 | <a href="git-credential-store.html">git-credential-store(1)</a> |
| 2129 | </dt> |
| 2130 | <dd> |
| 2131 | <p> |
| 2132 | Helper to store credentials on disk. |
| 2133 | </p> |
| 2134 | </dd> |
| 2135 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2136 | <a href="git-fmt-merge-msg.html">git-fmt-merge-msg(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2137 | </dt> |
| 2138 | <dd> |
| 2139 | <p> |
| 2140 | Produce a merge commit message. |
| 2141 | </p> |
| 2142 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2143 | <dt class="hdlist1"> |
Junio C Hamano | 4c43d65 | 2014-10-20 21:14:29 | [diff] [blame] | 2144 | <a href="git-interpret-trailers.html">git-interpret-trailers(1)</a> |
| 2145 | </dt> |
| 2146 | <dd> |
| 2147 | <p> |
Junio C Hamano | fb5ffde | 2014-11-04 22:38:56 | [diff] [blame] | 2148 | help add structured information into commit messages. |
Junio C Hamano | 4c43d65 | 2014-10-20 21:14:29 | [diff] [blame] | 2149 | </p> |
| 2150 | </dd> |
| 2151 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2152 | <a href="git-mailinfo.html">git-mailinfo(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2153 | </dt> |
| 2154 | <dd> |
| 2155 | <p> |
| 2156 | Extracts patch and authorship from a single e-mail message. |
| 2157 | </p> |
| 2158 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2159 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2160 | <a href="git-mailsplit.html">git-mailsplit(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2161 | </dt> |
| 2162 | <dd> |
| 2163 | <p> |
| 2164 | Simple UNIX mbox splitter program. |
| 2165 | </p> |
| 2166 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2167 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2168 | <a href="git-merge-one-file.html">git-merge-one-file(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2169 | </dt> |
| 2170 | <dd> |
| 2171 | <p> |
| 2172 | The standard helper program to use with git-merge-index. |
| 2173 | </p> |
| 2174 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2175 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2176 | <a href="git-patch-id.html">git-patch-id(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2177 | </dt> |
| 2178 | <dd> |
| 2179 | <p> |
| 2180 | Compute unique ID for a patch. |
| 2181 | </p> |
| 2182 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2183 | <dt class="hdlist1"> |
Junio C Hamano | d031611 | 2012-08-22 19:55:29 | [diff] [blame] | 2184 | <a href="git-sh-i18n.html">git-sh-i18n(1)</a> |
| 2185 | </dt> |
| 2186 | <dd> |
| 2187 | <p> |
| 2188 | Git’s i18n setup code for shell scripts. |
| 2189 | </p> |
| 2190 | </dd> |
| 2191 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2192 | <a href="git-sh-setup.html">git-sh-setup(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2193 | </dt> |
| 2194 | <dd> |
| 2195 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2196 | Common Git shell script setup code. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2197 | </p> |
| 2198 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2199 | <dt class="hdlist1"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2200 | <a href="git-stripspace.html">git-stripspace(1)</a> |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2201 | </dt> |
| 2202 | <dd> |
| 2203 | <p> |
Junio C Hamano | 0df9271 | 2011-12-21 22:30:44 | [diff] [blame] | 2204 | Remove unnecessary whitespace. |
Junio C Hamano | 4ad294b | 2007-01-20 02:22:50 | [diff] [blame] | 2205 | </p> |
| 2206 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2207 | </dl></div> |
Junio C Hamano | b19b4f0 | 2006-10-29 20:47:22 | [diff] [blame] | 2208 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2209 | </div> |
| 2210 | </div> |
| 2211 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2212 | <h2 id="_configuration_mechanism">Configuration Mechanism</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2213 | <div class="sectionbody"> |
Junio C Hamano | 2da4ac4 | 2013-02-19 00:41:17 | [diff] [blame] | 2214 | <div class="paragraph"><p>Git uses a simple text format to store customizations that are per |
| 2215 | repository and are per user. Such a configuration file may look |
| 2216 | like this:</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2217 | <div class="listingblock"> |
| 2218 | <div class="content"> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2219 | <pre><code># |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2220 | # A '#' or ';' character indicates a comment. |
| 2221 | # |
| 2222 | |
| 2223 | ; core variables |
| 2224 | [core] |
| 2225 | ; Don't trust file modes |
| 2226 | filemode = false |
| 2227 | |
| 2228 | ; user identity |
| 2229 | [user] |
| 2230 | name = "Junio C Hamano" |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2231 | email = "gitster@pobox.com"</code></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2232 | </div></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2233 | <div class="paragraph"><p>Various commands read from the configuration file and adjust |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2234 | their operation accordingly. See <a href="git-config.html">git-config(1)</a> for a |
Junio C Hamano | 2da4ac4 | 2013-02-19 00:41:17 | [diff] [blame] | 2235 | list and more details about the configuration mechanism.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2236 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2237 | </div> |
| 2238 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2239 | <h2 id="_identifier_terminology">Identifier Terminology</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2240 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2241 | <div class="dlist"><dl> |
| 2242 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2243 | <object> |
| 2244 | </dt> |
| 2245 | <dd> |
| 2246 | <p> |
| 2247 | Indicates the object name for any type of object. |
| 2248 | </p> |
| 2249 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2250 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2251 | <blob> |
| 2252 | </dt> |
| 2253 | <dd> |
| 2254 | <p> |
| 2255 | Indicates a blob object name. |
| 2256 | </p> |
| 2257 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2258 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2259 | <tree> |
| 2260 | </dt> |
| 2261 | <dd> |
| 2262 | <p> |
| 2263 | Indicates a tree object name. |
| 2264 | </p> |
| 2265 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2266 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2267 | <commit> |
| 2268 | </dt> |
| 2269 | <dd> |
| 2270 | <p> |
| 2271 | Indicates a commit object name. |
| 2272 | </p> |
| 2273 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2274 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2275 | <tree-ish> |
| 2276 | </dt> |
| 2277 | <dd> |
| 2278 | <p> |
| 2279 | Indicates a tree, commit or tag object name. A |
| 2280 | command that takes a <tree-ish> argument ultimately wants to |
| 2281 | operate on a <tree> object but automatically dereferences |
| 2282 | <commit> and <tag> objects that point at a <tree>. |
| 2283 | </p> |
| 2284 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2285 | <dt class="hdlist1"> |
Junio C Hamano | 60f8aa8 | 2007-03-06 09:58:26 | [diff] [blame] | 2286 | <commit-ish> |
| 2287 | </dt> |
| 2288 | <dd> |
| 2289 | <p> |
| 2290 | Indicates a commit or tag object name. A |
| 2291 | command that takes a <commit-ish> argument ultimately wants to |
| 2292 | operate on a <commit> object but automatically dereferences |
| 2293 | <tag> objects that point at a <commit>. |
| 2294 | </p> |
| 2295 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2296 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2297 | <type> |
| 2298 | </dt> |
| 2299 | <dd> |
| 2300 | <p> |
| 2301 | Indicates that an object type is required. |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2302 | Currently one of: <code>blob</code>, <code>tree</code>, <code>commit</code>, or <code>tag</code>. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2303 | </p> |
| 2304 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2305 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2306 | <file> |
| 2307 | </dt> |
| 2308 | <dd> |
| 2309 | <p> |
| 2310 | Indicates a filename - almost always relative to the |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2311 | root of the tree structure <code>GIT_INDEX_FILE</code> describes. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2312 | </p> |
| 2313 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2314 | </dl></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2315 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2316 | </div> |
| 2317 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2318 | <h2 id="_symbolic_identifiers">Symbolic Identifiers</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2319 | <div class="sectionbody"> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2320 | <div class="paragraph"><p>Any Git command accepting any <object> can also use the following |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2321 | symbolic notation:</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2322 | <div class="dlist"><dl> |
| 2323 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2324 | HEAD |
| 2325 | </dt> |
| 2326 | <dd> |
| 2327 | <p> |
Junio C Hamano | 360e3a1 | 2011-07-13 23:51:56 | [diff] [blame] | 2328 | indicates the head of the current branch. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2329 | </p> |
| 2330 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2331 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2332 | <tag> |
| 2333 | </dt> |
| 2334 | <dd> |
| 2335 | <p> |
| 2336 | a valid tag <em>name</em> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2337 | (i.e. a <code>refs/tags/<tag></code> reference). |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2338 | </p> |
| 2339 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2340 | <dt class="hdlist1"> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2341 | <head> |
| 2342 | </dt> |
| 2343 | <dd> |
| 2344 | <p> |
| 2345 | a valid head <em>name</em> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2346 | (i.e. a <code>refs/heads/<head></code> reference). |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2347 | </p> |
| 2348 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2349 | </dl></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2350 | <div class="paragraph"><p>For a more complete list of ways to spell object names, see |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2351 | "SPECIFYING REVISIONS" section in <a href="gitrevisions.html">gitrevisions(7)</a>.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2352 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2353 | </div> |
| 2354 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2355 | <h2 id="_file_directory_structure">File/Directory Structure</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2356 | <div class="sectionbody"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2357 | <div class="paragraph"><p>Please see the <a href="gitrepository-layout.html">gitrepository-layout(5)</a> document.</p></div> |
| 2358 | <div class="paragraph"><p>Read <a href="githooks.html">githooks(5)</a> for more details about each hook.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2359 | <div class="paragraph"><p>Higher level SCMs may provide and manage additional information in the |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2360 | <code>$GIT_DIR</code>.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2361 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2362 | </div> |
| 2363 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2364 | <h2 id="_terminology">Terminology</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2365 | <div class="sectionbody"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2366 | <div class="paragraph"><p>Please see <a href="gitglossary.html">gitglossary(7)</a>.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2367 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2368 | </div> |
| 2369 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2370 | <h2 id="_environment_variables">Environment Variables</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2371 | <div class="sectionbody"> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2372 | <div class="paragraph"><p>Various Git commands use the following environment variables:</p></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2373 | <div class="sect2"> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2374 | <h3 id="_the_git_repository">The Git Repository</h3> |
| 2375 | <div class="paragraph"><p>These environment variables apply to <em>all</em> core Git commands. Nb: it |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2376 | is worth noting that they may be used/overridden by SCMS sitting above |
Junio C Hamano | d7ed404 | 2015-08-03 19:43:00 | [diff] [blame] | 2377 | Git so take care if using a foreign front-end.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2378 | <div class="dlist"><dl> |
| 2379 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2380 | <code>GIT_INDEX_FILE</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2381 | </dt> |
| 2382 | <dd> |
| 2383 | <p> |
| 2384 | This environment allows the specification of an alternate |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2385 | index file. If not specified, the default of <code>$GIT_DIR/index</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2386 | is used. |
| 2387 | </p> |
| 2388 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2389 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2390 | <code>GIT_INDEX_VERSION</code> |
Junio C Hamano | 81703b2 | 2014-03-14 22:00:27 | [diff] [blame] | 2391 | </dt> |
| 2392 | <dd> |
| 2393 | <p> |
| 2394 | This environment variable allows the specification of an index |
| 2395 | version for new repositories. It won’t affect existing index |
Junio C Hamano | ef57d1e | 2015-03-25 21:23:00 | [diff] [blame] | 2396 | files. By default index file version 2 or 3 is used. See |
| 2397 | <a href="git-update-index.html">git-update-index(1)</a> for more information. |
Junio C Hamano | 81703b2 | 2014-03-14 22:00:27 | [diff] [blame] | 2398 | </p> |
| 2399 | </dd> |
| 2400 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2401 | <code>GIT_OBJECT_DIRECTORY</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2402 | </dt> |
| 2403 | <dd> |
| 2404 | <p> |
| 2405 | If the object storage directory is specified via this |
| 2406 | environment variable then the sha1 directories are created |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2407 | underneath - otherwise the default <code>$GIT_DIR/objects</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2408 | directory is used. |
| 2409 | </p> |
| 2410 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2411 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2412 | <code>GIT_ALTERNATE_OBJECT_DIRECTORIES</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2413 | </dt> |
| 2414 | <dd> |
| 2415 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2416 | Due to the immutable nature of Git objects, old objects can be |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2417 | archived into shared, read-only directories. This variable |
Junio C Hamano | 05bf9c5 | 2008-07-03 09:21:58 | [diff] [blame] | 2418 | specifies a ":" separated (on Windows ";" separated) list |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2419 | of Git object directories which can be used to search for Git |
Junio C Hamano | 05bf9c5 | 2008-07-03 09:21:58 | [diff] [blame] | 2420 | objects. New objects will not be written to these directories. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2421 | </p> |
| 2422 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2423 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2424 | <code>GIT_DIR</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2425 | </dt> |
| 2426 | <dd> |
| 2427 | <p> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2428 | If the <code>GIT_DIR</code> environment variable is set then it |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2429 | specifies a path to use instead of the default <code>.git</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2430 | for the base of the repository. |
Junio C Hamano | 92d8037 | 2016-07-13 22:00:05 | [diff] [blame] | 2431 | The <code>--git-dir</code> command-line option also sets this value. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2432 | </p> |
| 2433 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2434 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2435 | <code>GIT_WORK_TREE</code> |
Junio C Hamano | d526ba9 | 2007-07-02 00:17:42 | [diff] [blame] | 2436 | </dt> |
| 2437 | <dd> |
| 2438 | <p> |
Junio C Hamano | f1f5a7b | 2013-06-11 22:23:52 | [diff] [blame] | 2439 | Set the path to the root of the working tree. |
Junio C Hamano | 92d8037 | 2016-07-13 22:00:05 | [diff] [blame] | 2440 | This can also be controlled by the <code>--work-tree</code> command-line |
Junio C Hamano | d526ba9 | 2007-07-02 00:17:42 | [diff] [blame] | 2441 | option and the core.worktree configuration variable. |
| 2442 | </p> |
| 2443 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2444 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2445 | <code>GIT_NAMESPACE</code> |
Junio C Hamano | f727901 | 2011-08-18 06:13:13 | [diff] [blame] | 2446 | </dt> |
| 2447 | <dd> |
| 2448 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2449 | Set the Git namespace; see <a href="gitnamespaces.html">gitnamespaces(7)</a> for details. |
Junio C Hamano | 92d8037 | 2016-07-13 22:00:05 | [diff] [blame] | 2450 | The <code>--namespace</code> command-line option also sets this value. |
Junio C Hamano | f727901 | 2011-08-18 06:13:13 | [diff] [blame] | 2451 | </p> |
| 2452 | </dd> |
| 2453 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2454 | <code>GIT_CEILING_DIRECTORIES</code> |
Junio C Hamano | 1504827 | 2008-07-07 22:10:48 | [diff] [blame] | 2455 | </dt> |
| 2456 | <dd> |
| 2457 | <p> |
Junio C Hamano | 6806162 | 2013-03-01 22:13:37 | [diff] [blame] | 2458 | This should be a colon-separated list of absolute paths. If |
| 2459 | set, it is a list of directories that Git should not chdir up |
| 2460 | into while looking for a repository directory (useful for |
| 2461 | excluding slow-loading network directories). It will not |
| 2462 | exclude the current working directory or a GIT_DIR set on the |
| 2463 | command line or in the environment. Normally, Git has to read |
| 2464 | the entries in this list and resolve any symlink that |
| 2465 | might be present in order to compare them with the current |
| 2466 | directory. However, if even this access is slow, you |
| 2467 | can add an empty entry to the list to tell Git that the |
| 2468 | subsequent entries are not symlinks and needn’t be resolved; |
| 2469 | e.g., |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2470 | <code>GIT_CEILING_DIRECTORIES=/maybe/symlink::/very/slow/non/symlink</code>. |
Junio C Hamano | 1504827 | 2008-07-07 22:10:48 | [diff] [blame] | 2471 | </p> |
| 2472 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2473 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2474 | <code>GIT_DISCOVERY_ACROSS_FILESYSTEM</code> |
Junio C Hamano | cc7636a | 2010-05-21 14:57:53 | [diff] [blame] | 2475 | </dt> |
| 2476 | <dd> |
| 2477 | <p> |
| 2478 | When run in a directory that does not have ".git" repository |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2479 | directory, Git tries to find such a directory in the parent |
Junio C Hamano | cc7636a | 2010-05-21 14:57:53 | [diff] [blame] | 2480 | directories to find the top of the working tree, but by default it |
| 2481 | does not cross filesystem boundaries. This environment variable |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2482 | can be set to true to tell Git not to stop at filesystem |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2483 | boundaries. Like <code>GIT_CEILING_DIRECTORIES</code>, this will not affect |
| 2484 | an explicit repository directory set via <code>GIT_DIR</code> or on the |
Junio C Hamano | cc7636a | 2010-05-21 14:57:53 | [diff] [blame] | 2485 | command line. |
| 2486 | </p> |
| 2487 | </dd> |
Junio C Hamano | 4cc4a84 | 2015-05-11 22:41:02 | [diff] [blame] | 2488 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2489 | <code>GIT_COMMON_DIR</code> |
Junio C Hamano | 4cc4a84 | 2015-05-11 22:41:02 | [diff] [blame] | 2490 | </dt> |
| 2491 | <dd> |
| 2492 | <p> |
| 2493 | If this variable is set to a path, non-worktree files that are |
| 2494 | normally in $GIT_DIR will be taken from this path |
| 2495 | instead. Worktree-specific files such as HEAD or index are |
| 2496 | taken from $GIT_DIR. See <a href="gitrepository-layout.html">gitrepository-layout(5)</a> and |
Junio C Hamano | 1e4fff2 | 2015-07-17 22:44:48 | [diff] [blame] | 2497 | <a href="git-worktree.html">git-worktree(1)</a> for |
Junio C Hamano | 4cc4a84 | 2015-05-11 22:41:02 | [diff] [blame] | 2498 | details. This variable has lower precedence than other path |
| 2499 | variables such as GIT_INDEX_FILE, GIT_OBJECT_DIRECTORY… |
| 2500 | </p> |
| 2501 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2502 | </dl></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2503 | </div> |
| 2504 | <div class="sect2"> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2505 | <h3 id="_git_commits">Git Commits</h3> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2506 | <div class="dlist"><dl> |
| 2507 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2508 | <code>GIT_AUTHOR_NAME</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2509 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2510 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2511 | <code>GIT_AUTHOR_EMAIL</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2512 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2513 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2514 | <code>GIT_AUTHOR_DATE</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2515 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2516 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2517 | <code>GIT_COMMITTER_NAME</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2518 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2519 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2520 | <code>GIT_COMMITTER_EMAIL</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2521 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2522 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2523 | <code>GIT_COMMITTER_DATE</code> |
Junio C Hamano | 469d60e | 2007-04-29 18:30:34 | [diff] [blame] | 2524 | </dt> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2525 | <dt class="hdlist1"> |
Junio C Hamano | 469d60e | 2007-04-29 18:30:34 | [diff] [blame] | 2526 | <em>EMAIL</em> |
| 2527 | </dt> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2528 | <dd> |
| 2529 | <p> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2530 | see <a href="git-commit-tree.html">git-commit-tree(1)</a> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2531 | </p> |
| 2532 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2533 | </dl></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2534 | </div> |
| 2535 | <div class="sect2"> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2536 | <h3 id="_git_diffs">Git Diffs</h3> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2537 | <div class="dlist"><dl> |
| 2538 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2539 | <code>GIT_DIFF_OPTS</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2540 | </dt> |
Junio C Hamano | 1c43712 | 2006-11-28 02:22:25 | [diff] [blame] | 2541 | <dd> |
| 2542 | <p> |
| 2543 | Only valid setting is "--unified=??" or "-u??" to set the |
| 2544 | number of context lines shown when a unified diff is created. |
| 2545 | This takes precedence over any "-U" or "--unified" option |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2546 | value passed on the Git diff command line. |
Junio C Hamano | 1c43712 | 2006-11-28 02:22:25 | [diff] [blame] | 2547 | </p> |
| 2548 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2549 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2550 | <code>GIT_EXTERNAL_DIFF</code> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2551 | </dt> |
| 2552 | <dd> |
| 2553 | <p> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2554 | When the environment variable <code>GIT_EXTERNAL_DIFF</code> is set, the |
Junio C Hamano | 1c43712 | 2006-11-28 02:22:25 | [diff] [blame] | 2555 | program named by it is called, instead of the diff invocation |
| 2556 | described above. For a path that is added, removed, or modified, |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2557 | <code>GIT_EXTERNAL_DIFF</code> is called with 7 parameters: |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2558 | </p> |
Junio C Hamano | 1c43712 | 2006-11-28 02:22:25 | [diff] [blame] | 2559 | <div class="literalblock"> |
| 2560 | <div class="content"> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2561 | <pre><code>path old-file old-hex old-mode new-file new-hex new-mode</code></pre> |
Junio C Hamano | 1c43712 | 2006-11-28 02:22:25 | [diff] [blame] | 2562 | </div></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2563 | <div class="paragraph"><p>where:</p></div> |
| 2564 | </dd> |
| 2565 | <dt class="hdlist1"> |
Junio C Hamano | 1c43712 | 2006-11-28 02:22:25 | [diff] [blame] | 2566 | <old|new>-file |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2567 | </dt> |
| 2568 | <dd> |
| 2569 | <p> |
Junio C Hamano | 1c43712 | 2006-11-28 02:22:25 | [diff] [blame] | 2570 | are files GIT_EXTERNAL_DIFF can use to read the |
| 2571 | contents of <old|new>, |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2572 | </p> |
| 2573 | </dd> |
| 2574 | <dt class="hdlist1"> |
Junio C Hamano | 1c43712 | 2006-11-28 02:22:25 | [diff] [blame] | 2575 | <old|new>-hex |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2576 | </dt> |
| 2577 | <dd> |
| 2578 | <p> |
Junio C Hamano | e3f080d | 2013-04-22 02:27:13 | [diff] [blame] | 2579 | are the 40-hexdigit SHA-1 hashes, |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2580 | </p> |
| 2581 | </dd> |
| 2582 | <dt class="hdlist1"> |
Junio C Hamano | 1c43712 | 2006-11-28 02:22:25 | [diff] [blame] | 2583 | <old|new>-mode |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2584 | </dt> |
| 2585 | <dd> |
| 2586 | <p> |
Junio C Hamano | 1c43712 | 2006-11-28 02:22:25 | [diff] [blame] | 2587 | are the octal representation of the file modes. |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2588 | </p> |
Junio C Hamano | f75a940 | 2011-04-14 23:39:23 | [diff] [blame] | 2589 | <div class="paragraph"><p>The file parameters can point at the user’s working file |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2590 | (e.g. <code>new-file</code> in "git-diff-files"), <code>/dev/null</code> (e.g. <code>old-file</code> |
| 2591 | when a new file is added), or a temporary file (e.g. <code>old-file</code> in the |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2592 | index). <code>GIT_EXTERNAL_DIFF</code> should not worry about unlinking the |
| 2593 | temporary file --- it is removed when <code>GIT_EXTERNAL_DIFF</code> exits.</p></div> |
| 2594 | <div class="paragraph"><p>For a path that is unmerged, <code>GIT_EXTERNAL_DIFF</code> is called with 1 |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2595 | parameter, <path>.</p></div> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2596 | <div class="paragraph"><p>For each path <code>GIT_EXTERNAL_DIFF</code> is called, two environment variables, |
| 2597 | <code>GIT_DIFF_PATH_COUNTER</code> and <code>GIT_DIFF_PATH_TOTAL</code> are set.</p></div> |
Junio C Hamano | b1acf02 | 2013-12-28 00:33:16 | [diff] [blame] | 2598 | </dd> |
| 2599 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2600 | <code>GIT_DIFF_PATH_COUNTER</code> |
Junio C Hamano | b1acf02 | 2013-12-28 00:33:16 | [diff] [blame] | 2601 | </dt> |
| 2602 | <dd> |
| 2603 | <p> |
| 2604 | A 1-based counter incremented by one for every path. |
| 2605 | </p> |
| 2606 | </dd> |
| 2607 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2608 | <code>GIT_DIFF_PATH_TOTAL</code> |
Junio C Hamano | b1acf02 | 2013-12-28 00:33:16 | [diff] [blame] | 2609 | </dt> |
| 2610 | <dd> |
| 2611 | <p> |
| 2612 | The total number of paths. |
| 2613 | </p> |
Junio C Hamano | f75a940 | 2011-04-14 23:39:23 | [diff] [blame] | 2614 | </dd> |
| 2615 | </dl></div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2616 | </div> |
| 2617 | <div class="sect2"> |
| 2618 | <h3 id="_other">other</h3> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2619 | <div class="dlist"><dl> |
| 2620 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2621 | <code>GIT_MERGE_VERBOSITY</code> |
Junio C Hamano | 1e6e006 | 2007-07-13 05:33:25 | [diff] [blame] | 2622 | </dt> |
| 2623 | <dd> |
| 2624 | <p> |
| 2625 | A number controlling the amount of output shown by |
| 2626 | the recursive merge strategy. Overrides merge.verbosity. |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2627 | See <a href="git-merge.html">git-merge(1)</a> |
Junio C Hamano | 1e6e006 | 2007-07-13 05:33:25 | [diff] [blame] | 2628 | </p> |
| 2629 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2630 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2631 | <code>GIT_PAGER</code> |
Junio C Hamano | 85e45fa | 2006-08-13 07:47:41 | [diff] [blame] | 2632 | </dt> |
| 2633 | <dd> |
| 2634 | <p> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2635 | This environment variable overrides <code>$PAGER</code>. If it is set |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2636 | to an empty string or to the value "cat", Git will not launch |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2637 | a pager. See also the <code>core.pager</code> option in |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2638 | <a href="git-config.html">git-config(1)</a>. |
Junio C Hamano | 85e45fa | 2006-08-13 07:47:41 | [diff] [blame] | 2639 | </p> |
| 2640 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2641 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2642 | <code>GIT_EDITOR</code> |
Junio C Hamano | 0ff9816 | 2012-03-31 18:19:09 | [diff] [blame] | 2643 | </dt> |
| 2644 | <dd> |
| 2645 | <p> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2646 | This environment variable overrides <code>$EDITOR</code> and <code>$VISUAL</code>. |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2647 | It is used by several Git commands when, on interactive mode, |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2648 | an editor is to be launched. See also <a href="git-var.html">git-var(1)</a> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2649 | and the <code>core.editor</code> option in <a href="git-config.html">git-config(1)</a>. |
Junio C Hamano | 0ff9816 | 2012-03-31 18:19:09 | [diff] [blame] | 2650 | </p> |
| 2651 | </dd> |
| 2652 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2653 | <code>GIT_SSH</code> |
Junio C Hamano | 4cd1c0e | 2007-08-06 04:39:14 | [diff] [blame] | 2654 | </dt> |
Junio C Hamano | fad8412 | 2014-12-05 23:38:06 | [diff] [blame] | 2655 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2656 | <code>GIT_SSH_COMMAND</code> |
Junio C Hamano | fad8412 | 2014-12-05 23:38:06 | [diff] [blame] | 2657 | </dt> |
Junio C Hamano | 4cd1c0e | 2007-08-06 04:39:14 | [diff] [blame] | 2658 | <dd> |
| 2659 | <p> |
Junio C Hamano | fad8412 | 2014-12-05 23:38:06 | [diff] [blame] | 2660 | If either of these environment variables is set then <em>git fetch</em> |
| 2661 | and <em>git push</em> will use the specified command instead of <em>ssh</em> |
| 2662 | when they need to connect to a remote system. |
| 2663 | The command will be given exactly two or four arguments: the |
| 2664 | <em>username@host</em> (or just <em>host</em>) from the URL and the shell |
| 2665 | command to execute on that remote system, optionally preceded by |
Junio C Hamano | 92d8037 | 2016-07-13 22:00:05 | [diff] [blame] | 2666 | <code>-p</code> (literally) and the <em>port</em> from the URL when it specifies |
Junio C Hamano | fad8412 | 2014-12-05 23:38:06 | [diff] [blame] | 2667 | something other than the default SSH port. |
Junio C Hamano | 4cd1c0e | 2007-08-06 04:39:14 | [diff] [blame] | 2668 | </p> |
Junio C Hamano | fad8412 | 2014-12-05 23:38:06 | [diff] [blame] | 2669 | <div class="paragraph"><p><code>$GIT_SSH_COMMAND</code> takes precedence over <code>$GIT_SSH</code>, and is interpreted |
| 2670 | by the shell, which allows additional arguments to be included. |
| 2671 | <code>$GIT_SSH</code> on the other hand must be just the path to a program |
| 2672 | (which can be a wrapper shell script, if additional arguments are |
| 2673 | needed).</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2674 | <div class="paragraph"><p>Usually it is easier to configure any desired options through your |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2675 | personal <code>.ssh/config</code> file. Please consult your ssh documentation |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2676 | for further details.</p></div> |
Junio C Hamano | 4cd1c0e | 2007-08-06 04:39:14 | [diff] [blame] | 2677 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2678 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2679 | <code>GIT_ASKPASS</code> |
Junio C Hamano | 3fd7b26 | 2010-09-08 22:44:20 | [diff] [blame] | 2680 | </dt> |
| 2681 | <dd> |
| 2682 | <p> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2683 | If this environment variable is set, then Git commands which need to |
Junio C Hamano | 3fd7b26 | 2010-09-08 22:44:20 | [diff] [blame] | 2684 | acquire passwords or passphrases (e.g. for HTTP or IMAP authentication) |
Junio C Hamano | e1aeb5e | 2014-06-06 19:16:29 | [diff] [blame] | 2685 | will call this program with a suitable prompt as command-line argument |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2686 | and read the password from its STDOUT. See also the <code>core.askPass</code> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2687 | option in <a href="git-config.html">git-config(1)</a>. |
Junio C Hamano | 3fd7b26 | 2010-09-08 22:44:20 | [diff] [blame] | 2688 | </p> |
| 2689 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2690 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2691 | <code>GIT_TERMINAL_PROMPT</code> |
Junio C Hamano | 6df93d9 | 2014-12-22 22:48:09 | [diff] [blame] | 2692 | </dt> |
| 2693 | <dd> |
| 2694 | <p> |
| 2695 | If this environment variable is set to <code>0</code>, git will not prompt |
| 2696 | on the terminal (e.g., when asking for HTTP authentication). |
| 2697 | </p> |
| 2698 | </dd> |
| 2699 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2700 | <code>GIT_CONFIG_NOSYSTEM</code> |
Junio C Hamano | eec745b | 2013-01-07 08:08:20 | [diff] [blame] | 2701 | </dt> |
| 2702 | <dd> |
| 2703 | <p> |
| 2704 | Whether to skip reading settings from the system-wide |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2705 | <code>$(prefix)/etc/gitconfig</code> file. This environment variable can |
| 2706 | be used along with <code>$HOME</code> and <code>$XDG_CONFIG_HOME</code> to create a |
Junio C Hamano | eec745b | 2013-01-07 08:08:20 | [diff] [blame] | 2707 | predictable environment for a picky script, or you can set it |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2708 | temporarily to avoid using a buggy <code>/etc/gitconfig</code> file while |
Junio C Hamano | eec745b | 2013-01-07 08:08:20 | [diff] [blame] | 2709 | waiting for someone with sufficient permissions to fix it. |
| 2710 | </p> |
| 2711 | </dd> |
| 2712 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2713 | <code>GIT_FLUSH</code> |
Junio C Hamano | 401939f | 2007-07-01 06:34:30 | [diff] [blame] | 2714 | </dt> |
| 2715 | <dd> |
| 2716 | <p> |
| 2717 | If this environment variable is set to "1", then commands such |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 2718 | as <em>git blame</em> (in incremental mode), <em>git rev-list</em>, <em>git log</em>, |
Junio C Hamano | 0241d05 | 2013-08-30 23:52:17 | [diff] [blame] | 2719 | <em>git check-attr</em> and <em>git check-ignore</em> will |
Junio C Hamano | c710296 | 2013-05-29 23:57:17 | [diff] [blame] | 2720 | force a flush of the output stream after each record have been |
| 2721 | flushed. If this |
Junio C Hamano | 401939f | 2007-07-01 06:34:30 | [diff] [blame] | 2722 | variable is set to "0", the output of these commands will be done |
| 2723 | using completely buffered I/O. If this environment variable is |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2724 | not set, Git will choose buffered or record-oriented flushing |
Junio C Hamano | 401939f | 2007-07-01 06:34:30 | [diff] [blame] | 2725 | based on whether stdout appears to be redirected to a file or not. |
| 2726 | </p> |
| 2727 | </dd> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2728 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2729 | <code>GIT_TRACE</code> |
Junio C Hamano | 7ccb9fd | 2006-07-15 01:38:40 | [diff] [blame] | 2730 | </dt> |
| 2731 | <dd> |
| 2732 | <p> |
Junio C Hamano | dbe5105 | 2014-07-22 19:39:51 | [diff] [blame] | 2733 | Enables general trace messages, e.g. alias expansion, built-in |
| 2734 | command execution and external command execution. |
Junio C Hamano | 7ccb9fd | 2006-07-15 01:38:40 | [diff] [blame] | 2735 | </p> |
Junio C Hamano | dbe5105 | 2014-07-22 19:39:51 | [diff] [blame] | 2736 | <div class="paragraph"><p>If this variable is set to "1", "2" or "true" (comparison |
| 2737 | is case insensitive), trace messages will be printed to |
| 2738 | stderr.</p></div> |
| 2739 | <div class="paragraph"><p>If the variable is set to an integer value greater than 2 |
| 2740 | and lower than 10 (strictly) then Git will interpret this |
| 2741 | value as an open file descriptor and will try to write the |
| 2742 | trace messages into this file descriptor.</p></div> |
| 2743 | <div class="paragraph"><p>Alternatively, if the variable is set to an absolute path |
| 2744 | (starting with a <em>/</em> character), Git will interpret this |
| 2745 | as a file path and will try to write the trace messages |
| 2746 | into it.</p></div> |
| 2747 | <div class="paragraph"><p>Unsetting the variable, or setting it to empty, "0" or |
| 2748 | "false" (case insensitive) disables trace messages.</p></div> |
Junio C Hamano | 7ccb9fd | 2006-07-15 01:38:40 | [diff] [blame] | 2749 | </dd> |
Junio C Hamano | abad6da | 2013-01-06 09:06:32 | [diff] [blame] | 2750 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2751 | <code>GIT_TRACE_PACK_ACCESS</code> |
Junio C Hamano | fa1d349 | 2013-06-20 23:39:43 | [diff] [blame] | 2752 | </dt> |
| 2753 | <dd> |
| 2754 | <p> |
Junio C Hamano | dbe5105 | 2014-07-22 19:39:51 | [diff] [blame] | 2755 | Enables trace messages for all accesses to any packs. For each |
Junio C Hamano | fa1d349 | 2013-06-20 23:39:43 | [diff] [blame] | 2756 | access, the pack file name and an offset in the pack is |
| 2757 | recorded. This may be helpful for troubleshooting some |
| 2758 | pack-related performance problems. |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2759 | See <code>GIT_TRACE</code> for available trace output options. |
Junio C Hamano | fa1d349 | 2013-06-20 23:39:43 | [diff] [blame] | 2760 | </p> |
| 2761 | </dd> |
| 2762 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2763 | <code>GIT_TRACE_PACKET</code> |
Junio C Hamano | fa1d349 | 2013-06-20 23:39:43 | [diff] [blame] | 2764 | </dt> |
| 2765 | <dd> |
| 2766 | <p> |
Junio C Hamano | dbe5105 | 2014-07-22 19:39:51 | [diff] [blame] | 2767 | Enables trace messages for all packets coming in or out of a |
| 2768 | given program. This can help with debugging object negotiation |
| 2769 | or other protocol issues. Tracing is turned off at a packet |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2770 | starting with "PACK" (but see <code>GIT_TRACE_PACKFILE</code> below). |
| 2771 | See <code>GIT_TRACE</code> for available trace output options. |
Junio C Hamano | dbe5105 | 2014-07-22 19:39:51 | [diff] [blame] | 2772 | </p> |
| 2773 | </dd> |
| 2774 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2775 | <code>GIT_TRACE_PACKFILE</code> |
Junio C Hamano | d7ed404 | 2015-08-03 19:43:00 | [diff] [blame] | 2776 | </dt> |
| 2777 | <dd> |
| 2778 | <p> |
| 2779 | Enables tracing of packfiles sent or received by a |
| 2780 | given program. Unlike other trace output, this trace is |
| 2781 | verbatim: no headers, and no quoting of binary data. You almost |
| 2782 | certainly want to direct into a file (e.g., |
| 2783 | <code>GIT_TRACE_PACKFILE=/tmp/my.pack</code>) rather than displaying it on |
| 2784 | the terminal or mixing it with other trace output. |
| 2785 | </p> |
| 2786 | <div class="paragraph"><p>Note that this is currently only implemented for the client side |
| 2787 | of clones and fetches.</p></div> |
| 2788 | </dd> |
| 2789 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2790 | <code>GIT_TRACE_PERFORMANCE</code> |
Junio C Hamano | dbe5105 | 2014-07-22 19:39:51 | [diff] [blame] | 2791 | </dt> |
| 2792 | <dd> |
| 2793 | <p> |
| 2794 | Enables performance related trace messages, e.g. total execution |
| 2795 | time of each Git command. |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2796 | See <code>GIT_TRACE</code> for available trace output options. |
Junio C Hamano | dbe5105 | 2014-07-22 19:39:51 | [diff] [blame] | 2797 | </p> |
| 2798 | </dd> |
| 2799 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2800 | <code>GIT_TRACE_SETUP</code> |
Junio C Hamano | dbe5105 | 2014-07-22 19:39:51 | [diff] [blame] | 2801 | </dt> |
| 2802 | <dd> |
| 2803 | <p> |
| 2804 | Enables trace messages printing the .git, working tree and current |
| 2805 | working directory after Git has completed its setup phase. |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2806 | See <code>GIT_TRACE</code> for available trace output options. |
Junio C Hamano | dbe5105 | 2014-07-22 19:39:51 | [diff] [blame] | 2807 | </p> |
| 2808 | </dd> |
| 2809 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2810 | <code>GIT_TRACE_SHALLOW</code> |
Junio C Hamano | dbe5105 | 2014-07-22 19:39:51 | [diff] [blame] | 2811 | </dt> |
| 2812 | <dd> |
| 2813 | <p> |
| 2814 | Enables trace messages that can help debugging fetching / |
| 2815 | cloning of shallow repositories. |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2816 | See <code>GIT_TRACE</code> for available trace output options. |
Junio C Hamano | fa1d349 | 2013-06-20 23:39:43 | [diff] [blame] | 2817 | </p> |
| 2818 | </dd> |
| 2819 | <dt class="hdlist1"> |
Junio C Hamano | c6c919b | 2016-07-06 21:34:15 | [diff] [blame] | 2820 | <code>GIT_TRACE_CURL</code> |
| 2821 | </dt> |
| 2822 | <dd> |
| 2823 | <p> |
| 2824 | Enables a curl full trace dump of all incoming and outgoing data, |
| 2825 | including descriptive information, of the git transport protocol. |
| 2826 | This is similar to doing curl <code>--trace-ascii</code> on the command line. |
| 2827 | This option overrides setting the <code>GIT_CURL_VERBOSE</code> environment |
| 2828 | variable. |
| 2829 | See <code>GIT_TRACE</code> for available trace output options. |
| 2830 | </p> |
| 2831 | </dd> |
| 2832 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2833 | <code>GIT_LITERAL_PATHSPECS</code> |
Junio C Hamano | abad6da | 2013-01-06 09:06:32 | [diff] [blame] | 2834 | </dt> |
| 2835 | <dd> |
| 2836 | <p> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2837 | Setting this variable to <code>1</code> will cause Git to treat all |
Junio C Hamano | abad6da | 2013-01-06 09:06:32 | [diff] [blame] | 2838 | pathspecs literally, rather than as glob patterns. For example, |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2839 | running <code>GIT_LITERAL_PATHSPECS=1 git log -- '*.c'</code> will search |
| 2840 | for commits that touch the path <code>*.c</code>, not any paths that the |
| 2841 | glob <code>*.c</code> matches. You might want this if you are feeding |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2842 | literal paths to Git (e.g., paths previously given to you by |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2843 | <code>git ls-tree</code>, <code>--raw</code> diff output, etc). |
Junio C Hamano | abad6da | 2013-01-06 09:06:32 | [diff] [blame] | 2844 | </p> |
| 2845 | </dd> |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 2846 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2847 | <code>GIT_GLOB_PATHSPECS</code> |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 2848 | </dt> |
| 2849 | <dd> |
| 2850 | <p> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2851 | Setting this variable to <code>1</code> will cause Git to treat all |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 2852 | pathspecs as glob patterns (aka "glob" magic). |
| 2853 | </p> |
| 2854 | </dd> |
| 2855 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2856 | <code>GIT_NOGLOB_PATHSPECS</code> |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 2857 | </dt> |
| 2858 | <dd> |
| 2859 | <p> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2860 | Setting this variable to <code>1</code> will cause Git to treat all |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 2861 | pathspecs as literal (aka "literal" magic). |
| 2862 | </p> |
| 2863 | </dd> |
| 2864 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2865 | <code>GIT_ICASE_PATHSPECS</code> |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 2866 | </dt> |
| 2867 | <dd> |
| 2868 | <p> |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2869 | Setting this variable to <code>1</code> will cause Git to treat all |
Junio C Hamano | 8eac268 | 2013-09-09 22:35:20 | [diff] [blame] | 2870 | pathspecs as case-insensitive. |
| 2871 | </p> |
| 2872 | </dd> |
Junio C Hamano | aef7644 | 2013-10-18 22:11:27 | [diff] [blame] | 2873 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2874 | <code>GIT_REFLOG_ACTION</code> |
Junio C Hamano | aef7644 | 2013-10-18 22:11:27 | [diff] [blame] | 2875 | </dt> |
| 2876 | <dd> |
| 2877 | <p> |
| 2878 | When a ref is updated, reflog entries are created to keep |
| 2879 | track of the reason why the ref was updated (which is |
| 2880 | typically the name of the high-level command that updated |
| 2881 | the ref), in addition to the old and new values of the ref. |
| 2882 | A scripted Porcelain command can use set_reflog_action |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2883 | helper function in <code>git-sh-setup</code> to set its name to this |
Junio C Hamano | aef7644 | 2013-10-18 22:11:27 | [diff] [blame] | 2884 | variable when it is invoked as the top level command by the |
| 2885 | end user, to be recorded in the body of the reflog. |
| 2886 | </p> |
| 2887 | </dd> |
Junio C Hamano | ef57d1e | 2015-03-25 21:23:00 | [diff] [blame] | 2888 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2889 | <code>GIT_REF_PARANOIA</code> |
Junio C Hamano | ef57d1e | 2015-03-25 21:23:00 | [diff] [blame] | 2890 | </dt> |
| 2891 | <dd> |
| 2892 | <p> |
| 2893 | If set to <code>1</code>, include broken or badly named refs when iterating |
| 2894 | over lists of refs. In a normal, non-corrupted repository, this |
| 2895 | does nothing. However, enabling it may help git to detect and |
| 2896 | abort some operations in the presence of broken refs. Git sets |
| 2897 | this variable automatically when performing destructive |
| 2898 | operations like <a href="git-prune.html">git-prune(1)</a>. You should not need to set |
| 2899 | it yourself unless you want to be paranoid about making sure |
| 2900 | an operation has touched every ref (e.g., because you are |
| 2901 | cloning a repository to make a backup). |
| 2902 | </p> |
| 2903 | </dd> |
Junio C Hamano | 1eb5609 | 2015-10-05 20:39:53 | [diff] [blame] | 2904 | <dt class="hdlist1"> |
Junio C Hamano | 042f214 | 2016-06-27 18:05:05 | [diff] [blame] | 2905 | <code>GIT_ALLOW_PROTOCOL</code> |
Junio C Hamano | 1eb5609 | 2015-10-05 20:39:53 | [diff] [blame] | 2906 | </dt> |
| 2907 | <dd> |
| 2908 | <p> |
| 2909 | If set, provide a colon-separated list of protocols which are |
| 2910 | allowed to be used with fetch/push/clone. This is useful to |
| 2911 | restrict recursive submodule initialization from an untrusted |
| 2912 | repository. Any protocol not mentioned will be disallowed (i.e., |
| 2913 | this is a whitelist, not a blacklist). If the variable is not |
| 2914 | set at all, all protocols are enabled. The protocol names |
| 2915 | currently used by git are: |
| 2916 | </p> |
| 2917 | <div class="ulist"><ul> |
| 2918 | <li> |
| 2919 | <p> |
| 2920 | <code>file</code>: any local file-based path (including <code>file://</code> URLs, |
| 2921 | or local paths) |
| 2922 | </p> |
| 2923 | </li> |
| 2924 | <li> |
| 2925 | <p> |
| 2926 | <code>git</code>: the anonymous git protocol over a direct TCP |
| 2927 | connection (or proxy, if configured) |
| 2928 | </p> |
| 2929 | </li> |
| 2930 | <li> |
| 2931 | <p> |
| 2932 | <code>ssh</code>: git over ssh (including <code>host:path</code> syntax, |
Junio C Hamano | 8f7d623 | 2016-03-16 22:00:58 | [diff] [blame] | 2933 | <code>ssh://</code>, etc). |
Junio C Hamano | 1eb5609 | 2015-10-05 20:39:53 | [diff] [blame] | 2934 | </p> |
| 2935 | </li> |
| 2936 | <li> |
| 2937 | <p> |
Junio C Hamano | 1eb5609 | 2015-10-05 20:39:53 | [diff] [blame] | 2938 | <code>http</code>: git over http, both "smart http" and "dumb http". |
| 2939 | Note that this does <em>not</em> include <code>https</code>; if you want both, |
| 2940 | you should specify both as <code>http:https</code>. |
| 2941 | </p> |
| 2942 | </li> |
| 2943 | <li> |
| 2944 | <p> |
| 2945 | any external helpers are named by their protocol (e.g., use |
| 2946 | <code>hg</code> to allow the <code>git-remote-hg</code> helper) |
| 2947 | </p> |
| 2948 | </li> |
| 2949 | </ul></div> |
| 2950 | </dd> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2951 | </dl></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2952 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 2953 | </div> |
| 2954 | </div> |
| 2955 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2956 | <h2 id="_discussion_a_id_discussion_a">Discussion<a id="Discussion"></a></h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2957 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2958 | <div class="paragraph"><p>More detail on the following is available from the |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2959 | <a href="user-manual.html#git-concepts">Git concepts chapter of the |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 2960 | user-manual</a> and <a href="gitcore-tutorial.html">gitcore-tutorial(7)</a>.</p></div> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 2961 | <div class="paragraph"><p>A Git project normally consists of a working directory with a ".git" |
Junio C Hamano | 597ffcf | 2007-09-17 17:33:15 | [diff] [blame] | 2962 | subdirectory at the top level. The .git directory contains, among other |
| 2963 | things, a compressed object database representing the complete history |
| 2964 | of the project, an "index" file which links that history to the current |
| 2965 | contents of the working tree, and named pointers into that history such |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2966 | as tags and branch heads.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2967 | <div class="paragraph"><p>The object database contains objects of three main types: blobs, which |
Junio C Hamano | 597ffcf | 2007-09-17 17:33:15 | [diff] [blame] | 2968 | hold file data; trees, which point to blobs and other trees to build up |
Junio C Hamano | fe98605 | 2007-12-19 07:33:38 | [diff] [blame] | 2969 | directory hierarchies; and commits, which each reference a single tree |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2970 | and some number of parent commits.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2971 | <div class="paragraph"><p>The commit, equivalent to what other systems call a "changeset" or |
| 2972 | "version", represents a step in the project’s history, and each parent |
Junio C Hamano | 597ffcf | 2007-09-17 17:33:15 | [diff] [blame] | 2973 | represents an immediately preceding step. Commits with more than one |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2974 | parent represent merges of independent lines of development.</p></div> |
Junio C Hamano | e3f080d | 2013-04-22 02:27:13 | [diff] [blame] | 2975 | <div class="paragraph"><p>All objects are named by the SHA-1 hash of their contents, normally |
Junio C Hamano | 597ffcf | 2007-09-17 17:33:15 | [diff] [blame] | 2976 | written as a string of 40 hex digits. Such names are globally unique. |
| 2977 | The entire history leading up to a commit can be vouched for by signing |
| 2978 | just that commit. A fourth object type, the tag, is provided for this |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2979 | purpose.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2980 | <div class="paragraph"><p>When first created, objects are stored in individual files, but for |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2981 | efficiency may later be compressed together into "pack files".</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2982 | <div class="paragraph"><p>Named pointers called refs mark interesting points in history. A ref |
Junio C Hamano | e3f080d | 2013-04-22 02:27:13 | [diff] [blame] | 2983 | may contain the SHA-1 name of an object or the name of another ref. Refs |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2984 | with names beginning <code>ref/head/</code> contain the SHA-1 name of the most |
Junio C Hamano | e3f080d | 2013-04-22 02:27:13 | [diff] [blame] | 2985 | recent commit (or "head") of a branch under development. SHA-1 names of |
Junio C Hamano | ac12f0e | 2014-09-19 22:32:51 | [diff] [blame] | 2986 | tags of interest are stored under <code>ref/tags/</code>. A special ref named |
| 2987 | <code>HEAD</code> contains the name of the currently checked-out branch.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2988 | <div class="paragraph"><p>The index file is initialized with a list of all paths and, for each |
Junio C Hamano | 597ffcf | 2007-09-17 17:33:15 | [diff] [blame] | 2989 | path, a blob object and a set of attributes. The blob object represents |
| 2990 | the contents of the file as of the head of the current branch. The |
| 2991 | attributes (last modified time, size, etc.) are taken from the |
| 2992 | corresponding file in the working tree. Subsequent changes to the |
| 2993 | working tree can be found by comparing these attributes. The index may |
| 2994 | be updated with new content, and new commits may be created from the |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2995 | content stored in the index.</p></div> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 2996 | <div class="paragraph"><p>The index is also capable of storing multiple entries (called "stages") |
Junio C Hamano | 597ffcf | 2007-09-17 17:33:15 | [diff] [blame] | 2997 | for a given pathname. These stages are used to hold the various |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 2998 | unmerged version of a file when a merge is in progress.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 2999 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 3000 | </div> |
| 3001 | <div class="sect1"> |
Junio C Hamano | d031611 | 2012-08-22 19:55:29 | [diff] [blame] | 3002 | <h2 id="_further_documentation">FURTHER DOCUMENTATION</h2> |
| 3003 | <div class="sectionbody"> |
| 3004 | <div class="paragraph"><p>See the references in the "description" section to get started |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 3005 | using Git. The following is probably more detail than necessary |
Junio C Hamano | d031611 | 2012-08-22 19:55:29 | [diff] [blame] | 3006 | for a first-time user.</p></div> |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 3007 | <div class="paragraph"><p>The <a href="user-manual.html#git-concepts">Git concepts chapter of the |
Junio C Hamano | d031611 | 2012-08-22 19:55:29 | [diff] [blame] | 3008 | user-manual</a> and <a href="gitcore-tutorial.html">gitcore-tutorial(7)</a> both provide |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 3009 | introductions to the underlying Git architecture.</p></div> |
Junio C Hamano | d031611 | 2012-08-22 19:55:29 | [diff] [blame] | 3010 | <div class="paragraph"><p>See <a href="gitworkflows.html">gitworkflows(7)</a> for an overview of recommended workflows.</p></div> |
| 3011 | <div class="paragraph"><p>See also the <a href="howto-index.html">howto</a> documents for some useful |
| 3012 | examples.</p></div> |
| 3013 | <div class="paragraph"><p>The internals are documented in the |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 3014 | <a href="technical/api-index.html">Git API documentation</a>.</p></div> |
Junio C Hamano | d031611 | 2012-08-22 19:55:29 | [diff] [blame] | 3015 | <div class="paragraph"><p>Users migrating from CVS may also want to |
| 3016 | read <a href="gitcvs-migration.html">gitcvs-migration(7)</a>.</p></div> |
| 3017 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 3018 | </div> |
| 3019 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 3020 | <h2 id="_authors">Authors</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 3021 | <div class="sectionbody"> |
Junio C Hamano | 5f3d839 | 2011-03-15 23:33:35 | [diff] [blame] | 3022 | <div class="paragraph"><p>Git was started by Linus Torvalds, and is currently maintained by Junio |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 3023 | C Hamano. Numerous contributions have come from the Git mailing list |
Junio C Hamano | 7b43d41 | 2014-07-23 23:09:44 | [diff] [blame] | 3024 | <<a href="mailto:git@vger.kernel.org">git@vger.kernel.org</a>>. <a href="http://www.openhub.net/p/git/contributors/summary">http://www.openhub.net/p/git/contributors/summary</a> |
Junio C Hamano | 0b0417b | 2012-12-13 20:35:02 | [diff] [blame] | 3025 | gives you a more complete list of contributors.</p></div> |
| 3026 | <div class="paragraph"><p>If you have a clone of git.git itself, the |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 3027 | output of <a href="git-shortlog.html">git-shortlog(1)</a> and <a href="git-blame.html">git-blame(1)</a> can show you |
Junio C Hamano | 5f3d839 | 2011-03-15 23:33:35 | [diff] [blame] | 3028 | the authors for specific parts of the project.</p></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 3029 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 3030 | </div> |
| 3031 | <div class="sect1"> |
Junio C Hamano | a978876 | 2010-08-03 15:15:54 | [diff] [blame] | 3032 | <h2 id="_reporting_bugs">Reporting Bugs</h2> |
| 3033 | <div class="sectionbody"> |
Junio C Hamano | 68cf15a | 2010-11-06 01:01:59 | [diff] [blame] | 3034 | <div class="paragraph"><p>Report bugs to the Git mailing list <<a href="mailto:git@vger.kernel.org">git@vger.kernel.org</a>> where the |
Junio C Hamano | a978876 | 2010-08-03 15:15:54 | [diff] [blame] | 3035 | development and maintenance is primarily done. You do not have to be |
| 3036 | subscribed to the list to send a message there.</p></div> |
| 3037 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 3038 | </div> |
| 3039 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 3040 | <h2 id="_see_also">SEE ALSO</h2> |
Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 3041 | <div class="sectionbody"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 3042 | <div class="paragraph"><p><a href="gittutorial.html">gittutorial(7)</a>, <a href="gittutorial-2.html">gittutorial-2(7)</a>, |
Junio C Hamano | 446e30b | 2014-10-16 21:30:32 | [diff] [blame] | 3043 | <a href="giteveryday.html">giteveryday(7)</a>, <a href="gitcvs-migration.html">gitcvs-migration(7)</a>, |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 3044 | <a href="gitglossary.html">gitglossary(7)</a>, <a href="gitcore-tutorial.html">gitcore-tutorial(7)</a>, |
| 3045 | <a href="gitcli.html">gitcli(7)</a>, <a href="user-manual.html">The Git User’s Manual</a>, |
| 3046 | <a href="gitworkflows.html">gitworkflows(7)</a></p></div> |
Junio C Hamano | 9e1793f | 2008-06-02 07:31:16 | [diff] [blame] | 3047 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 3048 | </div> |
| 3049 | <div class="sect1"> |
Junio C Hamano | ba4b928 | 2008-07-06 05:20:31 | [diff] [blame] | 3050 | <h2 id="_git">GIT</h2> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 3051 | <div class="sectionbody"> |
Junio C Hamano | a28a920 | 2012-06-21 07:08:23 | [diff] [blame] | 3052 | <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] | 3053 | </div> |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 3054 | </div> |
Junio C Hamano | 9d97115 | 2012-12-19 00:43:11 | [diff] [blame] | 3055 | </div> |
Junio C Hamano | 7bd050f | 2011-09-22 06:32:22 | [diff] [blame] | 3056 | <div id="footnotes"><hr /></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 3057 | <div id="footer"> |
| 3058 | <div id="footer-text"> |
Junio C Hamano | 4a401d5 | 2016-10-26 22:24:37 | [diff] [blame^] | 3059 | Last updated 2016-10-26 15:23:54 PDT |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 3060 | </div> |
| 3061 | </div> |
| 3062 | </body> |
| 3063 | </html> |