Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
| 2 | "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
Junio C Hamano | 63636e5 | 2006-02-12 13:31:39 | [diff] [blame] | 6 | <meta name="generator" content="AsciiDoc 7.0.2" /> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 7 | <style type="text/css"> |
| 8 | /* Debug borders */ |
| 9 | p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 { |
| 10 | /* |
| 11 | border: 1px solid red; |
| 12 | */ |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | margin: 1em 5% 1em 5%; |
| 17 | } |
| 18 | |
| 19 | a { color: blue; } |
| 20 | a:visited { color: fuchsia; } |
| 21 | |
| 22 | em { |
| 23 | font-style: italic; |
| 24 | } |
| 25 | |
| 26 | strong { |
| 27 | font-weight: bold; |
| 28 | } |
| 29 | |
| 30 | tt { |
| 31 | color: navy; |
| 32 | } |
| 33 | |
| 34 | h1, h2, h3, h4, h5, h6 { |
| 35 | color: #527bbd; |
| 36 | font-family: sans-serif; |
| 37 | margin-top: 1.2em; |
| 38 | margin-bottom: 0.5em; |
| 39 | line-height: 1.3; |
| 40 | } |
| 41 | |
| 42 | h1 { |
| 43 | border-bottom: 2px solid silver; |
| 44 | } |
| 45 | h2 { |
| 46 | border-bottom: 2px solid silver; |
| 47 | padding-top: 0.5em; |
| 48 | } |
| 49 | |
| 50 | div.sectionbody { |
| 51 | font-family: serif; |
| 52 | margin-left: 0; |
| 53 | } |
| 54 | |
| 55 | hr { |
| 56 | border: 1px solid silver; |
| 57 | } |
| 58 | |
| 59 | p { |
| 60 | margin-top: 0.5em; |
| 61 | margin-bottom: 0.5em; |
| 62 | } |
| 63 | |
| 64 | pre { |
| 65 | padding: 0; |
| 66 | margin: 0; |
| 67 | } |
| 68 | |
| 69 | span#author { |
| 70 | color: #527bbd; |
| 71 | font-family: sans-serif; |
| 72 | font-weight: bold; |
| 73 | font-size: 1.2em; |
| 74 | } |
| 75 | span#email { |
| 76 | } |
| 77 | span#revision { |
| 78 | font-family: sans-serif; |
| 79 | } |
| 80 | |
| 81 | div#footer { |
| 82 | font-family: sans-serif; |
| 83 | font-size: small; |
| 84 | border-top: 2px solid silver; |
| 85 | padding-top: 0.5em; |
| 86 | margin-top: 4.0em; |
| 87 | } |
| 88 | div#footer-text { |
| 89 | float: left; |
| 90 | padding-bottom: 0.5em; |
| 91 | } |
| 92 | div#footer-badges { |
| 93 | float: right; |
| 94 | padding-bottom: 0.5em; |
| 95 | } |
| 96 | |
| 97 | div#preamble, |
| 98 | div.tableblock, div.imageblock, div.exampleblock, div.verseblock, |
| 99 | div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock, |
| 100 | div.admonitionblock { |
| 101 | margin-right: 10%; |
| 102 | margin-top: 1.5em; |
| 103 | margin-bottom: 1.5em; |
| 104 | } |
| 105 | div.admonitionblock { |
| 106 | margin-top: 2.5em; |
| 107 | margin-bottom: 2.5em; |
| 108 | } |
| 109 | |
| 110 | div.content { /* Block element content. */ |
| 111 | padding: 0; |
| 112 | } |
| 113 | |
| 114 | /* Block element titles. */ |
| 115 | div.title, caption.title { |
| 116 | font-family: sans-serif; |
| 117 | font-weight: bold; |
| 118 | text-align: left; |
| 119 | margin-top: 1.0em; |
| 120 | margin-bottom: 0.5em; |
| 121 | } |
| 122 | div.title + * { |
| 123 | margin-top: 0; |
| 124 | } |
| 125 | |
| 126 | td div.title:first-child { |
| 127 | margin-top: 0.0em; |
| 128 | } |
| 129 | div.content div.title:first-child { |
| 130 | margin-top: 0.0em; |
| 131 | } |
| 132 | div.content + div.title { |
| 133 | margin-top: 0.0em; |
| 134 | } |
| 135 | |
| 136 | div.sidebarblock > div.content { |
| 137 | background: #ffffee; |
| 138 | border: 1px solid silver; |
| 139 | padding: 0.5em; |
| 140 | } |
| 141 | |
| 142 | div.listingblock > div.content { |
| 143 | border: 1px solid silver; |
| 144 | background: #f4f4f4; |
| 145 | padding: 0.5em; |
| 146 | } |
| 147 | |
| 148 | div.quoteblock > div.content { |
| 149 | padding-left: 2.0em; |
| 150 | } |
| 151 | div.quoteblock .attribution { |
| 152 | text-align: right; |
| 153 | } |
| 154 | |
| 155 | div.admonitionblock .icon { |
| 156 | vertical-align: top; |
| 157 | font-size: 1.1em; |
| 158 | font-weight: bold; |
| 159 | text-decoration: underline; |
| 160 | color: #527bbd; |
| 161 | padding-right: 0.5em; |
| 162 | } |
| 163 | div.admonitionblock td.content { |
| 164 | padding-left: 0.5em; |
| 165 | border-left: 2px solid silver; |
| 166 | } |
| 167 | |
| 168 | div.exampleblock > div.content { |
| 169 | border-left: 2px solid silver; |
| 170 | padding: 0.5em; |
| 171 | } |
| 172 | |
| 173 | div.verseblock div.content { |
| 174 | white-space: pre; |
| 175 | } |
| 176 | |
| 177 | div.imageblock div.content { padding-left: 0; } |
| 178 | div.imageblock img { border: 1px solid silver; } |
| 179 | span.image img { border-style: none; } |
| 180 | |
| 181 | dl { |
| 182 | margin-top: 0.8em; |
| 183 | margin-bottom: 0.8em; |
| 184 | } |
| 185 | dt { |
| 186 | margin-top: 0.5em; |
| 187 | margin-bottom: 0; |
| 188 | font-style: italic; |
| 189 | } |
| 190 | dd > *:first-child { |
| 191 | margin-top: 0; |
| 192 | } |
| 193 | |
| 194 | ul, ol { |
| 195 | list-style-position: outside; |
| 196 | } |
| 197 | ol.olist2 { |
| 198 | list-style-type: lower-alpha; |
| 199 | } |
| 200 | |
| 201 | div.tableblock > table { |
| 202 | border-color: #527bbd; |
| 203 | border-width: 3px; |
| 204 | } |
| 205 | thead { |
| 206 | font-family: sans-serif; |
| 207 | font-weight: bold; |
| 208 | } |
| 209 | tfoot { |
| 210 | font-weight: bold; |
| 211 | } |
| 212 | |
| 213 | div.hlist { |
| 214 | margin-top: 0.8em; |
| 215 | margin-bottom: 0.8em; |
| 216 | } |
| 217 | td.hlist1 { |
| 218 | vertical-align: top; |
| 219 | font-style: italic; |
| 220 | padding-right: 0.8em; |
| 221 | } |
| 222 | td.hlist2 { |
| 223 | vertical-align: top; |
| 224 | } |
| 225 | |
| 226 | @media print { |
| 227 | div#footer-badges { display: none; } |
| 228 | } |
| 229 | include::./stylesheets/xhtml11-manpage.css[] |
| 230 | /* Workarounds for IE6's broken and incomplete CSS2. */ |
| 231 | |
| 232 | div.sidebar-content { |
| 233 | background: #ffffee; |
| 234 | border: 1px solid silver; |
| 235 | padding: 0.5em; |
| 236 | } |
| 237 | div.sidebar-title, div.image-title { |
| 238 | font-family: sans-serif; |
| 239 | font-weight: bold; |
| 240 | margin-top: 0.0em; |
| 241 | margin-bottom: 0.5em; |
| 242 | } |
| 243 | |
| 244 | div.listingblock div.content { |
| 245 | border: 1px solid silver; |
| 246 | background: #f4f4f4; |
| 247 | padding: 0.5em; |
| 248 | } |
| 249 | |
| 250 | div.quoteblock-content { |
| 251 | padding-left: 2.0em; |
| 252 | } |
| 253 | |
| 254 | div.exampleblock-content { |
| 255 | border-left: 2px solid silver; |
| 256 | padding-left: 0.5em; |
| 257 | } |
| 258 | </style> |
| 259 | <title>git-repo-config(1)</title> |
| 260 | </head> |
| 261 | <body> |
| 262 | <div id="header"> |
| 263 | <h1> |
| 264 | git-repo-config(1) Manual Page |
| 265 | </h1> |
| 266 | <h2>NAME</h2> |
| 267 | <div class="sectionbody"> |
| 268 | <p>git-repo-config - |
Junio C Hamano | 0107892 | 2006-03-10 00:31:47 | [diff] [blame] | 269 | Get and set options in .git/config |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 270 | </p> |
| 271 | </div> |
| 272 | </div> |
| 273 | <h2>SYNOPSIS</h2> |
| 274 | <div class="sectionbody"> |
Junio C Hamano | 9c099c8 | 2006-03-03 23:19:48 | [diff] [blame] | 275 | <div class="verseblock"> |
| 276 | <div class="content"><em>git-repo-config</em> [type] name [value [value_regex]] |
Junio C Hamano | 63636e5 | 2006-02-12 13:31:39 | [diff] [blame] | 277 | <em>git-repo-config</em> [type] --replace-all name [value [value_regex]] |
| 278 | <em>git-repo-config</em> [type] --get name [value_regex] |
| 279 | <em>git-repo-config</em> [type] --get-all name [value_regex] |
| 280 | <em>git-repo-config</em> [type] --unset name [value_regex] |
Junio C Hamano | 6de0ecd | 2006-04-27 20:10:43 | [diff] [blame] | 281 | <em>git-repo-config</em> [type] --unset-all name [value_regex] |
| 282 | <em>git-repo-config</em> -l | --list</div></div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 283 | </div> |
| 284 | <h2>DESCRIPTION</h2> |
| 285 | <div class="sectionbody"> |
| 286 | <p>You can query/set/replace/unset options with this command. The name is |
| 287 | actually the section and the key separated by a dot, and the value will be |
| 288 | escaped.</p> |
Junio C Hamano | 6d891e6 | 2006-05-07 23:36:21 | [diff] [blame] | 289 | <p>If you want to set/unset an option which can occur on multiple |
| 290 | lines, a POSIX regexp <tt>value_regex</tt> needs to be given. Only the |
| 291 | existing values that match the regexp are updated or unset. If |
| 292 | you want to handle the lines that do <strong>not</strong> match the regex, just |
| 293 | prepend a single exclamation mark in front (see EXAMPLES).</p> |
Junio C Hamano | 63636e5 | 2006-02-12 13:31:39 | [diff] [blame] | 294 | <p>The type specifier can be either <em>--int</em> or <em>--bool</em>, which will make |
| 295 | <em>git-repo-config</em> ensure that the variable(s) are of the given type and |
| 296 | convert the value to the canonical form (simple decimal number for int, |
| 297 | a "true" or "false" string for bool). If no type specifier is passed, |
| 298 | no checks or transformations are performed on the value.</p> |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [diff] [blame] | 299 | <p>This command will fail if:</p> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 300 | <ol> |
| 301 | <li> |
| 302 | <p> |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [diff] [blame] | 303 | The .git/config file is invalid, |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 304 | </p> |
| 305 | </li> |
| 306 | <li> |
| 307 | <p> |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [diff] [blame] | 308 | Can not write to .git/config, |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 309 | </p> |
| 310 | </li> |
| 311 | <li> |
| 312 | <p> |
| 313 | no section was provided, |
| 314 | </p> |
| 315 | </li> |
| 316 | <li> |
| 317 | <p> |
| 318 | the section or key is invalid, |
| 319 | </p> |
| 320 | </li> |
| 321 | <li> |
| 322 | <p> |
| 323 | you try to unset an option which does not exist, or |
| 324 | </p> |
| 325 | </li> |
| 326 | <li> |
| 327 | <p> |
| 328 | you try to unset/set an option for which multiple lines match. |
| 329 | </p> |
| 330 | </li> |
| 331 | </ol> |
| 332 | </div> |
| 333 | <h2>OPTIONS</h2> |
| 334 | <div class="sectionbody"> |
| 335 | <dl> |
| 336 | <dt> |
| 337 | --replace-all |
| 338 | </dt> |
| 339 | <dd> |
| 340 | <p> |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 341 | Default behavior is to replace at most one line. This replaces |
Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 342 | all lines matching the key (and optionally the value_regex). |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 343 | </p> |
| 344 | </dd> |
| 345 | <dt> |
| 346 | --get |
| 347 | </dt> |
| 348 | <dd> |
| 349 | <p> |
| 350 | Get the value for a given key (optionally filtered by a regex |
Junio C Hamano | 4e2d881 | 2006-10-01 09:55:10 | [diff] [blame] | 351 | matching the value). Returns error code 1 if the key was not |
| 352 | found and error code 2 if multiple key values were found. |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 353 | </p> |
| 354 | </dd> |
| 355 | <dt> |
| 356 | --get-all |
| 357 | </dt> |
| 358 | <dd> |
| 359 | <p> |
| 360 | Like get, but does not fail if the number of values for the key |
| 361 | is not exactly one. |
| 362 | </p> |
| 363 | </dd> |
| 364 | <dt> |
Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 365 | --get-regexp |
| 366 | </dt> |
| 367 | <dd> |
| 368 | <p> |
| 369 | Like --get-all, but interprets the name as a regular expression. |
| 370 | </p> |
| 371 | </dd> |
| 372 | <dt> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 373 | --unset |
| 374 | </dt> |
| 375 | <dd> |
| 376 | <p> |
| 377 | Remove the line matching the key from .git/config. |
| 378 | </p> |
| 379 | </dd> |
| 380 | <dt> |
| 381 | --unset-all |
| 382 | </dt> |
| 383 | <dd> |
| 384 | <p> |
| 385 | Remove all matching lines from .git/config. |
| 386 | </p> |
| 387 | </dd> |
Junio C Hamano | 6de0ecd | 2006-04-27 20:10:43 | [diff] [blame] | 388 | <dt> |
| 389 | -l, --list |
| 390 | </dt> |
| 391 | <dd> |
| 392 | <p> |
| 393 | List all variables set in .git/config. |
| 394 | </p> |
| 395 | </dd> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 396 | </dl> |
| 397 | </div> |
Junio C Hamano | 97f518c | 2006-06-22 19:49:35 | [diff] [blame] | 398 | <h2>ENVIRONMENT</h2> |
| 399 | <div class="sectionbody"> |
| 400 | <dl> |
| 401 | <dt> |
| 402 | GIT_CONFIG |
| 403 | </dt> |
| 404 | <dd> |
| 405 | <p> |
| 406 | Take the configuration from the given file instead of .git/config. |
| 407 | </p> |
| 408 | </dd> |
| 409 | <dt> |
| 410 | GIT_CONFIG_LOCAL |
| 411 | </dt> |
| 412 | <dd> |
| 413 | <p> |
| 414 | Currently the same as $GIT_CONFIG; when Git will support global |
| 415 | configuration files, this will cause it to take the configuration |
| 416 | from the global configuration file in addition to the given file. |
| 417 | </p> |
| 418 | </dd> |
| 419 | </dl> |
| 420 | </div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 421 | <h2>EXAMPLE</h2> |
| 422 | <div class="sectionbody"> |
| 423 | <p>Given a .git/config like this:</p> |
| 424 | <div class="literalblock"> |
| 425 | <div class="content"> |
| 426 | <pre><tt># |
| 427 | # This is the config file, and |
| 428 | # a '#' or ';' character indicates |
| 429 | # a comment |
| 430 | #</tt></pre> |
| 431 | </div></div> |
| 432 | <div class="literalblock"> |
| 433 | <div class="content"> |
| 434 | <pre><tt>; core variables |
| 435 | [core] |
| 436 | ; Don't trust file modes |
| 437 | filemode = false</tt></pre> |
| 438 | </div></div> |
| 439 | <div class="literalblock"> |
| 440 | <div class="content"> |
| 441 | <pre><tt>; Our diff algorithm |
| 442 | [diff] |
| 443 | external = "/usr/local/bin/gnu-diff -u" |
| 444 | renames = true</tt></pre> |
| 445 | </div></div> |
| 446 | <div class="literalblock"> |
| 447 | <div class="content"> |
| 448 | <pre><tt>; Proxy settings |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 449 | [core] |
| 450 | gitproxy="ssh" for "ssh://kernel.org/" |
| 451 | gitproxy="proxy-command" for kernel.org |
| 452 | gitproxy="myprotocol-command" for "my://" |
| 453 | gitproxy=default-proxy ; for all the rest</tt></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 454 | </div></div> |
| 455 | <p>you can set the filemode to true with</p> |
| 456 | <div class="listingblock"> |
| 457 | <div class="content"> |
| 458 | <pre><tt>% git repo-config core.filemode true</tt></pre> |
| 459 | </div></div> |
Junio C Hamano | 51c2ab0 | 2006-07-09 20:38:54 | [diff] [blame] | 460 | <p>The hypothetical proxy command entries actually have a postfix to discern |
| 461 | what URL they apply to. Here is how to change the entry for kernel.org |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 462 | to "ssh".</p> |
| 463 | <div class="listingblock"> |
| 464 | <div class="content"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 465 | <pre><tt>% git repo-config core.gitproxy '"ssh" for kernel.org' 'for kernel.org$'</tt></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 466 | </div></div> |
| 467 | <p>This makes sure that only the key/value pair for kernel.org is replaced.</p> |
| 468 | <p>To delete the entry for renames, do</p> |
| 469 | <div class="listingblock"> |
| 470 | <div class="content"> |
| 471 | <pre><tt>% git repo-config --unset diff.renames</tt></pre> |
| 472 | </div></div> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 473 | <p>If you want to delete an entry for a multivar (like core.gitproxy above), |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 474 | you have to provide a regex matching the value of exactly one line.</p> |
| 475 | <p>To query the value for a given key, do</p> |
| 476 | <div class="listingblock"> |
| 477 | <div class="content"> |
| 478 | <pre><tt>% git repo-config --get core.filemode</tt></pre> |
| 479 | </div></div> |
| 480 | <p>or</p> |
| 481 | <div class="listingblock"> |
| 482 | <div class="content"> |
| 483 | <pre><tt>% git repo-config core.filemode</tt></pre> |
| 484 | </div></div> |
| 485 | <p>or, to query a multivar:</p> |
| 486 | <div class="listingblock"> |
| 487 | <div class="content"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 488 | <pre><tt>% git repo-config --get core.gitproxy "for kernel.org$"</tt></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 489 | </div></div> |
| 490 | <p>If you want to know all the values for a multivar, do:</p> |
| 491 | <div class="listingblock"> |
| 492 | <div class="content"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 493 | <pre><tt>% git repo-config --get-all core.gitproxy</tt></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 494 | </div></div> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 495 | <p>If you like to live dangerous, you can replace <strong>all</strong> core.gitproxy by a |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 496 | new one with</p> |
| 497 | <div class="listingblock"> |
| 498 | <div class="content"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 499 | <pre><tt>% git repo-config --replace-all core.gitproxy ssh</tt></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 500 | </div></div> |
| 501 | <p>However, if you really only want to replace the line for the default proxy, |
| 502 | i.e. the one without a "for …" postfix, do something like this:</p> |
| 503 | <div class="listingblock"> |
| 504 | <div class="content"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 505 | <pre><tt>% git repo-config core.gitproxy ssh '! for '</tt></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 506 | </div></div> |
| 507 | <p>To actually match only values with an exclamation mark, you have to</p> |
| 508 | <div class="listingblock"> |
| 509 | <div class="content"> |
| 510 | <pre><tt>% git repo-config section.key value '[!]'</tt></pre> |
| 511 | </div></div> |
| 512 | </div> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 513 | <h2>CONFIGURATION FILE</h2> |
| 514 | <div class="sectionbody"> |
| 515 | <p>The git configuration file contains a number of variables that affect |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 516 | the git command's behavior. They can be used by both the git plumbing |
| 517 | and the porcelains. The variables are divided into sections, where |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 518 | in the fully qualified variable name the variable itself is the last |
| 519 | dot-separated segment and the section name is everything before the last |
| 520 | dot. The variable names are case-insensitive and only alphanumeric |
| 521 | characters are allowed. Some variables may appear multiple times.</p> |
| 522 | <p>The syntax is fairly flexible and permissive; whitespaces are mostly |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 523 | ignored. The <em>#</em> and <em>;</em> characters begin comments to the end of line, |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 524 | blank lines are ignored, lines containing strings enclosed in square |
| 525 | brackets start sections and all the other lines are recognized |
| 526 | as setting variables, in the form <em>name = value</em>. If there is no equal |
| 527 | sign on the line, the entire line is taken as <em>name</em> and the variable |
| 528 | is recognized as boolean "true". String values may be entirely or partially |
| 529 | enclosed in double quotes; some variables may require special value format.</p> |
| 530 | <h3>Example</h3> |
| 531 | <div class="literalblock"> |
| 532 | <div class="content"> |
| 533 | <pre><tt># Core variables |
| 534 | [core] |
| 535 | ; Don't trust file modes |
| 536 | filemode = false</tt></pre> |
| 537 | </div></div> |
| 538 | <div class="literalblock"> |
| 539 | <div class="content"> |
| 540 | <pre><tt># Our diff algorithm |
| 541 | [diff] |
| 542 | external = "/usr/local/bin/gnu-diff -u" |
| 543 | renames = true</tt></pre> |
| 544 | </div></div> |
| 545 | <h3>Variables</h3> |
| 546 | <p>Note that this list is non-comprehensive and not necessarily complete. |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 547 | For command-specific variables, you will find a more detailed description |
| 548 | in the appropriate manual page. You will find a description of non-core |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 549 | porcelain configuration variables in the respective porcelain documentation.</p> |
| 550 | <dl> |
| 551 | <dt> |
| 552 | core.fileMode |
| 553 | </dt> |
| 554 | <dd> |
| 555 | <p> |
| 556 | If false, the executable bit differences between the index and |
| 557 | the working copy are ignored; useful on broken filesystems like FAT. |
| 558 | See <a href="git-update-index.html">git-update-index(1)</a>. True by default. |
| 559 | </p> |
| 560 | </dd> |
| 561 | <dt> |
| 562 | core.gitProxy |
| 563 | </dt> |
| 564 | <dd> |
| 565 | <p> |
| 566 | A "proxy command" to execute (as <em>command host port</em>) instead |
| 567 | of establishing direct connection to the remote server when |
| 568 | using the git protocol for fetching. If the variable value is |
| 569 | in the "COMMAND for DOMAIN" format, the command is applied only |
| 570 | on hostnames ending with the specified domain string. This variable |
| 571 | may be set multiple times and is matched in the given order; |
| 572 | the first match wins. |
| 573 | </p> |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 574 | <p>Can be overridden by the <em>GIT_PROXY_COMMAND</em> environment variable |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 575 | (which always applies universally, without the special "for" |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 576 | handling).</p> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 577 | </dd> |
| 578 | <dt> |
| 579 | core.ignoreStat |
| 580 | </dt> |
| 581 | <dd> |
| 582 | <p> |
| 583 | The working copy files are assumed to stay unchanged until you |
| 584 | mark them otherwise manually - Git will not detect the file changes |
| 585 | by lstat() calls. This is useful on systems where those are very |
| 586 | slow, such as Microsoft Windows. See <a href="git-update-index.html">git-update-index(1)</a>. |
| 587 | False by default. |
| 588 | </p> |
| 589 | </dd> |
| 590 | <dt> |
Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 591 | core.preferSymlinkRefs |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 592 | </dt> |
| 593 | <dd> |
| 594 | <p> |
Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 595 | Instead of the default "symref" format for HEAD |
| 596 | and other symbolic reference files, use symbolic links. |
| 597 | This is sometimes needed to work with old scripts that |
| 598 | expect HEAD to be a symbolic link. |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 599 | </p> |
| 600 | </dd> |
| 601 | <dt> |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 602 | core.logAllRefUpdates |
| 603 | </dt> |
| 604 | <dd> |
| 605 | <p> |
| 606 | If true, <tt>git-update-ref</tt> will append a line to |
| 607 | "$GIT_DIR/logs/<ref>" listing the new SHA1 and the date/time |
| 608 | of the update. If the file does not exist it will be |
| 609 | created automatically. This information can be used to |
| 610 | determine what commit was the tip of a branch "2 days ago". |
| 611 | This value is false by default (no logging). |
| 612 | </p> |
| 613 | </dd> |
| 614 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 615 | core.repositoryFormatVersion |
| 616 | </dt> |
| 617 | <dd> |
| 618 | <p> |
| 619 | Internal variable identifying the repository format and layout |
| 620 | version. |
| 621 | </p> |
| 622 | </dd> |
| 623 | <dt> |
| 624 | core.sharedRepository |
| 625 | </dt> |
| 626 | <dd> |
| 627 | <p> |
Junio C Hamano | 0ab78ae | 2006-08-09 01:00:42 | [diff] [blame] | 628 | When <em>group</em> (or <em>true</em>), the repository is made shareable between |
| 629 | several users in a group (making sure all the files and objects are |
| 630 | group-writable). When <em>all</em> (or <em>world</em> or <em>everybody</em>), the |
| 631 | repository will be readable by all users, additionally to being |
| 632 | group-shareable. When <em>umask</em> (or <em>false</em>), git will use permissions |
| 633 | reported by umask(2). See <a href="git-init-db.html">git-init-db(1)</a>. False by default. |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 634 | </p> |
| 635 | </dd> |
| 636 | <dt> |
| 637 | core.warnAmbiguousRefs |
| 638 | </dt> |
| 639 | <dd> |
| 640 | <p> |
| 641 | If true, git will warn you if the ref name you passed it is ambiguous |
| 642 | and might match multiple refs in the .git/refs/ tree. True by default. |
| 643 | </p> |
| 644 | </dd> |
Junio C Hamano | 7ec1572 | 2006-07-07 02:03:59 | [diff] [blame] | 645 | <dt> |
| 646 | core.compression |
| 647 | </dt> |
| 648 | <dd> |
| 649 | <p> |
Junio C Hamano | a126a3b | 2006-07-04 04:55:26 | [diff] [blame] | 650 | An integer -1..9, indicating the compression level for objects that |
| 651 | are not in a pack file. -1 is the zlib and git default. 0 means no |
| 652 | compression, and 1..9 are various speed/size tradeoffs, 9 being |
Junio C Hamano | 7ec1572 | 2006-07-07 02:03:59 | [diff] [blame] | 653 | slowest. |
| 654 | </p> |
| 655 | </dd> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 656 | <dt> |
Junio C Hamano | 28d9dfe | 2006-07-25 03:50:49 | [diff] [blame] | 657 | core.legacyheaders |
| 658 | </dt> |
| 659 | <dd> |
| 660 | <p> |
| 661 | A boolean which enables the legacy object header format in case |
| 662 | you want to interoperate with old clients accessing the object |
| 663 | database directly (where the "http://" and "rsync://" protocols |
| 664 | count as direct access). |
| 665 | </p> |
| 666 | </dd> |
| 667 | <dt> |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 668 | alias.* |
| 669 | </dt> |
| 670 | <dd> |
| 671 | <p> |
| 672 | Command aliases for the <a href="git.html">git(1)</a> command wrapper - e.g. |
| 673 | after defining "alias.last = cat-file commit HEAD", the invocation |
| 674 | "git last" is equivalent to "git cat-file commit HEAD". To avoid |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 675 | confusion and troubles with script usage, aliases that |
| 676 | hide existing git commands are ignored. Arguments are split by |
| 677 | spaces, the usual shell quoting and escaping is supported. |
| 678 | quote pair and a backslash can be used to quote them. |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 679 | </p> |
| 680 | </dd> |
| 681 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 682 | apply.whitespace |
| 683 | </dt> |
| 684 | <dd> |
| 685 | <p> |
| 686 | Tells <tt>git-apply</tt> how to handle whitespaces, in the same way |
| 687 | as the <em>--whitespace</em> option. See <a href="git-apply.html">git-apply(1)</a>. |
| 688 | </p> |
| 689 | </dd> |
| 690 | <dt> |
Junio C Hamano | 47c1e3c | 2006-09-25 04:45:55 | [diff] [blame] | 691 | branch.<name>.remote |
| 692 | </dt> |
| 693 | <dd> |
| 694 | <p> |
| 695 | When in branch <name>, it tells <tt>git fetch</tt> which remote to fetch. |
| 696 | </p> |
| 697 | </dd> |
| 698 | <dt> |
| 699 | branch.<name>.merge |
| 700 | </dt> |
| 701 | <dd> |
| 702 | <p> |
| 703 | When in branch <name>, it tells <tt>git fetch</tt> the default remote branch |
| 704 | to be merged. |
| 705 | </p> |
| 706 | </dd> |
| 707 | <dt> |
Junio C Hamano | fbb0aff | 2006-08-01 08:53:38 | [diff] [blame] | 708 | pager.color |
| 709 | </dt> |
| 710 | <dd> |
| 711 | <p> |
| 712 | A boolean to enable/disable colored output when the pager is in |
| 713 | use (default is true). |
| 714 | </p> |
| 715 | </dd> |
| 716 | <dt> |
Junio C Hamano | 9ae1a06 | 2006-07-10 08:12:34 | [diff] [blame] | 717 | diff.color |
| 718 | </dt> |
| 719 | <dd> |
| 720 | <p> |
| 721 | When true (or <tt>always</tt>), always use colors in patch. |
| 722 | When false (or <tt>never</tt>), never. When set to <tt>auto</tt>, use |
| 723 | colors only when the output is to the terminal. |
| 724 | </p> |
| 725 | </dd> |
| 726 | <dt> |
| 727 | diff.color.<slot> |
| 728 | </dt> |
| 729 | <dd> |
| 730 | <p> |
| 731 | Use customized color for diff colorization. <tt><slot></tt> |
| 732 | specifies which part of the patch to use the specified |
| 733 | color, and is one of <tt>plain</tt> (context text), <tt>meta</tt> |
| 734 | (metainformation), <tt>frag</tt> (hunk header), <tt>old</tt> (removed |
| 735 | lines), or <tt>new</tt> (added lines). The value for these |
| 736 | configuration variables can be one of: <tt>normal</tt>, <tt>bold</tt>, |
| 737 | <tt>dim</tt>, <tt>ul</tt>, <tt>blink</tt>, <tt>reverse</tt>, <tt>reset</tt>, <tt>black</tt>, |
| 738 | <tt>red</tt>, <tt>green</tt>, <tt>yellow</tt>, <tt>blue</tt>, <tt>magenta</tt>, <tt>cyan</tt>, or |
| 739 | <tt>white</tt>. |
| 740 | </p> |
| 741 | </dd> |
| 742 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 743 | diff.renameLimit |
| 744 | </dt> |
| 745 | <dd> |
| 746 | <p> |
| 747 | The number of files to consider when performing the copy/rename |
| 748 | detection; equivalent to the git diff option <em>-l</em>. |
| 749 | </p> |
| 750 | </dd> |
| 751 | <dt> |
Junio C Hamano | 9ae1a06 | 2006-07-10 08:12:34 | [diff] [blame] | 752 | diff.renames |
| 753 | </dt> |
| 754 | <dd> |
| 755 | <p> |
| 756 | Tells git to detect renames. If set to any boolean value, it |
| 757 | will enable basic rename detection. If set to "copies" or |
| 758 | "copy", it will detect copies, as well. |
| 759 | </p> |
| 760 | </dd> |
| 761 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 762 | format.headers |
| 763 | </dt> |
| 764 | <dd> |
| 765 | <p> |
| 766 | Additional email headers to include in a patch to be submitted |
| 767 | by mail. See <a href="git-format-patch.html">git-format-patch(1)</a>. |
| 768 | </p> |
| 769 | </dd> |
| 770 | <dt> |
| 771 | gitcvs.enabled |
| 772 | </dt> |
| 773 | <dd> |
| 774 | <p> |
| 775 | Whether the cvs pserver interface is enabled for this repository. |
| 776 | See <a href="git-cvsserver.html">git-cvsserver(1)</a>. |
| 777 | </p> |
| 778 | </dd> |
| 779 | <dt> |
| 780 | gitcvs.logfile |
| 781 | </dt> |
| 782 | <dd> |
| 783 | <p> |
| 784 | Path to a log file where the cvs pserver interface well… logs |
| 785 | various stuff. See <a href="git-cvsserver.html">git-cvsserver(1)</a>. |
| 786 | </p> |
| 787 | </dd> |
| 788 | <dt> |
| 789 | http.sslVerify |
| 790 | </dt> |
| 791 | <dd> |
| 792 | <p> |
| 793 | Whether to verify the SSL certificate when fetching or pushing |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 794 | over HTTPS. Can be overridden by the <em>GIT_SSL_NO_VERIFY</em> environment |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 795 | variable. |
| 796 | </p> |
| 797 | </dd> |
| 798 | <dt> |
| 799 | http.sslCert |
| 800 | </dt> |
| 801 | <dd> |
| 802 | <p> |
| 803 | File containing the SSL certificate when fetching or pushing |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 804 | over HTTPS. Can be overridden by the <em>GIT_SSL_CERT</em> environment |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 805 | variable. |
| 806 | </p> |
| 807 | </dd> |
| 808 | <dt> |
| 809 | http.sslKey |
| 810 | </dt> |
| 811 | <dd> |
| 812 | <p> |
| 813 | File containing the SSL private key when fetching or pushing |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 814 | over HTTPS. Can be overridden by the <em>GIT_SSL_KEY</em> environment |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 815 | variable. |
| 816 | </p> |
| 817 | </dd> |
| 818 | <dt> |
| 819 | http.sslCAInfo |
| 820 | </dt> |
| 821 | <dd> |
| 822 | <p> |
| 823 | File containing the certificates to verify the peer with when |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 824 | fetching or pushing over HTTPS. Can be overridden by the |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 825 | <em>GIT_SSL_CAINFO</em> environment variable. |
| 826 | </p> |
| 827 | </dd> |
| 828 | <dt> |
| 829 | http.sslCAPath |
| 830 | </dt> |
| 831 | <dd> |
| 832 | <p> |
| 833 | Path containing files with the CA certificates to verify the peer |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 834 | with when fetching or pushing over HTTPS. Can be overridden |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 835 | by the <em>GIT_SSL_CAPATH</em> environment variable. |
| 836 | </p> |
| 837 | </dd> |
| 838 | <dt> |
| 839 | http.maxRequests |
| 840 | </dt> |
| 841 | <dd> |
| 842 | <p> |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 843 | How many HTTP requests to launch in parallel. Can be overridden |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 844 | by the <em>GIT_HTTP_MAX_REQUESTS</em> environment variable. Default is 5. |
| 845 | </p> |
| 846 | </dd> |
| 847 | <dt> |
| 848 | http.lowSpeedLimit, http.lowSpeedTime |
| 849 | </dt> |
| 850 | <dd> |
| 851 | <p> |
| 852 | If the HTTP transfer speed is less than <em>http.lowSpeedLimit</em> |
| 853 | for longer than <em>http.lowSpeedTime</em> seconds, the transfer is aborted. |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 854 | Can be overridden by the <em>GIT_HTTP_LOW_SPEED_LIMIT</em> and |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 855 | <em>GIT_HTTP_LOW_SPEED_TIME</em> environment variables. |
| 856 | </p> |
| 857 | </dd> |
| 858 | <dt> |
Junio C Hamano | f1dcdfe | 2006-09-29 08:10:51 | [diff] [blame] | 859 | http.noEPSV |
| 860 | </dt> |
| 861 | <dd> |
| 862 | <p> |
| 863 | A boolean which disables using of EPSV ftp command by curl. |
| 864 | This can helpful with some "poor" ftp servers which doesn't |
| 865 | support EPSV mode. Can be overridden by the <em>GIT_CURL_FTP_NO_EPSV</em> |
| 866 | environment variable. Default is false (curl will use EPSV). |
| 867 | </p> |
| 868 | </dd> |
| 869 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 870 | i18n.commitEncoding |
| 871 | </dt> |
| 872 | <dd> |
| 873 | <p> |
| 874 | Character encoding the commit messages are stored in; git itself |
| 875 | does not care per se, but this information is necessary e.g. when |
| 876 | importing commits from emails or in the gitk graphical history |
| 877 | browser (and possibly at other places in the future or in other |
| 878 | porcelains). See e.g. <a href="git-mailinfo.html">git-mailinfo(1)</a>. Defaults to <em>utf-8</em>. |
| 879 | </p> |
| 880 | </dd> |
| 881 | <dt> |
| 882 | merge.summary |
| 883 | </dt> |
| 884 | <dd> |
| 885 | <p> |
| 886 | Whether to include summaries of merged commits in newly created |
| 887 | merge commit messages. False by default. |
| 888 | </p> |
| 889 | </dd> |
| 890 | <dt> |
Junio C Hamano | 75cc4c9 | 2006-07-24 08:25:03 | [diff] [blame] | 891 | pack.window |
| 892 | </dt> |
| 893 | <dd> |
| 894 | <p> |
| 895 | The size of the window used by <a href="git-pack-objects.html">git-pack-objects(1)</a> when no |
| 896 | window size is given on the command line. Defaults to 10. |
| 897 | </p> |
| 898 | </dd> |
| 899 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 900 | pull.octopus |
| 901 | </dt> |
| 902 | <dd> |
| 903 | <p> |
| 904 | The default merge strategy to use when pulling multiple branches |
| 905 | at once. |
| 906 | </p> |
| 907 | </dd> |
| 908 | <dt> |
| 909 | pull.twohead |
| 910 | </dt> |
| 911 | <dd> |
| 912 | <p> |
| 913 | The default merge strategy to use when pulling a single branch. |
| 914 | </p> |
| 915 | </dd> |
| 916 | <dt> |
| 917 | show.difftree |
| 918 | </dt> |
| 919 | <dd> |
| 920 | <p> |
| 921 | The default <a href="git-diff-tree.html">git-diff-tree(1)</a> arguments to be used |
| 922 | for <a href="git-show.html">git-show(1)</a>. |
| 923 | </p> |
| 924 | </dd> |
| 925 | <dt> |
| 926 | showbranch.default |
| 927 | </dt> |
| 928 | <dd> |
| 929 | <p> |
| 930 | The default set of branches for <a href="git-show-branch.html">git-show-branch(1)</a>. |
| 931 | See <a href="git-show-branch.html">git-show-branch(1)</a>. |
| 932 | </p> |
| 933 | </dd> |
| 934 | <dt> |
Junio C Hamano | 3eb513f | 2006-09-18 02:47:16 | [diff] [blame] | 935 | status.color |
| 936 | </dt> |
| 937 | <dd> |
| 938 | <p> |
| 939 | A boolean to enable/disable color in the output of |
| 940 | <a href="git-status.html">git-status(1)</a>. May be set to <tt>true</tt> (or <tt>always</tt>), |
| 941 | <tt>false</tt> (or <tt>never</tt>) or <tt>auto</tt>, in which case colors are used |
| 942 | only when the output is to a terminal. Defaults to false. |
| 943 | </p> |
| 944 | </dd> |
| 945 | <dt> |
| 946 | status.color.<slot> |
| 947 | </dt> |
| 948 | <dd> |
| 949 | <p> |
| 950 | Use customized color for status colorization. <tt><slot></tt> is |
| 951 | one of <tt>header</tt> (the header text of the status message), |
| 952 | <tt>updated</tt> (files which are updated but not committed), |
| 953 | <tt>changed</tt> (files which are changed but not updated in the index), |
| 954 | or <tt>untracked</tt> (files which are not tracked by git). The values of |
| 955 | these variables may be specified as in diff.color.<slot>. |
| 956 | </p> |
| 957 | </dd> |
| 958 | <dt> |
Junio C Hamano | 75cc4c9 | 2006-07-24 08:25:03 | [diff] [blame] | 959 | tar.umask |
| 960 | </dt> |
| 961 | <dd> |
| 962 | <p> |
Junio C Hamano | d7e6304 | 2006-08-02 21:12:23 | [diff] [blame] | 963 | By default, <a href="git-tar-tree.html">git-tar-tree(1)</a> sets file and directories modes |
Junio C Hamano | 75cc4c9 | 2006-07-24 08:25:03 | [diff] [blame] | 964 | to 0666 or 0777. While this is both useful and acceptable for projects |
| 965 | such as the Linux Kernel, it might be excessive for other projects. |
| 966 | With this variable, it becomes possible to tell |
Junio C Hamano | d7e6304 | 2006-08-02 21:12:23 | [diff] [blame] | 967 | <a href="git-tar-tree.html">git-tar-tree(1)</a> to apply a specific umask to the modes above. |
Junio C Hamano | 75cc4c9 | 2006-07-24 08:25:03 | [diff] [blame] | 968 | The special value "user" indicates that the user's current umask will |
| 969 | be used. This should be enough for most projects, as it will lead to |
Junio C Hamano | d7e6304 | 2006-08-02 21:12:23 | [diff] [blame] | 970 | the same permissions as <a href="git-checkout.html">git-checkout(1)</a> would use. The default |
Junio C Hamano | 75cc4c9 | 2006-07-24 08:25:03 | [diff] [blame] | 971 | value remains 0, which means world read-write. |
| 972 | </p> |
| 973 | </dd> |
| 974 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 975 | user.email |
| 976 | </dt> |
| 977 | <dd> |
| 978 | <p> |
| 979 | Your email address to be recorded in any newly created commits. |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 980 | Can be overridden by the <em>GIT_AUTHOR_EMAIL</em> and <em>GIT_COMMITTER_EMAIL</em> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 981 | environment variables. See <a href="git-commit-tree.html">git-commit-tree(1)</a>. |
| 982 | </p> |
| 983 | </dd> |
| 984 | <dt> |
| 985 | user.name |
| 986 | </dt> |
| 987 | <dd> |
| 988 | <p> |
| 989 | Your full name to be recorded in any newly created commits. |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 990 | Can be overridden by the <em>GIT_AUTHOR_NAME</em> and <em>GIT_COMMITTER_NAME</em> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 991 | environment variables. See <a href="git-commit-tree.html">git-commit-tree(1)</a>. |
| 992 | </p> |
| 993 | </dd> |
| 994 | <dt> |
| 995 | whatchanged.difftree |
| 996 | </dt> |
| 997 | <dd> |
| 998 | <p> |
| 999 | The default <a href="git-diff-tree.html">git-diff-tree(1)</a> arguments to be used |
| 1000 | for <a href="git-whatchanged.html">git-whatchanged(1)</a>. |
| 1001 | </p> |
| 1002 | </dd> |
| 1003 | <dt> |
| 1004 | imap |
| 1005 | </dt> |
| 1006 | <dd> |
| 1007 | <p> |
| 1008 | The configuration variables in the <em>imap</em> section are described |
| 1009 | in <a href="git-imap-send.html">git-imap-send(1)</a>. |
| 1010 | </p> |
| 1011 | </dd> |
Junio C Hamano | 459ee22 | 2006-09-21 08:13:28 | [diff] [blame] | 1012 | <dt> |
| 1013 | receive.denyNonFastforwads |
| 1014 | </dt> |
| 1015 | <dd> |
| 1016 | <p> |
| 1017 | If set to true, git-receive-pack will deny a ref update which is |
| 1018 | not a fast forward. Use this to prevent such an update via a push, |
| 1019 | even if that push is forced. This configuration variable is |
| 1020 | set when initializing a shared repository. |
| 1021 | </p> |
| 1022 | </dd> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 1023 | </dl> |
| 1024 | </div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1025 | <h2>Author</h2> |
| 1026 | <div class="sectionbody"> |
| 1027 | <p>Written by Johannes Schindelin <Johannes.Schindelin@gmx.de></p> |
| 1028 | </div> |
| 1029 | <h2>Documentation</h2> |
| 1030 | <div class="sectionbody"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 1031 | <p>Documentation by Johannes Schindelin, Petr Baudis and the git-list <git@vger.kernel.org>.</p> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1032 | </div> |
| 1033 | <h2>GIT</h2> |
| 1034 | <div class="sectionbody"> |
| 1035 | <p>Part of the <a href="git.html">git(7)</a> suite</p> |
| 1036 | </div> |
| 1037 | <div id="footer"> |
| 1038 | <div id="footer-text"> |
Junio C Hamano | d97409f | 2006-10-03 08:41:56 | [diff] [blame] | 1039 | Last updated 03-Oct-2006 08:41:22 UTC |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1040 | </div> |
| 1041 | </div> |
| 1042 | </body> |
| 1043 | </html> |