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 |
| 351 | matching the value). |
| 352 | </p> |
| 353 | </dd> |
| 354 | <dt> |
| 355 | --get-all |
| 356 | </dt> |
| 357 | <dd> |
| 358 | <p> |
| 359 | Like get, but does not fail if the number of values for the key |
| 360 | is not exactly one. |
| 361 | </p> |
| 362 | </dd> |
| 363 | <dt> |
Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 364 | --get-regexp |
| 365 | </dt> |
| 366 | <dd> |
| 367 | <p> |
| 368 | Like --get-all, but interprets the name as a regular expression. |
| 369 | </p> |
| 370 | </dd> |
| 371 | <dt> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 372 | --unset |
| 373 | </dt> |
| 374 | <dd> |
| 375 | <p> |
| 376 | Remove the line matching the key from .git/config. |
| 377 | </p> |
| 378 | </dd> |
| 379 | <dt> |
| 380 | --unset-all |
| 381 | </dt> |
| 382 | <dd> |
| 383 | <p> |
| 384 | Remove all matching lines from .git/config. |
| 385 | </p> |
| 386 | </dd> |
Junio C Hamano | 6de0ecd | 2006-04-27 20:10:43 | [diff] [blame] | 387 | <dt> |
| 388 | -l, --list |
| 389 | </dt> |
| 390 | <dd> |
| 391 | <p> |
| 392 | List all variables set in .git/config. |
| 393 | </p> |
| 394 | </dd> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 395 | </dl> |
| 396 | </div> |
Junio C Hamano | 97f518c | 2006-06-22 19:49:35 | [diff] [blame] | 397 | <h2>ENVIRONMENT</h2> |
| 398 | <div class="sectionbody"> |
| 399 | <dl> |
| 400 | <dt> |
| 401 | GIT_CONFIG |
| 402 | </dt> |
| 403 | <dd> |
| 404 | <p> |
| 405 | Take the configuration from the given file instead of .git/config. |
| 406 | </p> |
| 407 | </dd> |
| 408 | <dt> |
| 409 | GIT_CONFIG_LOCAL |
| 410 | </dt> |
| 411 | <dd> |
| 412 | <p> |
| 413 | Currently the same as $GIT_CONFIG; when Git will support global |
| 414 | configuration files, this will cause it to take the configuration |
| 415 | from the global configuration file in addition to the given file. |
| 416 | </p> |
| 417 | </dd> |
| 418 | </dl> |
| 419 | </div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 420 | <h2>EXAMPLE</h2> |
| 421 | <div class="sectionbody"> |
| 422 | <p>Given a .git/config like this:</p> |
| 423 | <div class="literalblock"> |
| 424 | <div class="content"> |
| 425 | <pre><tt># |
| 426 | # This is the config file, and |
| 427 | # a '#' or ';' character indicates |
| 428 | # a comment |
| 429 | #</tt></pre> |
| 430 | </div></div> |
| 431 | <div class="literalblock"> |
| 432 | <div class="content"> |
| 433 | <pre><tt>; core variables |
| 434 | [core] |
| 435 | ; Don't trust file modes |
| 436 | filemode = false</tt></pre> |
| 437 | </div></div> |
| 438 | <div class="literalblock"> |
| 439 | <div class="content"> |
| 440 | <pre><tt>; Our diff algorithm |
| 441 | [diff] |
| 442 | external = "/usr/local/bin/gnu-diff -u" |
| 443 | renames = true</tt></pre> |
| 444 | </div></div> |
| 445 | <div class="literalblock"> |
| 446 | <div class="content"> |
| 447 | <pre><tt>; Proxy settings |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 448 | [core] |
| 449 | gitproxy="ssh" for "ssh://kernel.org/" |
| 450 | gitproxy="proxy-command" for kernel.org |
| 451 | gitproxy="myprotocol-command" for "my://" |
| 452 | gitproxy=default-proxy ; for all the rest</tt></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 453 | </div></div> |
| 454 | <p>you can set the filemode to true with</p> |
| 455 | <div class="listingblock"> |
| 456 | <div class="content"> |
| 457 | <pre><tt>% git repo-config core.filemode true</tt></pre> |
| 458 | </div></div> |
Junio C Hamano | 51c2ab0 | 2006-07-09 20:38:54 | [diff] [blame] | 459 | <p>The hypothetical proxy command entries actually have a postfix to discern |
| 460 | 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] | 461 | to "ssh".</p> |
| 462 | <div class="listingblock"> |
| 463 | <div class="content"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 464 | <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] | 465 | </div></div> |
| 466 | <p>This makes sure that only the key/value pair for kernel.org is replaced.</p> |
| 467 | <p>To delete the entry for renames, do</p> |
| 468 | <div class="listingblock"> |
| 469 | <div class="content"> |
| 470 | <pre><tt>% git repo-config --unset diff.renames</tt></pre> |
| 471 | </div></div> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 472 | <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] | 473 | you have to provide a regex matching the value of exactly one line.</p> |
| 474 | <p>To query the value for a given key, do</p> |
| 475 | <div class="listingblock"> |
| 476 | <div class="content"> |
| 477 | <pre><tt>% git repo-config --get core.filemode</tt></pre> |
| 478 | </div></div> |
| 479 | <p>or</p> |
| 480 | <div class="listingblock"> |
| 481 | <div class="content"> |
| 482 | <pre><tt>% git repo-config core.filemode</tt></pre> |
| 483 | </div></div> |
| 484 | <p>or, to query a multivar:</p> |
| 485 | <div class="listingblock"> |
| 486 | <div class="content"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 487 | <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] | 488 | </div></div> |
| 489 | <p>If you want to know all the values for a multivar, do:</p> |
| 490 | <div class="listingblock"> |
| 491 | <div class="content"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 492 | <pre><tt>% git repo-config --get-all core.gitproxy</tt></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 493 | </div></div> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 494 | <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] | 495 | new one with</p> |
| 496 | <div class="listingblock"> |
| 497 | <div class="content"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 498 | <pre><tt>% git repo-config --replace-all core.gitproxy ssh</tt></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 499 | </div></div> |
| 500 | <p>However, if you really only want to replace the line for the default proxy, |
| 501 | i.e. the one without a "for …" postfix, do something like this:</p> |
| 502 | <div class="listingblock"> |
| 503 | <div class="content"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 504 | <pre><tt>% git repo-config core.gitproxy ssh '! for '</tt></pre> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 505 | </div></div> |
| 506 | <p>To actually match only values with an exclamation mark, you have to</p> |
| 507 | <div class="listingblock"> |
| 508 | <div class="content"> |
| 509 | <pre><tt>% git repo-config section.key value '[!]'</tt></pre> |
| 510 | </div></div> |
| 511 | </div> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 512 | <h2>CONFIGURATION FILE</h2> |
| 513 | <div class="sectionbody"> |
| 514 | <p>The git configuration file contains a number of variables that affect |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 515 | the git command's behavior. They can be used by both the git plumbing |
| 516 | and the porcelains. The variables are divided into sections, where |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 517 | in the fully qualified variable name the variable itself is the last |
| 518 | dot-separated segment and the section name is everything before the last |
| 519 | dot. The variable names are case-insensitive and only alphanumeric |
| 520 | characters are allowed. Some variables may appear multiple times.</p> |
| 521 | <p>The syntax is fairly flexible and permissive; whitespaces are mostly |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 522 | 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] | 523 | blank lines are ignored, lines containing strings enclosed in square |
| 524 | brackets start sections and all the other lines are recognized |
| 525 | as setting variables, in the form <em>name = value</em>. If there is no equal |
| 526 | sign on the line, the entire line is taken as <em>name</em> and the variable |
| 527 | is recognized as boolean "true". String values may be entirely or partially |
| 528 | enclosed in double quotes; some variables may require special value format.</p> |
| 529 | <h3>Example</h3> |
| 530 | <div class="literalblock"> |
| 531 | <div class="content"> |
| 532 | <pre><tt># Core variables |
| 533 | [core] |
| 534 | ; Don't trust file modes |
| 535 | filemode = false</tt></pre> |
| 536 | </div></div> |
| 537 | <div class="literalblock"> |
| 538 | <div class="content"> |
| 539 | <pre><tt># Our diff algorithm |
| 540 | [diff] |
| 541 | external = "/usr/local/bin/gnu-diff -u" |
| 542 | renames = true</tt></pre> |
| 543 | </div></div> |
| 544 | <h3>Variables</h3> |
| 545 | <p>Note that this list is non-comprehensive and not necessarily complete. |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 546 | For command-specific variables, you will find a more detailed description |
| 547 | 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] | 548 | porcelain configuration variables in the respective porcelain documentation.</p> |
| 549 | <dl> |
| 550 | <dt> |
| 551 | core.fileMode |
| 552 | </dt> |
| 553 | <dd> |
| 554 | <p> |
| 555 | If false, the executable bit differences between the index and |
| 556 | the working copy are ignored; useful on broken filesystems like FAT. |
| 557 | See <a href="git-update-index.html">git-update-index(1)</a>. True by default. |
| 558 | </p> |
| 559 | </dd> |
| 560 | <dt> |
| 561 | core.gitProxy |
| 562 | </dt> |
| 563 | <dd> |
| 564 | <p> |
| 565 | A "proxy command" to execute (as <em>command host port</em>) instead |
| 566 | of establishing direct connection to the remote server when |
| 567 | using the git protocol for fetching. If the variable value is |
| 568 | in the "COMMAND for DOMAIN" format, the command is applied only |
| 569 | on hostnames ending with the specified domain string. This variable |
| 570 | may be set multiple times and is matched in the given order; |
| 571 | the first match wins. |
| 572 | </p> |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 573 | <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] | 574 | (which always applies universally, without the special "for" |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 575 | handling).</p> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 576 | </dd> |
| 577 | <dt> |
| 578 | core.ignoreStat |
| 579 | </dt> |
| 580 | <dd> |
| 581 | <p> |
| 582 | The working copy files are assumed to stay unchanged until you |
| 583 | mark them otherwise manually - Git will not detect the file changes |
| 584 | by lstat() calls. This is useful on systems where those are very |
| 585 | slow, such as Microsoft Windows. See <a href="git-update-index.html">git-update-index(1)</a>. |
| 586 | False by default. |
| 587 | </p> |
| 588 | </dd> |
| 589 | <dt> |
Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 590 | core.preferSymlinkRefs |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 591 | </dt> |
| 592 | <dd> |
| 593 | <p> |
Junio C Hamano | 88a3a07 | 2006-05-04 08:01:43 | [diff] [blame] | 594 | Instead of the default "symref" format for HEAD |
| 595 | and other symbolic reference files, use symbolic links. |
| 596 | This is sometimes needed to work with old scripts that |
| 597 | expect HEAD to be a symbolic link. |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 598 | </p> |
| 599 | </dd> |
| 600 | <dt> |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 601 | core.logAllRefUpdates |
| 602 | </dt> |
| 603 | <dd> |
| 604 | <p> |
| 605 | If true, <tt>git-update-ref</tt> will append a line to |
| 606 | "$GIT_DIR/logs/<ref>" listing the new SHA1 and the date/time |
| 607 | of the update. If the file does not exist it will be |
| 608 | created automatically. This information can be used to |
| 609 | determine what commit was the tip of a branch "2 days ago". |
| 610 | This value is false by default (no logging). |
| 611 | </p> |
| 612 | </dd> |
| 613 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 614 | core.repositoryFormatVersion |
| 615 | </dt> |
| 616 | <dd> |
| 617 | <p> |
| 618 | Internal variable identifying the repository format and layout |
| 619 | version. |
| 620 | </p> |
| 621 | </dd> |
| 622 | <dt> |
| 623 | core.sharedRepository |
| 624 | </dt> |
| 625 | <dd> |
| 626 | <p> |
Junio C Hamano | 0ab78ae | 2006-08-09 01:00:42 | [diff] [blame] | 627 | When <em>group</em> (or <em>true</em>), the repository is made shareable between |
| 628 | several users in a group (making sure all the files and objects are |
| 629 | group-writable). When <em>all</em> (or <em>world</em> or <em>everybody</em>), the |
| 630 | repository will be readable by all users, additionally to being |
| 631 | group-shareable. When <em>umask</em> (or <em>false</em>), git will use permissions |
| 632 | 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] | 633 | </p> |
| 634 | </dd> |
| 635 | <dt> |
| 636 | core.warnAmbiguousRefs |
| 637 | </dt> |
| 638 | <dd> |
| 639 | <p> |
| 640 | If true, git will warn you if the ref name you passed it is ambiguous |
| 641 | and might match multiple refs in the .git/refs/ tree. True by default. |
| 642 | </p> |
| 643 | </dd> |
Junio C Hamano | 7ec1572 | 2006-07-07 02:03:59 | [diff] [blame] | 644 | <dt> |
| 645 | core.compression |
| 646 | </dt> |
| 647 | <dd> |
| 648 | <p> |
Junio C Hamano | a126a3b | 2006-07-04 04:55:26 | [diff] [blame] | 649 | An integer -1..9, indicating the compression level for objects that |
| 650 | are not in a pack file. -1 is the zlib and git default. 0 means no |
| 651 | compression, and 1..9 are various speed/size tradeoffs, 9 being |
Junio C Hamano | 7ec1572 | 2006-07-07 02:03:59 | [diff] [blame] | 652 | slowest. |
| 653 | </p> |
| 654 | </dd> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 655 | <dt> |
Junio C Hamano | 28d9dfe | 2006-07-25 03:50:49 | [diff] [blame] | 656 | core.legacyheaders |
| 657 | </dt> |
| 658 | <dd> |
| 659 | <p> |
| 660 | A boolean which enables the legacy object header format in case |
| 661 | you want to interoperate with old clients accessing the object |
| 662 | database directly (where the "http://" and "rsync://" protocols |
| 663 | count as direct access). |
| 664 | </p> |
| 665 | </dd> |
| 666 | <dt> |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 667 | alias.* |
| 668 | </dt> |
| 669 | <dd> |
| 670 | <p> |
| 671 | Command aliases for the <a href="git.html">git(1)</a> command wrapper - e.g. |
| 672 | after defining "alias.last = cat-file commit HEAD", the invocation |
| 673 | "git last" is equivalent to "git cat-file commit HEAD". To avoid |
Junio C Hamano | f1d1480 | 2006-06-08 00:48:17 | [diff] [blame] | 674 | confusion and troubles with script usage, aliases that |
| 675 | hide existing git commands are ignored. Arguments are split by |
| 676 | spaces, the usual shell quoting and escaping is supported. |
| 677 | quote pair and a backslash can be used to quote them. |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 678 | </p> |
| 679 | </dd> |
| 680 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 681 | apply.whitespace |
| 682 | </dt> |
| 683 | <dd> |
| 684 | <p> |
| 685 | Tells <tt>git-apply</tt> how to handle whitespaces, in the same way |
| 686 | as the <em>--whitespace</em> option. See <a href="git-apply.html">git-apply(1)</a>. |
| 687 | </p> |
| 688 | </dd> |
| 689 | <dt> |
Junio C Hamano | fbb0aff | 2006-08-01 08:53:38 | [diff] [blame] | 690 | pager.color |
| 691 | </dt> |
| 692 | <dd> |
| 693 | <p> |
| 694 | A boolean to enable/disable colored output when the pager is in |
| 695 | use (default is true). |
| 696 | </p> |
| 697 | </dd> |
| 698 | <dt> |
Junio C Hamano | 9ae1a06 | 2006-07-10 08:12:34 | [diff] [blame] | 699 | diff.color |
| 700 | </dt> |
| 701 | <dd> |
| 702 | <p> |
| 703 | When true (or <tt>always</tt>), always use colors in patch. |
| 704 | When false (or <tt>never</tt>), never. When set to <tt>auto</tt>, use |
| 705 | colors only when the output is to the terminal. |
| 706 | </p> |
| 707 | </dd> |
| 708 | <dt> |
| 709 | diff.color.<slot> |
| 710 | </dt> |
| 711 | <dd> |
| 712 | <p> |
| 713 | Use customized color for diff colorization. <tt><slot></tt> |
| 714 | specifies which part of the patch to use the specified |
| 715 | color, and is one of <tt>plain</tt> (context text), <tt>meta</tt> |
| 716 | (metainformation), <tt>frag</tt> (hunk header), <tt>old</tt> (removed |
| 717 | lines), or <tt>new</tt> (added lines). The value for these |
| 718 | configuration variables can be one of: <tt>normal</tt>, <tt>bold</tt>, |
| 719 | <tt>dim</tt>, <tt>ul</tt>, <tt>blink</tt>, <tt>reverse</tt>, <tt>reset</tt>, <tt>black</tt>, |
| 720 | <tt>red</tt>, <tt>green</tt>, <tt>yellow</tt>, <tt>blue</tt>, <tt>magenta</tt>, <tt>cyan</tt>, or |
| 721 | <tt>white</tt>. |
| 722 | </p> |
| 723 | </dd> |
| 724 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 725 | diff.renameLimit |
| 726 | </dt> |
| 727 | <dd> |
| 728 | <p> |
| 729 | The number of files to consider when performing the copy/rename |
| 730 | detection; equivalent to the git diff option <em>-l</em>. |
| 731 | </p> |
| 732 | </dd> |
| 733 | <dt> |
Junio C Hamano | 9ae1a06 | 2006-07-10 08:12:34 | [diff] [blame] | 734 | diff.renames |
| 735 | </dt> |
| 736 | <dd> |
| 737 | <p> |
| 738 | Tells git to detect renames. If set to any boolean value, it |
| 739 | will enable basic rename detection. If set to "copies" or |
| 740 | "copy", it will detect copies, as well. |
| 741 | </p> |
| 742 | </dd> |
| 743 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 744 | format.headers |
| 745 | </dt> |
| 746 | <dd> |
| 747 | <p> |
| 748 | Additional email headers to include in a patch to be submitted |
| 749 | by mail. See <a href="git-format-patch.html">git-format-patch(1)</a>. |
| 750 | </p> |
| 751 | </dd> |
| 752 | <dt> |
| 753 | gitcvs.enabled |
| 754 | </dt> |
| 755 | <dd> |
| 756 | <p> |
| 757 | Whether the cvs pserver interface is enabled for this repository. |
| 758 | See <a href="git-cvsserver.html">git-cvsserver(1)</a>. |
| 759 | </p> |
| 760 | </dd> |
| 761 | <dt> |
| 762 | gitcvs.logfile |
| 763 | </dt> |
| 764 | <dd> |
| 765 | <p> |
| 766 | Path to a log file where the cvs pserver interface well… logs |
| 767 | various stuff. See <a href="git-cvsserver.html">git-cvsserver(1)</a>. |
| 768 | </p> |
| 769 | </dd> |
| 770 | <dt> |
| 771 | http.sslVerify |
| 772 | </dt> |
| 773 | <dd> |
| 774 | <p> |
| 775 | Whether to verify the SSL certificate when fetching or pushing |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 776 | 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] | 777 | variable. |
| 778 | </p> |
| 779 | </dd> |
| 780 | <dt> |
| 781 | http.sslCert |
| 782 | </dt> |
| 783 | <dd> |
| 784 | <p> |
| 785 | File containing the SSL certificate when fetching or pushing |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 786 | 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] | 787 | variable. |
| 788 | </p> |
| 789 | </dd> |
| 790 | <dt> |
| 791 | http.sslKey |
| 792 | </dt> |
| 793 | <dd> |
| 794 | <p> |
| 795 | File containing the SSL private key when fetching or pushing |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 796 | 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] | 797 | variable. |
| 798 | </p> |
| 799 | </dd> |
| 800 | <dt> |
| 801 | http.sslCAInfo |
| 802 | </dt> |
| 803 | <dd> |
| 804 | <p> |
| 805 | File containing the certificates to verify the peer with when |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 806 | fetching or pushing over HTTPS. Can be overridden by the |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 807 | <em>GIT_SSL_CAINFO</em> environment variable. |
| 808 | </p> |
| 809 | </dd> |
| 810 | <dt> |
| 811 | http.sslCAPath |
| 812 | </dt> |
| 813 | <dd> |
| 814 | <p> |
| 815 | Path containing files with the CA certificates to verify the peer |
Junio C Hamano | 33db437 | 2006-06-07 19:51:45 | [diff] [blame] | 816 | with when fetching or pushing over HTTPS. Can be overridden |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 817 | by the <em>GIT_SSL_CAPATH</em> environment variable. |
| 818 | </p> |
| 819 | </dd> |
| 820 | <dt> |
| 821 | http.maxRequests |
| 822 | </dt> |
| 823 | <dd> |
| 824 | <p> |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 825 | How many HTTP requests to launch in parallel. Can be overridden |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 826 | by the <em>GIT_HTTP_MAX_REQUESTS</em> environment variable. Default is 5. |
| 827 | </p> |
| 828 | </dd> |
| 829 | <dt> |
| 830 | http.lowSpeedLimit, http.lowSpeedTime |
| 831 | </dt> |
| 832 | <dd> |
| 833 | <p> |
| 834 | If the HTTP transfer speed is less than <em>http.lowSpeedLimit</em> |
| 835 | for longer than <em>http.lowSpeedTime</em> seconds, the transfer is aborted. |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 836 | 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] | 837 | <em>GIT_HTTP_LOW_SPEED_TIME</em> environment variables. |
| 838 | </p> |
| 839 | </dd> |
| 840 | <dt> |
| 841 | i18n.commitEncoding |
| 842 | </dt> |
| 843 | <dd> |
| 844 | <p> |
| 845 | Character encoding the commit messages are stored in; git itself |
| 846 | does not care per se, but this information is necessary e.g. when |
| 847 | importing commits from emails or in the gitk graphical history |
| 848 | browser (and possibly at other places in the future or in other |
| 849 | porcelains). See e.g. <a href="git-mailinfo.html">git-mailinfo(1)</a>. Defaults to <em>utf-8</em>. |
| 850 | </p> |
| 851 | </dd> |
| 852 | <dt> |
| 853 | merge.summary |
| 854 | </dt> |
| 855 | <dd> |
| 856 | <p> |
| 857 | Whether to include summaries of merged commits in newly created |
| 858 | merge commit messages. False by default. |
| 859 | </p> |
| 860 | </dd> |
| 861 | <dt> |
Junio C Hamano | 75cc4c9 | 2006-07-24 08:25:03 | [diff] [blame] | 862 | pack.window |
| 863 | </dt> |
| 864 | <dd> |
| 865 | <p> |
| 866 | The size of the window used by <a href="git-pack-objects.html">git-pack-objects(1)</a> when no |
| 867 | window size is given on the command line. Defaults to 10. |
| 868 | </p> |
| 869 | </dd> |
| 870 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 871 | pull.octopus |
| 872 | </dt> |
| 873 | <dd> |
| 874 | <p> |
| 875 | The default merge strategy to use when pulling multiple branches |
| 876 | at once. |
| 877 | </p> |
| 878 | </dd> |
| 879 | <dt> |
| 880 | pull.twohead |
| 881 | </dt> |
| 882 | <dd> |
| 883 | <p> |
| 884 | The default merge strategy to use when pulling a single branch. |
| 885 | </p> |
| 886 | </dd> |
| 887 | <dt> |
| 888 | show.difftree |
| 889 | </dt> |
| 890 | <dd> |
| 891 | <p> |
| 892 | The default <a href="git-diff-tree.html">git-diff-tree(1)</a> arguments to be used |
| 893 | for <a href="git-show.html">git-show(1)</a>. |
| 894 | </p> |
| 895 | </dd> |
| 896 | <dt> |
| 897 | showbranch.default |
| 898 | </dt> |
| 899 | <dd> |
| 900 | <p> |
| 901 | The default set of branches for <a href="git-show-branch.html">git-show-branch(1)</a>. |
| 902 | See <a href="git-show-branch.html">git-show-branch(1)</a>. |
| 903 | </p> |
| 904 | </dd> |
| 905 | <dt> |
Junio C Hamano | 3eb513f | 2006-09-18 02:47:16 | [diff] [blame] | 906 | status.color |
| 907 | </dt> |
| 908 | <dd> |
| 909 | <p> |
| 910 | A boolean to enable/disable color in the output of |
| 911 | <a href="git-status.html">git-status(1)</a>. May be set to <tt>true</tt> (or <tt>always</tt>), |
| 912 | <tt>false</tt> (or <tt>never</tt>) or <tt>auto</tt>, in which case colors are used |
| 913 | only when the output is to a terminal. Defaults to false. |
| 914 | </p> |
| 915 | </dd> |
| 916 | <dt> |
| 917 | status.color.<slot> |
| 918 | </dt> |
| 919 | <dd> |
| 920 | <p> |
| 921 | Use customized color for status colorization. <tt><slot></tt> is |
| 922 | one of <tt>header</tt> (the header text of the status message), |
| 923 | <tt>updated</tt> (files which are updated but not committed), |
| 924 | <tt>changed</tt> (files which are changed but not updated in the index), |
| 925 | or <tt>untracked</tt> (files which are not tracked by git). The values of |
| 926 | these variables may be specified as in diff.color.<slot>. |
| 927 | </p> |
| 928 | </dd> |
| 929 | <dt> |
Junio C Hamano | 75cc4c9 | 2006-07-24 08:25:03 | [diff] [blame] | 930 | tar.umask |
| 931 | </dt> |
| 932 | <dd> |
| 933 | <p> |
Junio C Hamano | d7e6304 | 2006-08-02 21:12:23 | [diff] [blame] | 934 | 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] | 935 | to 0666 or 0777. While this is both useful and acceptable for projects |
| 936 | such as the Linux Kernel, it might be excessive for other projects. |
| 937 | With this variable, it becomes possible to tell |
Junio C Hamano | d7e6304 | 2006-08-02 21:12:23 | [diff] [blame] | 938 | <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] | 939 | The special value "user" indicates that the user's current umask will |
| 940 | 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] | 941 | 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] | 942 | value remains 0, which means world read-write. |
| 943 | </p> |
| 944 | </dd> |
| 945 | <dt> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 946 | user.email |
| 947 | </dt> |
| 948 | <dd> |
| 949 | <p> |
| 950 | Your email address to be recorded in any newly created commits. |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 951 | 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] | 952 | environment variables. See <a href="git-commit-tree.html">git-commit-tree(1)</a>. |
| 953 | </p> |
| 954 | </dd> |
| 955 | <dt> |
| 956 | user.name |
| 957 | </dt> |
| 958 | <dd> |
| 959 | <p> |
| 960 | Your full name to be recorded in any newly created commits. |
Junio C Hamano | 341071d | 2006-06-04 07:24:48 | [diff] [blame] | 961 | 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] | 962 | environment variables. See <a href="git-commit-tree.html">git-commit-tree(1)</a>. |
| 963 | </p> |
| 964 | </dd> |
| 965 | <dt> |
| 966 | whatchanged.difftree |
| 967 | </dt> |
| 968 | <dd> |
| 969 | <p> |
| 970 | The default <a href="git-diff-tree.html">git-diff-tree(1)</a> arguments to be used |
| 971 | for <a href="git-whatchanged.html">git-whatchanged(1)</a>. |
| 972 | </p> |
| 973 | </dd> |
| 974 | <dt> |
| 975 | imap |
| 976 | </dt> |
| 977 | <dd> |
| 978 | <p> |
| 979 | The configuration variables in the <em>imap</em> section are described |
| 980 | in <a href="git-imap-send.html">git-imap-send(1)</a>. |
| 981 | </p> |
| 982 | </dd> |
Junio C Hamano | 459ee22 | 2006-09-21 08:13:28 | [diff] [blame^] | 983 | <dt> |
| 984 | receive.denyNonFastforwads |
| 985 | </dt> |
| 986 | <dd> |
| 987 | <p> |
| 988 | If set to true, git-receive-pack will deny a ref update which is |
| 989 | not a fast forward. Use this to prevent such an update via a push, |
| 990 | even if that push is forced. This configuration variable is |
| 991 | set when initializing a shared repository. |
| 992 | </p> |
| 993 | </dd> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 994 | </dl> |
| 995 | </div> |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 996 | <h2>Author</h2> |
| 997 | <div class="sectionbody"> |
| 998 | <p>Written by Johannes Schindelin <Johannes.Schindelin@gmx.de></p> |
| 999 | </div> |
| 1000 | <h2>Documentation</h2> |
| 1001 | <div class="sectionbody"> |
Junio C Hamano | 07824ce | 2006-04-25 07:36:54 | [diff] [blame] | 1002 | <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] | 1003 | </div> |
| 1004 | <h2>GIT</h2> |
| 1005 | <div class="sectionbody"> |
| 1006 | <p>Part of the <a href="git.html">git(7)</a> suite</p> |
| 1007 | </div> |
| 1008 | <div id="footer"> |
| 1009 | <div id="footer-text"> |
Junio C Hamano | 459ee22 | 2006-09-21 08:13:28 | [diff] [blame^] | 1010 | Last updated 21-Sep-2006 08:13:18 UTC |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1011 | </div> |
| 1012 | </div> |
| 1013 | </body> |
| 1014 | </html> |