1CONFIGURATION FILE 2------------------ 3 4The Git configuration file contains a number of variables that affect 5the Git commands' behavior. The `.git/config` file in each repository 6is used to store the configuration for that repository, and 7`$HOME/.gitconfig` is used to store a per-user configuration as 8fallback values for the `.git/config` file. The file `/etc/gitconfig` 9can be used to store a system-wide default configuration. 10 11The configuration variables are used by both the Git plumbing 12and the porcelains. The variables are divided into sections, wherein 13the fully qualified variable name of the variable itself is the last 14dot-separated segment and the section name is everything before the last 15dot. The variable names are case-insensitive, allow only alphanumeric 16characters and `-`, and must start with an alphabetic character. Some 17variables may appear multiple times; we say then that the variable is 18multivalued. 19 20Syntax 21~~~~~~ 22 23The syntax is fairly flexible and permissive; whitespaces are mostly 24ignored. The '#' and ';' characters begin comments to the end of line, 25blank lines are ignored. 26 27The file consists of sections and variables. A section begins with 28the name of the section in square brackets and continues until the next 29section begins. Section names are case-insensitive. Only alphanumeric 30characters, `-` and `.` are allowed in section names. Each variable 31must belong to some section, which means that there must be a section 32header before the first setting of a variable. 33 34Sections can be further divided into subsections. To begin a subsection 35put its name in double quotes, separated by space from the section name, 36in the section header, like in the example below: 37 38-------- 39 [section "subsection"] 40 41-------- 42 43Subsection names are case sensitive and can contain any characters except 44newline (doublequote `"` and backslash can be included by escaping them 45as `\"` and `\\`, respectively). Section headers cannot span multiple 46lines. Variables may belong directly to a section or to a given subsection. 47You can have `[section]` if you have `[section "subsection"]`, but you 48don't need to. 49 50There is also a deprecated `[section.subsection]` syntax. With this 51syntax, the subsection name is converted to lower-case and is also 52compared case sensitively. These subsection names follow the same 53restrictions as section names. 54 55All the other lines (and the remainder of the line after the section 56header) are recognized as setting variables, in the form 57'name = value'. If there is no equal sign on the line, the entire line 58is taken as 'name' and the variable is recognized as boolean "true". 59The variable names are case-insensitive, allow only alphanumeric characters 60and `-`, and must start with an alphabetic character. 61 62A line that defines a value can be continued to the next line by 63ending it with a `\`; the backquote and the end-of-line are 64stripped. Leading whitespaces after 'name =', the remainder of the 65line after the first comment character '#' or ';', and trailing 66whitespaces of the line are discarded unless they are enclosed in 67double quotes. Internal whitespaces within the value are retained 68verbatim. 69 70Inside double quotes, double quote `"` and backslash `\` characters 71must be escaped: use `\"` for `"` and `\\` for `\`. 72 73The following escape sequences (beside `\"` and `\\`) are recognized: 74`\n` for newline character (NL), `\t` for horizontal tabulation (HT, TAB) 75and `\b` for backspace (BS). No other char escape sequence, nor octal 76char sequences are valid. 77 78The values following the equals sign in variable assign are all either 79a string, an integer, or a boolean. Boolean values may be given as yes/no, 801/0, true/false or on/off. Case is not significant in boolean values, when 81converting value to the canonical form using '--bool' type specifier; 82'git config' will ensure that the output is "true" or "false". 83 84Some variables may require a special value format. 85 86 87Includes 88~~~~~~~~ 89 90You can include one config file from another by setting the special 91`include.path` variable to the name of the file to be included. The 92included file is expanded immediately, as if its contents had been 93found at the location of the include directive. If the value of the 94`include.path` variable is a relative path, the path is considered to be 95relative to the configuration file in which the include directive was 96found. The value of `include.path` is subject to tilde expansion: `~/` 97is expanded to the value of `$HOME`, and `~user/` to the specified 98user's home directory. See below for examples. 99 100Example 101~~~~~~~ 102 103 # Core variables 104 [core] 105 ; Don't trust file modes 106 filemode = false 107 108 # Our diff algorithm 109 [diff] 110 external = /usr/local/bin/diff-wrapper 111 renames = true 112 113 [branch "devel"] 114 remote = origin 115 merge = refs/heads/devel 116 117 # Proxy settings 118 [core] 119 gitProxy="ssh" for "kernel.org" 120 gitProxy=default-proxy ; for the rest 121 122 [include] 123 path = /path/to/foo.inc ; include by absolute path 124 path = foo ; expand "foo" relative to the current file 125 path = ~/foo ; expand "foo" in your $HOME directory 126 127Variables 128~~~~~~~~~ 129 130Note that this list is non-comprehensive and not necessarily complete. 131For command-specific variables, you will find a more detailed description 132in the appropriate manual page. You will find a description of non-core 133porcelain configuration variables in the respective porcelain documentation. 134 135advice.*:: 136 These variables control various optional help messages designed to 137 aid new users. All 'advice.*' variables default to 'true', and you 138 can tell Git that you do not need help by setting these to 'false': 139+ 140-- 141 pushUpdateRejected:: 142 Set this variable to 'false' if you want to disable 143 'pushNonFFCurrent', 'pushNonFFDefault', 144 'pushNonFFMatching', 'pushAlreadyExists', 145 'pushFetchFirst', and 'pushNeedsForce' 146 simultaneously. 147 pushNonFFCurrent:: 148 Advice shown when linkgit:git-push[1] fails due to a 149 non-fast-forward update to the current branch. 150 pushNonFFDefault:: 151 Advice to set 'push.default' to 'upstream' or 'current' 152 when you ran linkgit:git-push[1] and pushed 'matching 153 refs' by default (i.e. you did not provide an explicit 154 refspec, and no 'push.default' configuration was set) 155 and it resulted in a non-fast-forward error. 156 pushNonFFMatching:: 157 Advice shown when you ran linkgit:git-push[1] and pushed 158 'matching refs' explicitly (i.e. you used ':', or 159 specified a refspec that isn't your current branch) and 160 it resulted in a non-fast-forward error. 161 pushAlreadyExists:: 162 Shown when linkgit:git-push[1] rejects an update that 163 does not qualify for fast-forwarding (e.g., a tag.) 164 pushFetchFirst:: 165 Shown when linkgit:git-push[1] rejects an update that 166 tries to overwrite a remote ref that points at an 167 object we do not have. 168 pushNeedsForce:: 169 Shown when linkgit:git-push[1] rejects an update that 170 tries to overwrite a remote ref that points at an 171 object that is not a commit-ish, or make the remote 172 ref point at an object that is not a commit-ish. 173 statusHints:: 174 Show directions on how to proceed from the current 175 state in the output of linkgit:git-status[1], in 176 the template shown when writing commit messages in 177 linkgit:git-commit[1], and in the help message shown 178 by linkgit:git-checkout[1] when switching branch. 179 statusUoption:: 180 Advise to consider using the `-u` option to linkgit:git-status[1] 181 when the command takes more than 2 seconds to enumerate untracked 182 files. 183 commitBeforeMerge:: 184 Advice shown when linkgit:git-merge[1] refuses to 185 merge to avoid overwriting local changes. 186 resolveConflict:: 187 Advice shown by various commands when conflicts 188 prevent the operation from being performed. 189 implicitIdentity:: 190 Advice on how to set your identity configuration when 191 your information is guessed from the system username and 192 domain name. 193 detachedHead:: 194 Advice shown when you used linkgit:git-checkout[1] to 195 move to the detach HEAD state, to instruct how to create 196 a local branch after the fact. 197 amWorkDir:: 198 Advice that shows the location of the patch file when 199 linkgit:git-am[1] fails to apply it. 200 rmHints:: 201 In case of failure in the output of linkgit:git-rm[1], 202 show directions on how to proceed from the current state. 203-- 204 205core.fileMode:: 206 If false, the executable bit differences between the index and 207 the working tree are ignored; useful on broken filesystems like FAT. 208 See linkgit:git-update-index[1]. 209+ 210The default is true, except linkgit:git-clone[1] or linkgit:git-init[1] 211will probe and set core.fileMode false if appropriate when the 212repository is created. 213 214core.ignorecase:: 215 If true, this option enables various workarounds to enable 216 Git to work better on filesystems that are not case sensitive, 217 like FAT. For example, if a directory listing finds 218 "makefile" when Git expects "Makefile", Git will assume 219 it is really the same file, and continue to remember it as 220 "Makefile". 221+ 222The default is false, except linkgit:git-clone[1] or linkgit:git-init[1] 223will probe and set core.ignorecase true if appropriate when the repository 224is created. 225 226core.precomposeunicode:: 227 This option is only used by Mac OS implementation of Git. 228 When core.precomposeunicode=true, Git reverts the unicode decomposition 229 of filenames done by Mac OS. This is useful when sharing a repository 230 between Mac OS and Linux or Windows. 231 (Git for Windows 1.7.10 or higher is needed, or Git under cygwin 1.7). 232 When false, file names are handled fully transparent by Git, 233 which is backward compatible with older versions of Git. 234 235core.protectHFS:: 236 If set to true, do not allow checkout of paths that would 237 be considered equivalent to `.git` on an HFS+ filesystem. 238 Defaults to `true` on Mac OS, and `false` elsewhere. 239 240core.protectNTFS:: 241 If set to true, do not allow checkout of paths that would 242 cause problems with the NTFS filesystem, e.g. conflict with 243 8.3 "short" names. 244 Defaults to `true` on Windows, and `false` elsewhere. 245 246core.trustctime:: 247 If false, the ctime differences between the index and the 248 working tree are ignored; useful when the inode change time 249 is regularly modified by something outside Git (file system 250 crawlers and some backup systems). 251 See linkgit:git-update-index[1]. True by default. 252 253core.checkstat:: 254 Determines which stat fields to match between the index 255 and work tree. The user can set this to 'default' or 256 'minimal'. Default (or explicitly 'default'), is to check 257 all fields, including the sub-second part of mtime and ctime. 258 259core.quotepath:: 260 The commands that output paths (e.g. 'ls-files', 261 'diff'), when not given the `-z` option, will quote 262 "unusual" characters in the pathname by enclosing the 263 pathname in a double-quote pair and with backslashes the 264 same way strings in C source code are quoted. If this 265 variable is set to false, the bytes higher than 0x80 are 266 not quoted but output as verbatim. Note that double 267 quote, backslash and control characters are always 268 quoted without `-z` regardless of the setting of this 269 variable. 270 271core.eol:: 272 Sets the line ending type to use in the working directory for 273 files that have the `text` property set. Alternatives are 274 'lf', 'crlf' and 'native', which uses the platform's native 275 line ending. The default value is `native`. See 276 linkgit:gitattributes[5] for more information on end-of-line 277 conversion. 278 279core.safecrlf:: 280 If true, makes Git check if converting `CRLF` is reversible when 281 end-of-line conversion is active. Git will verify if a command 282 modifies a file in the work tree either directly or indirectly. 283 For example, committing a file followed by checking out the 284 same file should yield the original file in the work tree. If 285 this is not the case for the current setting of 286 `core.autocrlf`, Git will reject the file. The variable can 287 be set to "warn", in which case Git will only warn about an 288 irreversible conversion but continue the operation. 289+ 290CRLF conversion bears a slight chance of corrupting data. 291When it is enabled, Git will convert CRLF to LF during commit and LF to 292CRLF during checkout. A file that contains a mixture of LF and 293CRLF before the commit cannot be recreated by Git. For text 294files this is the right thing to do: it corrects line endings 295such that we have only LF line endings in the repository. 296But for binary files that are accidentally classified as text the 297conversion can corrupt data. 298+ 299If you recognize such corruption early you can easily fix it by 300setting the conversion type explicitly in .gitattributes. Right 301after committing you still have the original file in your work 302tree and this file is not yet corrupted. You can explicitly tell 303Git that this file is binary and Git will handle the file 304appropriately. 305+ 306Unfortunately, the desired effect of cleaning up text files with 307mixed line endings and the undesired effect of corrupting binary 308files cannot be distinguished. In both cases CRLFs are removed 309in an irreversible way. For text files this is the right thing 310to do because CRLFs are line endings, while for binary files 311converting CRLFs corrupts data. 312+ 313Note, this safety check does not mean that a checkout will generate a 314file identical to the original file for a different setting of 315`core.eol` and `core.autocrlf`, but only for the current one. For 316example, a text file with `LF` would be accepted with `core.eol=lf` 317and could later be checked out with `core.eol=crlf`, in which case the 318resulting file would contain `CRLF`, although the original file 319contained `LF`. However, in both work trees the line endings would be 320consistent, that is either all `LF` or all `CRLF`, but never mixed. A 321file with mixed line endings would be reported by the `core.safecrlf` 322mechanism. 323 324core.autocrlf:: 325 Setting this variable to "true" is almost the same as setting 326 the `text` attribute to "auto" on all files except that text 327 files are not guaranteed to be normalized: files that contain 328 `CRLF` in the repository will not be touched. Use this 329 setting if you want to have `CRLF` line endings in your 330 working directory even though the repository does not have 331 normalized line endings. This variable can be set to 'input', 332 in which case no output conversion is performed. 333 334core.symlinks:: 335 If false, symbolic links are checked out as small plain files that 336 contain the link text. linkgit:git-update-index[1] and 337 linkgit:git-add[1] will not change the recorded type to regular 338 file. Useful on filesystems like FAT that do not support 339 symbolic links. 340+ 341The default is true, except linkgit:git-clone[1] or linkgit:git-init[1] 342will probe and set core.symlinks false if appropriate when the repository 343is created. 344 345core.gitProxy:: 346 A "proxy command" to execute (as 'command host port') instead 347 of establishing direct connection to the remote server when 348 using the Git protocol for fetching. If the variable value is 349 in the "COMMAND for DOMAIN" format, the command is applied only 350 on hostnames ending with the specified domain string. This variable 351 may be set multiple times and is matched in the given order; 352 the first match wins. 353+ 354Can be overridden by the 'GIT_PROXY_COMMAND' environment variable 355(which always applies universally, without the special "for" 356handling). 357+ 358The special string `none` can be used as the proxy command to 359specify that no proxy be used for a given domain pattern. 360This is useful for excluding servers inside a firewall from 361proxy use, while defaulting to a common proxy for external domains. 362 363core.ignoreStat:: 364 If true, commands which modify both the working tree and the index 365 will mark the updated paths with the "assume unchanged" bit in the 366 index. These marked files are then assumed to stay unchanged in the 367 working tree, until you mark them otherwise manually - Git will not 368 detect the file changes by lstat() calls. This is useful on systems 369 where those are very slow, such as Microsoft Windows. 370 See linkgit:git-update-index[1]. 371 False by default. 372 373core.preferSymlinkRefs:: 374 Instead of the default "symref" format for HEAD 375 and other symbolic reference files, use symbolic links. 376 This is sometimes needed to work with old scripts that 377 expect HEAD to be a symbolic link. 378 379core.bare:: 380 If true this repository is assumed to be 'bare' and has no 381 working directory associated with it. If this is the case a 382 number of commands that require a working directory will be 383 disabled, such as linkgit:git-add[1] or linkgit:git-merge[1]. 384+ 385This setting is automatically guessed by linkgit:git-clone[1] or 386linkgit:git-init[1] when the repository was created. By default a 387repository that ends in "/.git" is assumed to be not bare (bare = 388false), while all other repositories are assumed to be bare (bare 389= true). 390 391core.worktree:: 392 Set the path to the root of the working tree. 393 This can be overridden by the GIT_WORK_TREE environment 394 variable and the '--work-tree' command line option. 395 The value can be an absolute path or relative to the path to 396 the .git directory, which is either specified by --git-dir 397 or GIT_DIR, or automatically discovered. 398 If --git-dir or GIT_DIR is specified but none of 399 --work-tree, GIT_WORK_TREE and core.worktree is specified, 400 the current working directory is regarded as the top level 401 of your working tree. 402+ 403Note that this variable is honored even when set in a configuration 404file in a ".git" subdirectory of a directory and its value differs 405from the latter directory (e.g. "/path/to/.git/config" has 406core.worktree set to "/different/path"), which is most likely a 407misconfiguration. Running Git commands in the "/path/to" directory will 408still use "/different/path" as the root of the work tree and can cause 409confusion unless you know what you are doing (e.g. you are creating a 410read-only snapshot of the same index to a location different from the 411repository's usual working tree). 412 413core.logAllRefUpdates:: 414 Enable the reflog. Updates to a ref <ref> is logged to the file 415 "$GIT_DIR/logs/<ref>", by appending the new and old 416 SHA-1, the date/time and the reason of the update, but 417 only when the file exists. If this configuration 418 variable is set to true, missing "$GIT_DIR/logs/<ref>" 419 file is automatically created for branch heads (i.e. under 420 refs/heads/), remote refs (i.e. under refs/remotes/), 421 note refs (i.e. under refs/notes/), and the symbolic ref HEAD. 422+ 423This information can be used to determine what commit 424was the tip of a branch "2 days ago". 425+ 426This value is true by default in a repository that has 427a working directory associated with it, and false by 428default in a bare repository. 429 430core.repositoryFormatVersion:: 431 Internal variable identifying the repository format and layout 432 version. 433 434core.sharedRepository:: 435 When 'group' (or 'true'), the repository is made shareable between 436 several users in a group (making sure all the files and objects are 437 group-writable). When 'all' (or 'world' or 'everybody'), the 438 repository will be readable by all users, additionally to being 439 group-shareable. When 'umask' (or 'false'), Git will use permissions 440 reported by umask(2). When '0xxx', where '0xxx' is an octal number, 441 files in the repository will have this mode value. '0xxx' will override 442 user's umask value (whereas the other options will only override 443 requested parts of the user's umask value). Examples: '0660' will make 444 the repo read/write-able for the owner and group, but inaccessible to 445 others (equivalent to 'group' unless umask is e.g. '0022'). '0640' is a 446 repository that is group-readable but not group-writable. 447 See linkgit:git-init[1]. False by default. 448 449core.warnAmbiguousRefs:: 450 If true, Git will warn you if the ref name you passed it is ambiguous 451 and might match multiple refs in the repository. True by default. 452 453core.compression:: 454 An integer -1..9, indicating a default compression level. 455 -1 is the zlib default. 0 means no compression, 456 and 1..9 are various speed/size tradeoffs, 9 being slowest. 457 If set, this provides a default to other compression variables, 458 such as 'core.loosecompression' and 'pack.compression'. 459 460core.loosecompression:: 461 An integer -1..9, indicating the compression level for objects that 462 are not in a pack file. -1 is the zlib default. 0 means no 463 compression, and 1..9 are various speed/size tradeoffs, 9 being 464 slowest. If not set, defaults to core.compression. If that is 465 not set, defaults to 1 (best speed). 466 467core.packedGitWindowSize:: 468 Number of bytes of a pack file to map into memory in a 469 single mapping operation. Larger window sizes may allow 470 your system to process a smaller number of large pack files 471 more quickly. Smaller window sizes will negatively affect 472 performance due to increased calls to the operating system's 473 memory manager, but may improve performance when accessing 474 a large number of large pack files. 475+ 476Default is 1 MiB if NO_MMAP was set at compile time, otherwise 32 477MiB on 32 bit platforms and 1 GiB on 64 bit platforms. This should 478be reasonable for all users/operating systems. You probably do 479not need to adjust this value. 480+ 481Common unit suffixes of 'k', 'm', or 'g' are supported. 482 483core.packedGitLimit:: 484 Maximum number of bytes to map simultaneously into memory 485 from pack files. If Git needs to access more than this many 486 bytes at once to complete an operation it will unmap existing 487 regions to reclaim virtual address space within the process. 488+ 489Default is 256 MiB on 32 bit platforms and 8 GiB on 64 bit platforms. 490This should be reasonable for all users/operating systems, except on 491the largest projects. You probably do not need to adjust this value. 492+ 493Common unit suffixes of 'k', 'm', or 'g' are supported. 494 495core.deltaBaseCacheLimit:: 496 Maximum number of bytes to reserve for caching base objects 497 that may be referenced by multiple deltified objects. By storing the 498 entire decompressed base objects in a cache Git is able 499 to avoid unpacking and decompressing frequently used base 500 objects multiple times. 501+ 502Default is 16 MiB on all platforms. This should be reasonable 503for all users/operating systems, except on the largest projects. 504You probably do not need to adjust this value. 505+ 506Common unit suffixes of 'k', 'm', or 'g' are supported. 507 508core.bigFileThreshold:: 509 Files larger than this size are stored deflated, without 510 attempting delta compression. Storing large files without 511 delta compression avoids excessive memory usage, at the 512 slight expense of increased disk usage. 513+ 514Default is 512 MiB on all platforms. This should be reasonable 515for most projects as source code and other text files can still 516be delta compressed, but larger binary media files won't be. 517+ 518Common unit suffixes of 'k', 'm', or 'g' are supported. 519 520core.excludesfile:: 521 In addition to '.gitignore' (per-directory) and 522 '.git/info/exclude', Git looks into this file for patterns 523 of files which are not meant to be tracked. "`~/`" is expanded 524 to the value of `$HOME` and "`~user/`" to the specified user's 525 home directory. Its default value is $XDG_CONFIG_HOME/git/ignore. 526 If $XDG_CONFIG_HOME is either not set or empty, $HOME/.config/git/ignore 527 is used instead. See linkgit:gitignore[5]. 528 529core.askpass:: 530 Some commands (e.g. svn and http interfaces) that interactively 531 ask for a password can be told to use an external program given 532 via the value of this variable. Can be overridden by the 'GIT_ASKPASS' 533 environment variable. If not set, fall back to the value of the 534 'SSH_ASKPASS' environment variable or, failing that, a simple password 535 prompt. The external program shall be given a suitable prompt as 536 command line argument and write the password on its STDOUT. 537 538core.attributesfile:: 539 In addition to '.gitattributes' (per-directory) and 540 '.git/info/attributes', Git looks into this file for attributes 541 (see linkgit:gitattributes[5]). Path expansions are made the same 542 way as for `core.excludesfile`. Its default value is 543 $XDG_CONFIG_HOME/git/attributes. If $XDG_CONFIG_HOME is either not 544 set or empty, $HOME/.config/git/attributes is used instead. 545 546core.editor:: 547 Commands such as `commit` and `tag` that lets you edit 548 messages by launching an editor uses the value of this 549 variable when it is set, and the environment variable 550 `GIT_EDITOR` is not set. See linkgit:git-var[1]. 551 552core.commentchar:: 553 Commands such as `commit` and `tag` that lets you edit 554 messages consider a line that begins with this character 555 commented, and removes them after the editor returns 556 (default '#'). 557 558sequence.editor:: 559 Text editor used by `git rebase -i` for editing the rebase instruction file. 560 The value is meant to be interpreted by the shell when it is used. 561 It can be overridden by the `GIT_SEQUENCE_EDITOR` environment variable. 562 When not configured the default commit message editor is used instead. 563 564core.pager:: 565 Text viewer for use by Git commands (e.g., 'less'). The value 566 is meant to be interpreted by the shell. The order of preference 567 is the `$GIT_PAGER` environment variable, then `core.pager` 568 configuration, then `$PAGER`, and then the default chosen at 569 compile time (usually 'less'). 570+ 571When the `LESS` environment variable is unset, Git sets it to `FRSX` 572(if `LESS` environment variable is set, Git does not change it at 573all). If you want to selectively override Git's default setting 574for `LESS`, you can set `core.pager` to e.g. `less -+S`. This will 575be passed to the shell by Git, which will translate the final 576command to `LESS=FRSX less -+S`. The environment tells the command 577to set the `S` option to chop long lines but the command line 578resets it to the default to fold long lines. 579 580core.whitespace:: 581 A comma separated list of common whitespace problems to 582 notice. 'git diff' will use `color.diff.whitespace` to 583 highlight them, and 'git apply --whitespace=error' will 584 consider them as errors. You can prefix `-` to disable 585 any of them (e.g. `-trailing-space`): 586+ 587* `blank-at-eol` treats trailing whitespaces at the end of the line 588 as an error (enabled by default). 589* `space-before-tab` treats a space character that appears immediately 590 before a tab character in the initial indent part of the line as an 591 error (enabled by default). 592* `indent-with-non-tab` treats a line that is indented with space 593 characters instead of the equivalent tabs as an error (not enabled by 594 default). 595* `tab-in-indent` treats a tab character in the initial indent part of 596 the line as an error (not enabled by default). 597* `blank-at-eof` treats blank lines added at the end of file as an error 598 (enabled by default). 599* `trailing-space` is a short-hand to cover both `blank-at-eol` and 600 `blank-at-eof`. 601* `cr-at-eol` treats a carriage-return at the end of line as 602 part of the line terminator, i.e. with it, `trailing-space` 603 does not trigger if the character before such a carriage-return 604 is not a whitespace (not enabled by default). 605* `tabwidth=<n>` tells how many character positions a tab occupies; this 606 is relevant for `indent-with-non-tab` and when Git fixes `tab-in-indent` 607 errors. The default tab width is 8. Allowed values are 1 to 63. 608 609core.fsyncobjectfiles:: 610 This boolean will enable 'fsync()' when writing object files. 611+ 612This is a total waste of time and effort on a filesystem that orders 613data writes properly, but can be useful for filesystems that do not use 614journalling (traditional UNIX filesystems) or that only journal metadata 615and not file contents (OS X's HFS+, or Linux ext3 with "data=writeback"). 616 617core.preloadindex:: 618 Enable parallel index preload for operations like 'git diff' 619+ 620This can speed up operations like 'git diff' and 'git status' especially 621on filesystems like NFS that have weak caching semantics and thus 622relatively high IO latencies. With this set to 'true', Git will do the 623index comparison to the filesystem data in parallel, allowing 624overlapping IO's. 625 626core.createObject:: 627 You can set this to 'link', in which case a hardlink followed by 628 a delete of the source are used to make sure that object creation 629 will not overwrite existing objects. 630+ 631On some file system/operating system combinations, this is unreliable. 632Set this config setting to 'rename' there; However, This will remove the 633check that makes sure that existing object files will not get overwritten. 634 635core.notesRef:: 636 When showing commit messages, also show notes which are stored in 637 the given ref. The ref must be fully qualified. If the given 638 ref does not exist, it is not an error but means that no 639 notes should be printed. 640+ 641This setting defaults to "refs/notes/commits", and it can be overridden by 642the 'GIT_NOTES_REF' environment variable. See linkgit:git-notes[1]. 643 644core.sparseCheckout:: 645 Enable "sparse checkout" feature. See section "Sparse checkout" in 646 linkgit:git-read-tree[1] for more information. 647 648core.abbrev:: 649 Set the length object names are abbreviated to. If unspecified, 650 many commands abbreviate to 7 hexdigits, which may not be enough 651 for abbreviated object names to stay unique for sufficiently long 652 time. 653 654add.ignore-errors:: 655add.ignoreErrors:: 656 Tells 'git add' to continue adding files when some files cannot be 657 added due to indexing errors. Equivalent to the '--ignore-errors' 658 option of linkgit:git-add[1]. Older versions of Git accept only 659 `add.ignore-errors`, which does not follow the usual naming 660 convention for configuration variables. Newer versions of Git 661 honor `add.ignoreErrors` as well. 662 663alias.*:: 664 Command aliases for the linkgit:git[1] command wrapper - e.g. 665 after defining "alias.last = cat-file commit HEAD", the invocation 666 "git last" is equivalent to "git cat-file commit HEAD". To avoid 667 confusion and troubles with script usage, aliases that 668 hide existing Git commands are ignored. Arguments are split by 669 spaces, the usual shell quoting and escaping is supported. 670 quote pair and a backslash can be used to quote them. 671+ 672If the alias expansion is prefixed with an exclamation point, 673it will be treated as a shell command. For example, defining 674"alias.new = !gitk --all --not ORIG_HEAD", the invocation 675"git new" is equivalent to running the shell command 676"gitk --all --not ORIG_HEAD". Note that shell commands will be 677executed from the top-level directory of a repository, which may 678not necessarily be the current directory. 679'GIT_PREFIX' is set as returned by running 'git rev-parse --show-prefix' 680from the original current directory. See linkgit:git-rev-parse[1]. 681 682am.keepcr:: 683 If true, git-am will call git-mailsplit for patches in mbox format 684 with parameter '--keep-cr'. In this case git-mailsplit will 685 not remove `\r` from lines ending with `\r\n`. Can be overridden 686 by giving '--no-keep-cr' from the command line. 687 See linkgit:git-am[1], linkgit:git-mailsplit[1]. 688 689apply.ignorewhitespace:: 690 When set to 'change', tells 'git apply' to ignore changes in 691 whitespace, in the same way as the '--ignore-space-change' 692 option. 693 When set to one of: no, none, never, false tells 'git apply' to 694 respect all whitespace differences. 695 See linkgit:git-apply[1]. 696 697apply.whitespace:: 698 Tells 'git apply' how to handle whitespaces, in the same way 699 as the '--whitespace' option. See linkgit:git-apply[1]. 700 701branch.autosetupmerge:: 702 Tells 'git branch' and 'git checkout' to set up new branches 703 so that linkgit:git-pull[1] will appropriately merge from the 704 starting point branch. Note that even if this option is not set, 705 this behavior can be chosen per-branch using the `--track` 706 and `--no-track` options. The valid settings are: `false` -- no 707 automatic setup is done; `true` -- automatic setup is done when the 708 starting point is a remote-tracking branch; `always` -- 709 automatic setup is done when the starting point is either a 710 local branch or remote-tracking 711 branch. This option defaults to true. 712 713branch.autosetuprebase:: 714 When a new branch is created with 'git branch' or 'git checkout' 715 that tracks another branch, this variable tells Git to set 716 up pull to rebase instead of merge (see "branch.<name>.rebase"). 717 When `never`, rebase is never automatically set to true. 718 When `local`, rebase is set to true for tracked branches of 719 other local branches. 720 When `remote`, rebase is set to true for tracked branches of 721 remote-tracking branches. 722 When `always`, rebase will be set to true for all tracking 723 branches. 724 See "branch.autosetupmerge" for details on how to set up a 725 branch to track another branch. 726 This option defaults to never. 727 728branch.<name>.remote:: 729 When on branch <name>, it tells 'git fetch' and 'git push' 730 which remote to fetch from/push to. The remote to push to 731 may be overridden with `remote.pushdefault` (for all branches). 732 The remote to push to, for the current branch, may be further 733 overridden by `branch.<name>.pushremote`. If no remote is 734 configured, or if you are not on any branch, it defaults to 735 `origin` for fetching and `remote.pushdefault` for pushing. 736 Additionally, `.` (a period) is the current local repository 737 (a dot-repository), see `branch.<name>.merge`'s final note below. 738 739branch.<name>.pushremote:: 740 When on branch <name>, it overrides `branch.<name>.remote` for 741 pushing. It also overrides `remote.pushdefault` for pushing 742 from branch <name>. When you pull from one place (e.g. your 743 upstream) and push to another place (e.g. your own publishing 744 repository), you would want to set `remote.pushdefault` to 745 specify the remote to push to for all branches, and use this 746 option to override it for a specific branch. 747 748branch.<name>.merge:: 749 Defines, together with branch.<name>.remote, the upstream branch 750 for the given branch. It tells 'git fetch'/'git pull'/'git rebase' which 751 branch to merge and can also affect 'git push' (see push.default). 752 When in branch <name>, it tells 'git fetch' the default 753 refspec to be marked for merging in FETCH_HEAD. The value is 754 handled like the remote part of a refspec, and must match a 755 ref which is fetched from the remote given by 756 "branch.<name>.remote". 757 The merge information is used by 'git pull' (which at first calls 758 'git fetch') to lookup the default branch for merging. Without 759 this option, 'git pull' defaults to merge the first refspec fetched. 760 Specify multiple values to get an octopus merge. 761 If you wish to setup 'git pull' so that it merges into <name> from 762 another branch in the local repository, you can point 763 branch.<name>.merge to the desired branch, and use the relative path 764 setting `.` (a period) for branch.<name>.remote. 765 766branch.<name>.mergeoptions:: 767 Sets default options for merging into branch <name>. The syntax and 768 supported options are the same as those of linkgit:git-merge[1], but 769 option values containing whitespace characters are currently not 770 supported. 771 772branch.<name>.rebase:: 773 When true, rebase the branch <name> on top of the fetched branch, 774 instead of merging the default branch from the default remote when 775 "git pull" is run. See "pull.rebase" for doing this in a non 776 branch-specific manner. 777+ 778 When preserve, also pass `--preserve-merges` along to 'git rebase' 779 so that locally committed merge commits will not be flattened 780 by running 'git pull'. 781+ 782*NOTE*: this is a possibly dangerous operation; do *not* use 783it unless you understand the implications (see linkgit:git-rebase[1] 784for details). 785 786branch.<name>.description:: 787 Branch description, can be edited with 788 `git branch --edit-description`. Branch description is 789 automatically added in the format-patch cover letter or 790 request-pull summary. 791 792browser.<tool>.cmd:: 793 Specify the command to invoke the specified browser. The 794 specified command is evaluated in shell with the URLs passed 795 as arguments. (See linkgit:git-web{litdd}browse[1].) 796 797browser.<tool>.path:: 798 Override the path for the given tool that may be used to 799 browse HTML help (see '-w' option in linkgit:git-help[1]) or a 800 working repository in gitweb (see linkgit:git-instaweb[1]). 801 802clean.requireForce:: 803 A boolean to make git-clean do nothing unless given -f, 804 -i or -n. Defaults to true. 805 806color.branch:: 807 A boolean to enable/disable color in the output of 808 linkgit:git-branch[1]. May be set to `always`, 809 `false` (or `never`) or `auto` (or `true`), in which case colors are used 810 only when the output is to a terminal. Defaults to false. 811 812color.branch.<slot>:: 813 Use customized color for branch coloration. `<slot>` is one of 814 `current` (the current branch), `local` (a local branch), 815 `remote` (a remote-tracking branch in refs/remotes/), 816 `upstream` (upstream tracking branch), `plain` (other 817 refs). 818+ 819The value for these configuration variables is a list of colors (at most 820two) and attributes (at most one), separated by spaces. The colors 821accepted are `normal`, `black`, `red`, `green`, `yellow`, `blue`, 822`magenta`, `cyan` and `white`; the attributes are `bold`, `dim`, `ul`, 823`blink` and `reverse`. The first color given is the foreground; the 824second is the background. The position of the attribute, if any, 825doesn't matter. 826 827color.diff:: 828 Whether to use ANSI escape sequences to add color to patches. 829 If this is set to `always`, linkgit:git-diff[1], 830 linkgit:git-log[1], and linkgit:git-show[1] will use color 831 for all patches. If it is set to `true` or `auto`, those 832 commands will only use color when output is to the terminal. 833 Defaults to false. 834+ 835This does not affect linkgit:git-format-patch[1] nor the 836'git-diff-{asterisk}' plumbing commands. Can be overridden on the 837command line with the `--color[=<when>]` option. 838 839color.diff.<slot>:: 840 Use customized color for diff colorization. `<slot>` specifies 841 which part of the patch to use the specified color, and is one 842 of `plain` (context text), `meta` (metainformation), `frag` 843 (hunk header), 'func' (function in hunk header), `old` (removed lines), 844 `new` (added lines), `commit` (commit headers), or `whitespace` 845 (highlighting whitespace errors). The values of these variables may be 846 specified as in color.branch.<slot>. 847 848color.decorate.<slot>:: 849 Use customized color for 'git log --decorate' output. `<slot>` is one 850 of `branch`, `remoteBranch`, `tag`, `stash` or `HEAD` for local 851 branches, remote-tracking branches, tags, stash and HEAD, respectively. 852 853color.grep:: 854 When set to `always`, always highlight matches. When `false` (or 855 `never`), never. When set to `true` or `auto`, use color only 856 when the output is written to the terminal. Defaults to `false`. 857 858color.grep.<slot>:: 859 Use customized color for grep colorization. `<slot>` specifies which 860 part of the line to use the specified color, and is one of 861+ 862-- 863`context`;; 864 non-matching text in context lines (when using `-A`, `-B`, or `-C`) 865`filename`;; 866 filename prefix (when not using `-h`) 867`function`;; 868 function name lines (when using `-p`) 869`linenumber`;; 870 line number prefix (when using `-n`) 871`match`;; 872 matching text 873`selected`;; 874 non-matching text in selected lines 875`separator`;; 876 separators between fields on a line (`:`, `-`, and `=`) 877 and between hunks (`--`) 878-- 879+ 880The values of these variables may be specified as in color.branch.<slot>. 881 882color.interactive:: 883 When set to `always`, always use colors for interactive prompts 884 and displays (such as those used by "git-add --interactive" and 885 "git-clean --interactive"). When false (or `never`), never. 886 When set to `true` or `auto`, use colors only when the output is 887 to the terminal. Defaults to false. 888 889color.interactive.<slot>:: 890 Use customized color for 'git add --interactive' and 'git clean 891 --interactive' output. `<slot>` may be `prompt`, `header`, `help` 892 or `error`, for four distinct types of normal output from 893 interactive commands. The values of these variables may be 894 specified as in color.branch.<slot>. 895 896color.pager:: 897 A boolean to enable/disable colored output when the pager is in 898 use (default is true). 899 900color.showbranch:: 901 A boolean to enable/disable color in the output of 902 linkgit:git-show-branch[1]. May be set to `always`, 903 `false` (or `never`) or `auto` (or `true`), in which case colors are used 904 only when the output is to a terminal. Defaults to false. 905 906color.status:: 907 A boolean to enable/disable color in the output of 908 linkgit:git-status[1]. May be set to `always`, 909 `false` (or `never`) or `auto` (or `true`), in which case colors are used 910 only when the output is to a terminal. Defaults to false. 911 912color.status.<slot>:: 913 Use customized color for status colorization. `<slot>` is 914 one of `header` (the header text of the status message), 915 `added` or `updated` (files which are added but not committed), 916 `changed` (files which are changed but not added in the index), 917 `untracked` (files which are not tracked by Git), 918 `branch` (the current branch), or 919 `nobranch` (the color the 'no branch' warning is shown in, defaulting 920 to red). The values of these variables may be specified as in 921 color.branch.<slot>. 922 923color.ui:: 924 This variable determines the default value for variables such 925 as `color.diff` and `color.grep` that control the use of color 926 per command family. Its scope will expand as more commands learn 927 configuration to set a default for the `--color` option. Set it 928 to `false` or `never` if you prefer Git commands not to use 929 color unless enabled explicitly with some other configuration 930 or the `--color` option. Set it to `always` if you want all 931 output not intended for machine consumption to use color, to 932 `true` or `auto` (this is the default since Git 1.8.4) if you 933 want such output to use color when written to the terminal. 934 935column.ui:: 936 Specify whether supported commands should output in columns. 937 This variable consists of a list of tokens separated by spaces 938 or commas: 939+ 940These options control when the feature should be enabled 941(defaults to 'never'): 942+ 943-- 944`always`;; 945 always show in columns 946`never`;; 947 never show in columns 948`auto`;; 949 show in columns if the output is to the terminal 950-- 951+ 952These options control layout (defaults to 'column'). Setting any 953of these implies 'always' if none of 'always', 'never', or 'auto' are 954specified. 955+ 956-- 957`column`;; 958 fill columns before rows 959`row`;; 960 fill rows before columns 961`plain`;; 962 show in one column 963-- 964+ 965Finally, these options can be combined with a layout option (defaults 966to 'nodense'): 967+ 968-- 969`dense`;; 970 make unequal size columns to utilize more space 971`nodense`;; 972 make equal size columns 973-- 974 975column.branch:: 976 Specify whether to output branch listing in `git branch` in columns. 977 See `column.ui` for details. 978 979column.clean:: 980 Specify the layout when list items in `git clean -i`, which always 981 shows files and directories in columns. See `column.ui` for details. 982 983column.status:: 984 Specify whether to output untracked files in `git status` in columns. 985 See `column.ui` for details. 986 987column.tag:: 988 Specify whether to output tag listing in `git tag` in columns. 989 See `column.ui` for details. 990 991commit.cleanup:: 992 This setting overrides the default of the `--cleanup` option in 993 `git commit`. See linkgit:git-commit[1] for details. Changing the 994 default can be useful when you always want to keep lines that begin 995 with comment character `#` in your log message, in which case you 996 would do `git config commit.cleanup whitespace` (note that you will 997 have to remove the help lines that begin with `#` in the commit log 998 template yourself, if you do this). 9991000commit.status::1001 A boolean to enable/disable inclusion of status information in the1002 commit message template when using an editor to prepare the commit1003 message. Defaults to true.10041005commit.template::1006 Specify a file to use as the template for new commit messages.1007 "`~/`" is expanded to the value of `$HOME` and "`~user/`" to the1008 specified user's home directory.10091010credential.helper::1011 Specify an external helper to be called when a username or1012 password credential is needed; the helper may consult external1013 storage to avoid prompting the user for the credentials. See1014 linkgit:gitcredentials[7] for details.10151016credential.useHttpPath::1017 When acquiring credentials, consider the "path" component of an http1018 or https URL to be important. Defaults to false. See1019 linkgit:gitcredentials[7] for more information.10201021credential.username::1022 If no username is set for a network authentication, use this username1023 by default. See credential.<context>.* below, and1024 linkgit:gitcredentials[7].10251026credential.<url>.*::1027 Any of the credential.* options above can be applied selectively to1028 some credentials. For example "credential.https://example.com.username"1029 would set the default username only for https connections to1030 example.com. See linkgit:gitcredentials[7] for details on how URLs are1031 matched.10321033include::diff-config.txt[]10341035difftool.<tool>.path::1036 Override the path for the given tool. This is useful in case1037 your tool is not in the PATH.10381039difftool.<tool>.cmd::1040 Specify the command to invoke the specified diff tool.1041 The specified command is evaluated in shell with the following1042 variables available: 'LOCAL' is set to the name of the temporary1043 file containing the contents of the diff pre-image and 'REMOTE'1044 is set to the name of the temporary file containing the contents1045 of the diff post-image.10461047difftool.prompt::1048 Prompt before each invocation of the diff tool.10491050fetch.recurseSubmodules::1051 This option can be either set to a boolean value or to 'on-demand'.1052 Setting it to a boolean changes the behavior of fetch and pull to1053 unconditionally recurse into submodules when set to true or to not1054 recurse at all when set to false. When set to 'on-demand' (the default1055 value), fetch and pull will only recurse into a populated submodule1056 when its superproject retrieves a commit that updates the submodule's1057 reference.10581059fetch.fsckObjects::1060 If it is set to true, git-fetch-pack will check all fetched1061 objects. It will abort in the case of a malformed object or a1062 broken link. The result of an abort are only dangling objects.1063 Defaults to false. If not set, the value of `transfer.fsckObjects`1064 is used instead.10651066fetch.unpackLimit::1067 If the number of objects fetched over the Git native1068 transfer is below this1069 limit, then the objects will be unpacked into loose object1070 files. However if the number of received objects equals or1071 exceeds this limit then the received pack will be stored as1072 a pack, after adding any missing delta bases. Storing the1073 pack from a push can make the push operation complete faster,1074 especially on slow filesystems. If not set, the value of1075 `transfer.unpackLimit` is used instead.10761077fetch.prune::1078 If true, fetch will automatically behave as if the `--prune`1079 option was given on the command line. See also `remote.<name>.prune`.10801081format.attach::1082 Enable multipart/mixed attachments as the default for1083 'format-patch'. The value can also be a double quoted string1084 which will enable attachments as the default and set the1085 value as the boundary. See the --attach option in1086 linkgit:git-format-patch[1].10871088format.numbered::1089 A boolean which can enable or disable sequence numbers in patch1090 subjects. It defaults to "auto" which enables it only if there1091 is more than one patch. It can be enabled or disabled for all1092 messages by setting it to "true" or "false". See --numbered1093 option in linkgit:git-format-patch[1].10941095format.headers::1096 Additional email headers to include in a patch to be submitted1097 by mail. See linkgit:git-format-patch[1].10981099format.to::1100format.cc::1101 Additional recipients to include in a patch to be submitted1102 by mail. See the --to and --cc options in1103 linkgit:git-format-patch[1].11041105format.subjectprefix::1106 The default for format-patch is to output files with the '[PATCH]'1107 subject prefix. Use this variable to change that prefix.11081109format.signature::1110 The default for format-patch is to output a signature containing1111 the Git version number. Use this variable to change that default.1112 Set this variable to the empty string ("") to suppress1113 signature generation.11141115format.suffix::1116 The default for format-patch is to output files with the suffix1117 `.patch`. Use this variable to change that suffix (make sure to1118 include the dot if you want it).11191120format.pretty::1121 The default pretty format for log/show/whatchanged command,1122 See linkgit:git-log[1], linkgit:git-show[1],1123 linkgit:git-whatchanged[1].11241125format.thread::1126 The default threading style for 'git format-patch'. Can be1127 a boolean value, or `shallow` or `deep`. `shallow` threading1128 makes every mail a reply to the head of the series,1129 where the head is chosen from the cover letter, the1130 `--in-reply-to`, and the first patch mail, in this order.1131 `deep` threading makes every mail a reply to the previous one.1132 A true boolean value is the same as `shallow`, and a false1133 value disables threading.11341135format.signoff::1136 A boolean value which lets you enable the `-s/--signoff` option of1137 format-patch by default. *Note:* Adding the Signed-off-by: line to a1138 patch should be a conscious act and means that you certify you have1139 the rights to submit this work under the same open source license.1140 Please see the 'SubmittingPatches' document for further discussion.11411142format.coverLetter::1143 A boolean that controls whether to generate a cover-letter when1144 format-patch is invoked, but in addition can be set to "auto", to1145 generate a cover-letter only when there's more than one patch.11461147filter.<driver>.clean::1148 The command which is used to convert the content of a worktree1149 file to a blob upon checkin. See linkgit:gitattributes[5] for1150 details.11511152filter.<driver>.smudge::1153 The command which is used to convert the content of a blob1154 object to a worktree file upon checkout. See1155 linkgit:gitattributes[5] for details.11561157gc.aggressiveWindow::1158 The window size parameter used in the delta compression1159 algorithm used by 'git gc --aggressive'. This defaults1160 to 250.11611162gc.auto::1163 When there are approximately more than this many loose1164 objects in the repository, `git gc --auto` will pack them.1165 Some Porcelain commands use this command to perform a1166 light-weight garbage collection from time to time. The1167 default value is 6700. Setting this to 0 disables it.11681169gc.autopacklimit::1170 When there are more than this many packs that are not1171 marked with `*.keep` file in the repository, `git gc1172 --auto` consolidates them into one larger pack. The1173 default value is 50. Setting this to 0 disables it.11741175gc.packrefs::1176 Running `git pack-refs` in a repository renders it1177 unclonable by Git versions prior to 1.5.1.2 over dumb1178 transports such as HTTP. This variable determines whether1179 'git gc' runs `git pack-refs`. This can be set to `notbare`1180 to enable it within all non-bare repos or it can be set to a1181 boolean value. The default is `true`.11821183gc.pruneexpire::1184 When 'git gc' is run, it will call 'prune --expire 2.weeks.ago'.1185 Override the grace period with this config variable. The value1186 "now" may be used to disable this grace period and always prune1187 unreachable objects immediately.11881189gc.reflogexpire::1190gc.<pattern>.reflogexpire::1191 'git reflog expire' removes reflog entries older than1192 this time; defaults to 90 days. With "<pattern>" (e.g.1193 "refs/stash") in the middle the setting applies only to1194 the refs that match the <pattern>.11951196gc.reflogexpireunreachable::1197gc.<ref>.reflogexpireunreachable::1198 'git reflog expire' removes reflog entries older than1199 this time and are not reachable from the current tip;1200 defaults to 30 days. With "<pattern>" (e.g. "refs/stash")1201 in the middle, the setting applies only to the refs that1202 match the <pattern>.12031204gc.rerereresolved::1205 Records of conflicted merge you resolved earlier are1206 kept for this many days when 'git rerere gc' is run.1207 The default is 60 days. See linkgit:git-rerere[1].12081209gc.rerereunresolved::1210 Records of conflicted merge you have not resolved are1211 kept for this many days when 'git rerere gc' is run.1212 The default is 15 days. See linkgit:git-rerere[1].12131214gitcvs.commitmsgannotation::1215 Append this string to each commit message. Set to empty string1216 to disable this feature. Defaults to "via git-CVS emulator".12171218gitcvs.enabled::1219 Whether the CVS server interface is enabled for this repository.1220 See linkgit:git-cvsserver[1].12211222gitcvs.logfile::1223 Path to a log file where the CVS server interface well... logs1224 various stuff. See linkgit:git-cvsserver[1].12251226gitcvs.usecrlfattr::1227 If true, the server will look up the end-of-line conversion1228 attributes for files to determine the '-k' modes to use. If1229 the attributes force Git to treat a file as text,1230 the '-k' mode will be left blank so CVS clients will1231 treat it as text. If they suppress text conversion, the file1232 will be set with '-kb' mode, which suppresses any newline munging1233 the client might otherwise do. If the attributes do not allow1234 the file type to be determined, then 'gitcvs.allbinary' is1235 used. See linkgit:gitattributes[5].12361237gitcvs.allbinary::1238 This is used if 'gitcvs.usecrlfattr' does not resolve1239 the correct '-kb' mode to use. If true, all1240 unresolved files are sent to the client in1241 mode '-kb'. This causes the client to treat them1242 as binary files, which suppresses any newline munging it1243 otherwise might do. Alternatively, if it is set to "guess",1244 then the contents of the file are examined to decide if1245 it is binary, similar to 'core.autocrlf'.12461247gitcvs.dbname::1248 Database used by git-cvsserver to cache revision information1249 derived from the Git repository. The exact meaning depends on the1250 used database driver, for SQLite (which is the default driver) this1251 is a filename. Supports variable substitution (see1252 linkgit:git-cvsserver[1] for details). May not contain semicolons (`;`).1253 Default: '%Ggitcvs.%m.sqlite'12541255gitcvs.dbdriver::1256 Used Perl DBI driver. You can specify any available driver1257 for this here, but it might not work. git-cvsserver is tested1258 with 'DBD::SQLite', reported to work with 'DBD::Pg', and1259 reported *not* to work with 'DBD::mysql'. Experimental feature.1260 May not contain double colons (`:`). Default: 'SQLite'.1261 See linkgit:git-cvsserver[1].12621263gitcvs.dbuser, gitcvs.dbpass::1264 Database user and password. Only useful if setting 'gitcvs.dbdriver',1265 since SQLite has no concept of database users and/or passwords.1266 'gitcvs.dbuser' supports variable substitution (see1267 linkgit:git-cvsserver[1] for details).12681269gitcvs.dbTableNamePrefix::1270 Database table name prefix. Prepended to the names of any1271 database tables used, allowing a single database to be used1272 for several repositories. Supports variable substitution (see1273 linkgit:git-cvsserver[1] for details). Any non-alphabetic1274 characters will be replaced with underscores.12751276All gitcvs variables except for 'gitcvs.usecrlfattr' and1277'gitcvs.allbinary' can also be specified as1278'gitcvs.<access_method>.<varname>' (where 'access_method'1279is one of "ext" and "pserver") to make them apply only for the given1280access method.12811282gitweb.category::1283gitweb.description::1284gitweb.owner::1285gitweb.url::1286 See linkgit:gitweb[1] for description.12871288gitweb.avatar::1289gitweb.blame::1290gitweb.grep::1291gitweb.highlight::1292gitweb.patches::1293gitweb.pickaxe::1294gitweb.remote_heads::1295gitweb.showsizes::1296gitweb.snapshot::1297 See linkgit:gitweb.conf[5] for description.12981299grep.lineNumber::1300 If set to true, enable '-n' option by default.13011302grep.patternType::1303 Set the default matching behavior. Using a value of 'basic', 'extended',1304 'fixed', or 'perl' will enable the '--basic-regexp', '--extended-regexp',1305 '--fixed-strings', or '--perl-regexp' option accordingly, while the1306 value 'default' will return to the default matching behavior.13071308grep.extendedRegexp::1309 If set to true, enable '--extended-regexp' option by default. This1310 option is ignored when the 'grep.patternType' option is set to a value1311 other than 'default'.13121313gpg.program::1314 Use this custom program instead of "gpg" found on $PATH when1315 making or verifying a PGP signature. The program must support the1316 same command line interface as GPG, namely, to verify a detached1317 signature, "gpg --verify $file - <$signature" is run, and the1318 program is expected to signal a good signature by exiting with1319 code 0, and to generate an ascii-armored detached signature, the1320 standard input of "gpg -bsau $key" is fed with the contents to be1321 signed, and the program is expected to send the result to its1322 standard output.13231324gui.commitmsgwidth::1325 Defines how wide the commit message window is in the1326 linkgit:git-gui[1]. "75" is the default.13271328gui.diffcontext::1329 Specifies how many context lines should be used in calls to diff1330 made by the linkgit:git-gui[1]. The default is "5".13311332gui.encoding::1333 Specifies the default encoding to use for displaying of1334 file contents in linkgit:git-gui[1] and linkgit:gitk[1].1335 It can be overridden by setting the 'encoding' attribute1336 for relevant files (see linkgit:gitattributes[5]).1337 If this option is not set, the tools default to the1338 locale encoding.13391340gui.matchtrackingbranch::1341 Determines if new branches created with linkgit:git-gui[1] should1342 default to tracking remote branches with matching names or1343 not. Default: "false".13441345gui.newbranchtemplate::1346 Is used as suggested name when creating new branches using the1347 linkgit:git-gui[1].13481349gui.pruneduringfetch::1350 "true" if linkgit:git-gui[1] should prune remote-tracking branches when1351 performing a fetch. The default value is "false".13521353gui.trustmtime::1354 Determines if linkgit:git-gui[1] should trust the file modification1355 timestamp or not. By default the timestamps are not trusted.13561357gui.spellingdictionary::1358 Specifies the dictionary used for spell checking commit messages in1359 the linkgit:git-gui[1]. When set to "none" spell checking is turned1360 off.13611362gui.fastcopyblame::1363 If true, 'git gui blame' uses `-C` instead of `-C -C` for original1364 location detection. It makes blame significantly faster on huge1365 repositories at the expense of less thorough copy detection.13661367gui.copyblamethreshold::1368 Specifies the threshold to use in 'git gui blame' original location1369 detection, measured in alphanumeric characters. See the1370 linkgit:git-blame[1] manual for more information on copy detection.13711372gui.blamehistoryctx::1373 Specifies the radius of history context in days to show in1374 linkgit:gitk[1] for the selected commit, when the `Show History1375 Context` menu item is invoked from 'git gui blame'. If this1376 variable is set to zero, the whole history is shown.13771378guitool.<name>.cmd::1379 Specifies the shell command line to execute when the corresponding item1380 of the linkgit:git-gui[1] `Tools` menu is invoked. This option is1381 mandatory for every tool. The command is executed from the root of1382 the working directory, and in the environment it receives the name of1383 the tool as 'GIT_GUITOOL', the name of the currently selected file as1384 'FILENAME', and the name of the current branch as 'CUR_BRANCH' (if1385 the head is detached, 'CUR_BRANCH' is empty).13861387guitool.<name>.needsfile::1388 Run the tool only if a diff is selected in the GUI. It guarantees1389 that 'FILENAME' is not empty.13901391guitool.<name>.noconsole::1392 Run the command silently, without creating a window to display its1393 output.13941395guitool.<name>.norescan::1396 Don't rescan the working directory for changes after the tool1397 finishes execution.13981399guitool.<name>.confirm::1400 Show a confirmation dialog before actually running the tool.14011402guitool.<name>.argprompt::1403 Request a string argument from the user, and pass it to the tool1404 through the 'ARGS' environment variable. Since requesting an1405 argument implies confirmation, the 'confirm' option has no effect1406 if this is enabled. If the option is set to 'true', 'yes', or '1',1407 the dialog uses a built-in generic prompt; otherwise the exact1408 value of the variable is used.14091410guitool.<name>.revprompt::1411 Request a single valid revision from the user, and set the1412 'REVISION' environment variable. In other aspects this option1413 is similar to 'argprompt', and can be used together with it.14141415guitool.<name>.revunmerged::1416 Show only unmerged branches in the 'revprompt' subdialog.1417 This is useful for tools similar to merge or rebase, but not1418 for things like checkout or reset.14191420guitool.<name>.title::1421 Specifies the title to use for the prompt dialog. The default1422 is the tool name.14231424guitool.<name>.prompt::1425 Specifies the general prompt string to display at the top of1426 the dialog, before subsections for 'argprompt' and 'revprompt'.1427 The default value includes the actual command.14281429help.browser::1430 Specify the browser that will be used to display help in the1431 'web' format. See linkgit:git-help[1].14321433help.format::1434 Override the default help format used by linkgit:git-help[1].1435 Values 'man', 'info', 'web' and 'html' are supported. 'man' is1436 the default. 'web' and 'html' are the same.14371438help.autocorrect::1439 Automatically correct and execute mistyped commands after1440 waiting for the given number of deciseconds (0.1 sec). If more1441 than one command can be deduced from the entered text, nothing1442 will be executed. If the value of this option is negative,1443 the corrected command will be executed immediately. If the1444 value is 0 - the command will be just shown but not executed.1445 This is the default.14461447help.htmlpath::1448 Specify the path where the HTML documentation resides. File system paths1449 and URLs are supported. HTML pages will be prefixed with this path when1450 help is displayed in the 'web' format. This defaults to the documentation1451 path of your Git installation.14521453http.proxy::1454 Override the HTTP proxy, normally configured using the 'http_proxy',1455 'https_proxy', and 'all_proxy' environment variables (see1456 `curl(1)`). This can be overridden on a per-remote basis; see1457 remote.<name>.proxy14581459http.cookiefile::1460 File containing previously stored cookie lines which should be used1461 in the Git http session, if they match the server. The file format1462 of the file to read cookies from should be plain HTTP headers or1463 the Netscape/Mozilla cookie file format (see linkgit:curl[1]).1464 NOTE that the file specified with http.cookiefile is only used as1465 input unless http.saveCookies is set.14661467http.savecookies::1468 If set, store cookies received during requests to the file specified by1469 http.cookiefile. Has no effect if http.cookiefile is unset.14701471http.sslVerify::1472 Whether to verify the SSL certificate when fetching or pushing1473 over HTTPS. Can be overridden by the 'GIT_SSL_NO_VERIFY' environment1474 variable.14751476http.sslCert::1477 File containing the SSL certificate when fetching or pushing1478 over HTTPS. Can be overridden by the 'GIT_SSL_CERT' environment1479 variable.14801481http.sslKey::1482 File containing the SSL private key when fetching or pushing1483 over HTTPS. Can be overridden by the 'GIT_SSL_KEY' environment1484 variable.14851486http.sslCertPasswordProtected::1487 Enable Git's password prompt for the SSL certificate. Otherwise1488 OpenSSL will prompt the user, possibly many times, if the1489 certificate or private key is encrypted. Can be overridden by the1490 'GIT_SSL_CERT_PASSWORD_PROTECTED' environment variable.14911492http.sslCAInfo::1493 File containing the certificates to verify the peer with when1494 fetching or pushing over HTTPS. Can be overridden by the1495 'GIT_SSL_CAINFO' environment variable.14961497http.sslCAPath::1498 Path containing files with the CA certificates to verify the peer1499 with when fetching or pushing over HTTPS. Can be overridden1500 by the 'GIT_SSL_CAPATH' environment variable.15011502http.sslTry::1503 Attempt to use AUTH SSL/TLS and encrypted data transfers1504 when connecting via regular FTP protocol. This might be needed1505 if the FTP server requires it for security reasons or you wish1506 to connect securely whenever remote FTP server supports it.1507 Default is false since it might trigger certificate verification1508 errors on misconfigured servers.15091510http.maxRequests::1511 How many HTTP requests to launch in parallel. Can be overridden1512 by the 'GIT_HTTP_MAX_REQUESTS' environment variable. Default is 5.15131514http.minSessions::1515 The number of curl sessions (counted across slots) to be kept across1516 requests. They will not be ended with curl_easy_cleanup() until1517 http_cleanup() is invoked. If USE_CURL_MULTI is not defined, this1518 value will be capped at 1. Defaults to 1.15191520http.postBuffer::1521 Maximum size in bytes of the buffer used by smart HTTP1522 transports when POSTing data to the remote system.1523 For requests larger than this buffer size, HTTP/1.1 and1524 Transfer-Encoding: chunked is used to avoid creating a1525 massive pack file locally. Default is 1 MiB, which is1526 sufficient for most requests.15271528http.lowSpeedLimit, http.lowSpeedTime::1529 If the HTTP transfer speed is less than 'http.lowSpeedLimit'1530 for longer than 'http.lowSpeedTime' seconds, the transfer is aborted.1531 Can be overridden by the 'GIT_HTTP_LOW_SPEED_LIMIT' and1532 'GIT_HTTP_LOW_SPEED_TIME' environment variables.15331534http.noEPSV::1535 A boolean which disables using of EPSV ftp command by curl.1536 This can helpful with some "poor" ftp servers which don't1537 support EPSV mode. Can be overridden by the 'GIT_CURL_FTP_NO_EPSV'1538 environment variable. Default is false (curl will use EPSV).15391540http.useragent::1541 The HTTP USER_AGENT string presented to an HTTP server. The default1542 value represents the version of the client Git such as git/1.7.1.1543 This option allows you to override this value to a more common value1544 such as Mozilla/4.0. This may be necessary, for instance, if1545 connecting through a firewall that restricts HTTP connections to a set1546 of common USER_AGENT strings (but not including those like git/1.7.1).1547 Can be overridden by the 'GIT_HTTP_USER_AGENT' environment variable.15481549http.<url>.*::1550 Any of the http.* options above can be applied selectively to some urls.1551 For a config key to match a URL, each element of the config key is1552 compared to that of the URL, in the following order:1553+1554--1555. Scheme (e.g., `https` in `https://example.com/`). This field1556 must match exactly between the config key and the URL.15571558. Host/domain name (e.g., `example.com` in `https://example.com/`).1559 This field must match exactly between the config key and the URL.15601561. Port number (e.g., `8080` in `http://example.com:8080/`).1562 This field must match exactly between the config key and the URL.1563 Omitted port numbers are automatically converted to the correct1564 default for the scheme before matching.15651566. Path (e.g., `repo.git` in `https://example.com/repo.git`). The1567 path field of the config key must match the path field of the URL1568 either exactly or as a prefix of slash-delimited path elements. This means1569 a config key with path `foo/` matches URL path `foo/bar`. A prefix can only1570 match on a slash (`/`) boundary. Longer matches take precedence (so a config1571 key with path `foo/bar` is a better match to URL path `foo/bar` than a config1572 key with just path `foo/`).15731574. User name (e.g., `user` in `https://user@example.com/repo.git`). If1575 the config key has a user name it must match the user name in the1576 URL exactly. If the config key does not have a user name, that1577 config key will match a URL with any user name (including none),1578 but at a lower precedence than a config key with a user name.1579--1580+1581The list above is ordered by decreasing precedence; a URL that matches1582a config key's path is preferred to one that matches its user name. For example,1583if the URL is `https://user@example.com/foo/bar` a config key match of1584`https://example.com/foo` will be preferred over a config key match of1585`https://user@example.com`.1586+1587All URLs are normalized before attempting any matching (the password part,1588if embedded in the URL, is always ignored for matching purposes) so that1589equivalent urls that are simply spelled differently will match properly.1590Environment variable settings always override any matches. The urls that are1591matched against are those given directly to Git commands. This means any URLs1592visited as a result of a redirection do not participate in matching.15931594i18n.commitEncoding::1595 Character encoding the commit messages are stored in; Git itself1596 does not care per se, but this information is necessary e.g. when1597 importing commits from emails or in the gitk graphical history1598 browser (and possibly at other places in the future or in other1599 porcelains). See e.g. linkgit:git-mailinfo[1]. Defaults to 'utf-8'.16001601i18n.logOutputEncoding::1602 Character encoding the commit messages are converted to when1603 running 'git log' and friends.16041605imap::1606 The configuration variables in the 'imap' section are described1607 in linkgit:git-imap-send[1].16081609init.templatedir::1610 Specify the directory from which templates will be copied.1611 (See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].)16121613instaweb.browser::1614 Specify the program that will be used to browse your working1615 repository in gitweb. See linkgit:git-instaweb[1].16161617instaweb.httpd::1618 The HTTP daemon command-line to start gitweb on your working1619 repository. See linkgit:git-instaweb[1].16201621instaweb.local::1622 If true the web server started by linkgit:git-instaweb[1] will1623 be bound to the local IP (127.0.0.1).16241625instaweb.modulepath::1626 The default module path for linkgit:git-instaweb[1] to use1627 instead of /usr/lib/apache2/modules. Only used if httpd1628 is Apache.16291630instaweb.port::1631 The port number to bind the gitweb httpd to. See1632 linkgit:git-instaweb[1].16331634interactive.singlekey::1635 In interactive commands, allow the user to provide one-letter1636 input with a single key (i.e., without hitting enter).1637 Currently this is used by the `--patch` mode of1638 linkgit:git-add[1], linkgit:git-checkout[1], linkgit:git-commit[1],1639 linkgit:git-reset[1], and linkgit:git-stash[1]. Note that this1640 setting is silently ignored if portable keystroke input1641 is not available.16421643log.abbrevCommit::1644 If true, makes linkgit:git-log[1], linkgit:git-show[1], and1645 linkgit:git-whatchanged[1] assume `--abbrev-commit`. You may1646 override this option with `--no-abbrev-commit`.16471648log.date::1649 Set the default date-time mode for the 'log' command.1650 Setting a value for log.date is similar to using 'git log''s1651 `--date` option. Possible values are `relative`, `local`,1652 `default`, `iso`, `rfc`, and `short`; see linkgit:git-log[1]1653 for details.16541655log.decorate::1656 Print out the ref names of any commits that are shown by the log1657 command. If 'short' is specified, the ref name prefixes 'refs/heads/',1658 'refs/tags/' and 'refs/remotes/' will not be printed. If 'full' is1659 specified, the full ref name (including prefix) will be printed.1660 This is the same as the log commands '--decorate' option.16611662log.showroot::1663 If true, the initial commit will be shown as a big creation event.1664 This is equivalent to a diff against an empty tree.1665 Tools like linkgit:git-log[1] or linkgit:git-whatchanged[1], which1666 normally hide the root commit will now show it. True by default.16671668log.mailmap::1669 If true, makes linkgit:git-log[1], linkgit:git-show[1], and1670 linkgit:git-whatchanged[1] assume `--use-mailmap`.16711672mailmap.file::1673 The location of an augmenting mailmap file. The default1674 mailmap, located in the root of the repository, is loaded1675 first, then the mailmap file pointed to by this variable.1676 The location of the mailmap file may be in a repository1677 subdirectory, or somewhere outside of the repository itself.1678 See linkgit:git-shortlog[1] and linkgit:git-blame[1].16791680mailmap.blob::1681 Like `mailmap.file`, but consider the value as a reference to a1682 blob in the repository. If both `mailmap.file` and1683 `mailmap.blob` are given, both are parsed, with entries from1684 `mailmap.file` taking precedence. In a bare repository, this1685 defaults to `HEAD:.mailmap`. In a non-bare repository, it1686 defaults to empty.16871688man.viewer::1689 Specify the programs that may be used to display help in the1690 'man' format. See linkgit:git-help[1].16911692man.<tool>.cmd::1693 Specify the command to invoke the specified man viewer. The1694 specified command is evaluated in shell with the man page1695 passed as argument. (See linkgit:git-help[1].)16961697man.<tool>.path::1698 Override the path for the given tool that may be used to1699 display help in the 'man' format. See linkgit:git-help[1].17001701include::merge-config.txt[]17021703mergetool.<tool>.path::1704 Override the path for the given tool. This is useful in case1705 your tool is not in the PATH.17061707mergetool.<tool>.cmd::1708 Specify the command to invoke the specified merge tool. The1709 specified command is evaluated in shell with the following1710 variables available: 'BASE' is the name of a temporary file1711 containing the common base of the files to be merged, if available;1712 'LOCAL' is the name of a temporary file containing the contents of1713 the file on the current branch; 'REMOTE' is the name of a temporary1714 file containing the contents of the file from the branch being1715 merged; 'MERGED' contains the name of the file to which the merge1716 tool should write the results of a successful merge.17171718mergetool.<tool>.trustExitCode::1719 For a custom merge command, specify whether the exit code of1720 the merge command can be used to determine whether the merge was1721 successful. If this is not set to true then the merge target file1722 timestamp is checked and the merge assumed to have been successful1723 if the file has been updated, otherwise the user is prompted to1724 indicate the success of the merge.17251726mergetool.keepBackup::1727 After performing a merge, the original file with conflict markers1728 can be saved as a file with a `.orig` extension. If this variable1729 is set to `false` then this file is not preserved. Defaults to1730 `true` (i.e. keep the backup files).17311732mergetool.keepTemporaries::1733 When invoking a custom merge tool, Git uses a set of temporary1734 files to pass to the tool. If the tool returns an error and this1735 variable is set to `true`, then these temporary files will be1736 preserved, otherwise they will be removed after the tool has1737 exited. Defaults to `false`.17381739mergetool.prompt::1740 Prompt before each invocation of the merge resolution program.17411742notes.displayRef::1743 The (fully qualified) refname from which to show notes when1744 showing commit messages. The value of this variable can be set1745 to a glob, in which case notes from all matching refs will be1746 shown. You may also specify this configuration variable1747 several times. A warning will be issued for refs that do not1748 exist, but a glob that does not match any refs is silently1749 ignored.1750+1751This setting can be overridden with the `GIT_NOTES_DISPLAY_REF`1752environment variable, which must be a colon separated list of refs or1753globs.1754+1755The effective value of "core.notesRef" (possibly overridden by1756GIT_NOTES_REF) is also implicitly added to the list of refs to be1757displayed.17581759notes.rewrite.<command>::1760 When rewriting commits with <command> (currently `amend` or1761 `rebase`) and this variable is set to `true`, Git1762 automatically copies your notes from the original to the1763 rewritten commit. Defaults to `true`, but see1764 "notes.rewriteRef" below.17651766notes.rewriteMode::1767 When copying notes during a rewrite (see the1768 "notes.rewrite.<command>" option), determines what to do if1769 the target commit already has a note. Must be one of1770 `overwrite`, `concatenate`, or `ignore`. Defaults to1771 `concatenate`.1772+1773This setting can be overridden with the `GIT_NOTES_REWRITE_MODE`1774environment variable.17751776notes.rewriteRef::1777 When copying notes during a rewrite, specifies the (fully1778 qualified) ref whose notes should be copied. The ref may be a1779 glob, in which case notes in all matching refs will be copied.1780 You may also specify this configuration several times.1781+1782Does not have a default value; you must configure this variable to1783enable note rewriting. Set it to `refs/notes/commits` to enable1784rewriting for the default commit notes.1785+1786This setting can be overridden with the `GIT_NOTES_REWRITE_REF`1787environment variable, which must be a colon separated list of refs or1788globs.17891790pack.window::1791 The size of the window used by linkgit:git-pack-objects[1] when no1792 window size is given on the command line. Defaults to 10.17931794pack.depth::1795 The maximum delta depth used by linkgit:git-pack-objects[1] when no1796 maximum depth is given on the command line. Defaults to 50.17971798pack.windowMemory::1799 The window memory size limit used by linkgit:git-pack-objects[1]1800 when no limit is given on the command line. The value can be1801 suffixed with "k", "m", or "g". Defaults to 0, meaning no1802 limit.18031804pack.compression::1805 An integer -1..9, indicating the compression level for objects1806 in a pack file. -1 is the zlib default. 0 means no1807 compression, and 1..9 are various speed/size tradeoffs, 9 being1808 slowest. If not set, defaults to core.compression. If that is1809 not set, defaults to -1, the zlib default, which is "a default1810 compromise between speed and compression (currently equivalent1811 to level 6)."1812+1813Note that changing the compression level will not automatically recompress1814all existing objects. You can force recompression by passing the -F option1815to linkgit:git-repack[1].18161817pack.deltaCacheSize::1818 The maximum memory in bytes used for caching deltas in1819 linkgit:git-pack-objects[1] before writing them out to a pack.1820 This cache is used to speed up the writing object phase by not1821 having to recompute the final delta result once the best match1822 for all objects is found. Repacking large repositories on machines1823 which are tight with memory might be badly impacted by this though,1824 especially if this cache pushes the system into swapping.1825 A value of 0 means no limit. The smallest size of 1 byte may be1826 used to virtually disable this cache. Defaults to 256 MiB.18271828pack.deltaCacheLimit::1829 The maximum size of a delta, that is cached in1830 linkgit:git-pack-objects[1]. This cache is used to speed up the1831 writing object phase by not having to recompute the final delta1832 result once the best match for all objects is found. Defaults to 1000.18331834pack.threads::1835 Specifies the number of threads to spawn when searching for best1836 delta matches. This requires that linkgit:git-pack-objects[1]1837 be compiled with pthreads otherwise this option is ignored with a1838 warning. This is meant to reduce packing time on multiprocessor1839 machines. The required amount of memory for the delta search window1840 is however multiplied by the number of threads.1841 Specifying 0 will cause Git to auto-detect the number of CPU's1842 and set the number of threads accordingly.18431844pack.indexVersion::1845 Specify the default pack index version. Valid values are 1 for1846 legacy pack index used by Git versions prior to 1.5.2, and 2 for1847 the new pack index with capabilities for packs larger than 4 GB1848 as well as proper protection against the repacking of corrupted1849 packs. Version 2 is the default. Note that version 2 is enforced1850 and this config option ignored whenever the corresponding pack is1851 larger than 2 GB.1852+1853If you have an old Git that does not understand the version 2 `*.idx` file,1854cloning or fetching over a non native protocol (e.g. "http" and "rsync")1855that will copy both `*.pack` file and corresponding `*.idx` file from the1856other side may give you a repository that cannot be accessed with your1857older version of Git. If the `*.pack` file is smaller than 2 GB, however,1858you can use linkgit:git-index-pack[1] on the *.pack file to regenerate1859the `*.idx` file.18601861pack.packSizeLimit::1862 The maximum size of a pack. This setting only affects1863 packing to a file when repacking, i.e. the git:// protocol1864 is unaffected. It can be overridden by the `--max-pack-size`1865 option of linkgit:git-repack[1]. The minimum size allowed is1866 limited to 1 MiB. The default is unlimited.1867 Common unit suffixes of 'k', 'm', or 'g' are1868 supported.18691870pager.<cmd>::1871 If the value is boolean, turns on or off pagination of the1872 output of a particular Git subcommand when writing to a tty.1873 Otherwise, turns on pagination for the subcommand using the1874 pager specified by the value of `pager.<cmd>`. If `--paginate`1875 or `--no-pager` is specified on the command line, it takes1876 precedence over this option. To disable pagination for all1877 commands, set `core.pager` or `GIT_PAGER` to `cat`.18781879pretty.<name>::1880 Alias for a --pretty= format string, as specified in1881 linkgit:git-log[1]. Any aliases defined here can be used just1882 as the built-in pretty formats could. For example,1883 running `git config pretty.changelog "format:* %H %s"`1884 would cause the invocation `git log --pretty=changelog`1885 to be equivalent to running `git log "--pretty=format:* %H %s"`.1886 Note that an alias with the same name as a built-in format1887 will be silently ignored.18881889pull.rebase::1890 When true, rebase branches on top of the fetched branch, instead1891 of merging the default branch from the default remote when "git1892 pull" is run. See "branch.<name>.rebase" for setting this on a1893 per-branch basis.1894+1895 When preserve, also pass `--preserve-merges` along to 'git rebase'1896 so that locally committed merge commits will not be flattened1897 by running 'git pull'.1898+1899*NOTE*: this is a possibly dangerous operation; do *not* use1900it unless you understand the implications (see linkgit:git-rebase[1]1901for details).19021903pull.octopus::1904 The default merge strategy to use when pulling multiple branches1905 at once.19061907pull.twohead::1908 The default merge strategy to use when pulling a single branch.19091910push.default::1911 Defines the action `git push` should take if no refspec is1912 explicitly given. Different values are well-suited for1913 specific workflows; for instance, in a purely central workflow1914 (i.e. the fetch source is equal to the push destination),1915 `upstream` is probably what you want. Possible values are:1916+1917--19181919* `nothing` - do not push anything (error out) unless a refspec is1920 explicitly given. This is primarily meant for people who want to1921 avoid mistakes by always being explicit.19221923* `current` - push the current branch to update a branch with the same1924 name on the receiving end. Works in both central and non-central1925 workflows.19261927* `upstream` - push the current branch back to the branch whose1928 changes are usually integrated into the current branch (which is1929 called `@{upstream}`). This mode only makes sense if you are1930 pushing to the same repository you would normally pull from1931 (i.e. central workflow).19321933* `simple` - in centralized workflow, work like `upstream` with an1934 added safety to refuse to push if the upstream branch's name is1935 different from the local one.1936+1937When pushing to a remote that is different from the remote you normally1938pull from, work as `current`. This is the safest option and is suited1939for beginners.1940+1941This mode will become the default in Git 2.0.19421943* `matching` - push all branches having the same name on both ends.1944 This makes the repository you are pushing to remember the set of1945 branches that will be pushed out (e.g. if you always push 'maint'1946 and 'master' there and no other branches, the repository you push1947 to will have these two branches, and your local 'maint' and1948 'master' will be pushed there).1949+1950To use this mode effectively, you have to make sure _all_ the1951branches you would push out are ready to be pushed out before1952running 'git push', as the whole point of this mode is to allow you1953to push all of the branches in one go. If you usually finish work1954on only one branch and push out the result, while other branches are1955unfinished, this mode is not for you. Also this mode is not1956suitable for pushing into a shared central repository, as other1957people may add new branches there, or update the tip of existing1958branches outside your control.1959+1960This is currently the default, but Git 2.0 will change the default1961to `simple`.19621963--19641965rebase.stat::1966 Whether to show a diffstat of what changed upstream since the last1967 rebase. False by default.19681969rebase.autosquash::1970 If set to true enable '--autosquash' option by default.19711972rebase.autostash::1973 When set to true, automatically create a temporary stash1974 before the operation begins, and apply it after the operation1975 ends. This means that you can run rebase on a dirty worktree.1976 However, use with care: the final stash application after a1977 successful rebase might result in non-trivial conflicts.1978 Defaults to false.19791980receive.autogc::1981 By default, git-receive-pack will run "git-gc --auto" after1982 receiving data from git-push and updating refs. You can stop1983 it by setting this variable to false.19841985receive.fsckObjects::1986 If it is set to true, git-receive-pack will check all received1987 objects. It will abort in the case of a malformed object or a1988 broken link. The result of an abort are only dangling objects.1989 Defaults to false. If not set, the value of `transfer.fsckObjects`1990 is used instead.19911992receive.unpackLimit::1993 If the number of objects received in a push is below this1994 limit then the objects will be unpacked into loose object1995 files. However if the number of received objects equals or1996 exceeds this limit then the received pack will be stored as1997 a pack, after adding any missing delta bases. Storing the1998 pack from a push can make the push operation complete faster,1999 especially on slow filesystems. If not set, the value of2000 `transfer.unpackLimit` is used instead.20012002receive.denyDeletes::2003 If set to true, git-receive-pack will deny a ref update that deletes2004 the ref. Use this to prevent such a ref deletion via a push.20052006receive.denyDeleteCurrent::2007 If set to true, git-receive-pack will deny a ref update that2008 deletes the currently checked out branch of a non-bare repository.20092010receive.denyCurrentBranch::2011 If set to true or "refuse", git-receive-pack will deny a ref update2012 to the currently checked out branch of a non-bare repository.2013 Such a push is potentially dangerous because it brings the HEAD2014 out of sync with the index and working tree. If set to "warn",2015 print a warning of such a push to stderr, but allow the push to2016 proceed. If set to false or "ignore", allow such pushes with no2017 message. Defaults to "refuse".20182019receive.denyNonFastForwards::2020 If set to true, git-receive-pack will deny a ref update which is2021 not a fast-forward. Use this to prevent such an update via a push,2022 even if that push is forced. This configuration variable is2023 set when initializing a shared repository.20242025receive.hiderefs::2026 String(s) `receive-pack` uses to decide which refs to omit2027 from its initial advertisement. Use more than one2028 definitions to specify multiple prefix strings. A ref that2029 are under the hierarchies listed on the value of this2030 variable is excluded, and is hidden when responding to `git2031 push`, and an attempt to update or delete a hidden ref by2032 `git push` is rejected.20332034receive.updateserverinfo::2035 If set to true, git-receive-pack will run git-update-server-info2036 after receiving data from git-push and updating refs.20372038remote.pushdefault::2039 The remote to push to by default. Overrides2040 `branch.<name>.remote` for all branches, and is overridden by2041 `branch.<name>.pushremote` for specific branches.20422043remote.<name>.url::2044 The URL of a remote repository. See linkgit:git-fetch[1] or2045 linkgit:git-push[1].20462047remote.<name>.pushurl::2048 The push URL of a remote repository. See linkgit:git-push[1].20492050remote.<name>.proxy::2051 For remotes that require curl (http, https and ftp), the URL to2052 the proxy to use for that remote. Set to the empty string to2053 disable proxying for that remote.20542055remote.<name>.fetch::2056 The default set of "refspec" for linkgit:git-fetch[1]. See2057 linkgit:git-fetch[1].20582059remote.<name>.push::2060 The default set of "refspec" for linkgit:git-push[1]. See2061 linkgit:git-push[1].20622063remote.<name>.mirror::2064 If true, pushing to this remote will automatically behave2065 as if the `--mirror` option was given on the command line.20662067remote.<name>.skipDefaultUpdate::2068 If true, this remote will be skipped by default when updating2069 using linkgit:git-fetch[1] or the `update` subcommand of2070 linkgit:git-remote[1].20712072remote.<name>.skipFetchAll::2073 If true, this remote will be skipped by default when updating2074 using linkgit:git-fetch[1] or the `update` subcommand of2075 linkgit:git-remote[1].20762077remote.<name>.receivepack::2078 The default program to execute on the remote side when pushing. See2079 option \--receive-pack of linkgit:git-push[1].20802081remote.<name>.uploadpack::2082 The default program to execute on the remote side when fetching. See2083 option \--upload-pack of linkgit:git-fetch-pack[1].20842085remote.<name>.tagopt::2086 Setting this value to \--no-tags disables automatic tag following when2087 fetching from remote <name>. Setting it to \--tags will fetch every2088 tag from remote <name>, even if they are not reachable from remote2089 branch heads. Passing these flags directly to linkgit:git-fetch[1] can2090 override this setting. See options \--tags and \--no-tags of2091 linkgit:git-fetch[1].20922093remote.<name>.vcs::2094 Setting this to a value <vcs> will cause Git to interact with2095 the remote with the git-remote-<vcs> helper.20962097remote.<name>.prune::2098 When set to true, fetching from this remote by default will also2099 remove any remote-tracking branches which no longer exist on the2100 remote (as if the `--prune` option was give on the command line).2101 Overrides `fetch.prune` settings, if any.21022103remotes.<group>::2104 The list of remotes which are fetched by "git remote update2105 <group>". See linkgit:git-remote[1].21062107repack.usedeltabaseoffset::2108 By default, linkgit:git-repack[1] creates packs that use2109 delta-base offset. If you need to share your repository with2110 Git older than version 1.4.4, either directly or via a dumb2111 protocol such as http, then you need to set this option to2112 "false" and repack. Access from old Git versions over the2113 native protocol are unaffected by this option.21142115rerere.autoupdate::2116 When set to true, `git-rerere` updates the index with the2117 resulting contents after it cleanly resolves conflicts using2118 previously recorded resolution. Defaults to false.21192120rerere.enabled::2121 Activate recording of resolved conflicts, so that identical2122 conflict hunks can be resolved automatically, should they be2123 encountered again. By default, linkgit:git-rerere[1] is2124 enabled if there is an `rr-cache` directory under the2125 `$GIT_DIR`, e.g. if "rerere" was previously used in the2126 repository.21272128sendemail.identity::2129 A configuration identity. When given, causes values in the2130 'sendemail.<identity>' subsection to take precedence over2131 values in the 'sendemail' section. The default identity is2132 the value of 'sendemail.identity'.21332134sendemail.smtpencryption::2135 See linkgit:git-send-email[1] for description. Note that this2136 setting is not subject to the 'identity' mechanism.21372138sendemail.smtpssl::2139 Deprecated alias for 'sendemail.smtpencryption = ssl'.21402141sendemail.smtpsslcertpath::2142 Path to ca-certificates (either a directory or a single file).2143 Set it to an empty string to disable certificate verification.21442145sendemail.<identity>.*::2146 Identity-specific versions of the 'sendemail.*' parameters2147 found below, taking precedence over those when the this2148 identity is selected, through command-line or2149 'sendemail.identity'.21502151sendemail.aliasesfile::2152sendemail.aliasfiletype::2153sendemail.annotate::2154sendemail.bcc::2155sendemail.cc::2156sendemail.cccmd::2157sendemail.chainreplyto::2158sendemail.confirm::2159sendemail.envelopesender::2160sendemail.from::2161sendemail.multiedit::2162sendemail.signedoffbycc::2163sendemail.smtppass::2164sendemail.suppresscc::2165sendemail.suppressfrom::2166sendemail.to::2167sendemail.smtpdomain::2168sendemail.smtpserver::2169sendemail.smtpserverport::2170sendemail.smtpserveroption::2171sendemail.smtpuser::2172sendemail.thread::2173sendemail.validate::2174 See linkgit:git-send-email[1] for description.21752176sendemail.signedoffcc::2177 Deprecated alias for 'sendemail.signedoffbycc'.21782179showbranch.default::2180 The default set of branches for linkgit:git-show-branch[1].2181 See linkgit:git-show-branch[1].21822183status.relativePaths::2184 By default, linkgit:git-status[1] shows paths relative to the2185 current directory. Setting this variable to `false` shows paths2186 relative to the repository root (this was the default for Git2187 prior to v1.5.4).21882189status.short::2190 Set to true to enable --short by default in linkgit:git-status[1].2191 The option --no-short takes precedence over this variable.21922193status.branch::2194 Set to true to enable --branch by default in linkgit:git-status[1].2195 The option --no-branch takes precedence over this variable.21962197status.displayCommentPrefix::2198 If set to true, linkgit:git-status[1] will insert a comment2199 prefix before each output line (starting with2200 `core.commentChar`, i.e. `#` by default). This was the2201 behavior of linkgit:git-status[1] in Git 1.8.4 and previous.2202 Defaults to false.22032204status.showUntrackedFiles::2205 By default, linkgit:git-status[1] and linkgit:git-commit[1] show2206 files which are not currently tracked by Git. Directories which2207 contain only untracked files, are shown with the directory name2208 only. Showing untracked files means that Git needs to lstat() all2209 all the files in the whole repository, which might be slow on some2210 systems. So, this variable controls how the commands displays2211 the untracked files. Possible values are:2212+2213--2214* `no` - Show no untracked files.2215* `normal` - Show untracked files and directories.2216* `all` - Show also individual files in untracked directories.2217--2218+2219If this variable is not specified, it defaults to 'normal'.2220This variable can be overridden with the -u|--untracked-files option2221of linkgit:git-status[1] and linkgit:git-commit[1].22222223status.submodulesummary::2224 Defaults to false.2225 If this is set to a non zero number or true (identical to -1 or an2226 unlimited number), the submodule summary will be enabled and a2227 summary of commits for modified submodules will be shown (see2228 --summary-limit option of linkgit:git-submodule[1]). Please note2229 that the summary output command will be suppressed for all2230 submodules when `diff.ignoreSubmodules` is set to 'all' or only2231 for those submodules where `submodule.<name>.ignore=all`. To2232 also view the summary for ignored submodules you can either use2233 the --ignore-submodules=dirty command line option or the 'git2234 submodule summary' command, which shows a similar output but does2235 not honor these settings.22362237submodule.<name>.path::2238submodule.<name>.url::2239submodule.<name>.update::2240 The path within this project, URL, and the updating strategy2241 for a submodule. These variables are initially populated2242 by 'git submodule init'; edit them to override the2243 URL and other values found in the `.gitmodules` file. See2244 linkgit:git-submodule[1] and linkgit:gitmodules[5] for details.22452246submodule.<name>.branch::2247 The remote branch name for a submodule, used by `git submodule2248 update --remote`. Set this option to override the value found in2249 the `.gitmodules` file. See linkgit:git-submodule[1] and2250 linkgit:gitmodules[5] for details.22512252submodule.<name>.fetchRecurseSubmodules::2253 This option can be used to control recursive fetching of this2254 submodule. It can be overridden by using the --[no-]recurse-submodules2255 command line option to "git fetch" and "git pull".2256 This setting will override that from in the linkgit:gitmodules[5]2257 file.22582259submodule.<name>.ignore::2260 Defines under what circumstances "git status" and the diff family show2261 a submodule as modified. When set to "all", it will never be considered2262 modified, "dirty" will ignore all changes to the submodules work tree and2263 takes only differences between the HEAD of the submodule and the commit2264 recorded in the superproject into account. "untracked" will additionally2265 let submodules with modified tracked files in their work tree show up.2266 Using "none" (the default when this option is not set) also shows2267 submodules that have untracked files in their work tree as changed.2268 This setting overrides any setting made in .gitmodules for this submodule,2269 both settings can be overridden on the command line by using the2270 "--ignore-submodules" option. The 'git submodule' commands are not2271 affected by this setting.22722273tar.umask::2274 This variable can be used to restrict the permission bits of2275 tar archive entries. The default is 0002, which turns off the2276 world write bit. The special value "user" indicates that the2277 archiving user's umask will be used instead. See umask(2) and2278 linkgit:git-archive[1].22792280transfer.fsckObjects::2281 When `fetch.fsckObjects` or `receive.fsckObjects` are2282 not set, the value of this variable is used instead.2283 Defaults to false.22842285transfer.hiderefs::2286 This variable can be used to set both `receive.hiderefs`2287 and `uploadpack.hiderefs` at the same time to the same2288 values. See entries for these other variables.22892290transfer.unpackLimit::2291 When `fetch.unpackLimit` or `receive.unpackLimit` are2292 not set, the value of this variable is used instead.2293 The default value is 100.22942295uploadpack.hiderefs::2296 String(s) `upload-pack` uses to decide which refs to omit2297 from its initial advertisement. Use more than one2298 definitions to specify multiple prefix strings. A ref that2299 are under the hierarchies listed on the value of this2300 variable is excluded, and is hidden from `git ls-remote`,2301 `git fetch`, etc. An attempt to fetch a hidden ref by `git2302 fetch` will fail. See also `uploadpack.allowtipsha1inwant`.23032304uploadpack.allowtipsha1inwant::2305 When `uploadpack.hiderefs` is in effect, allow `upload-pack`2306 to accept a fetch request that asks for an object at the tip2307 of a hidden ref (by default, such a request is rejected).2308 see also `uploadpack.hiderefs`.23092310uploadpack.keepalive::2311 When `upload-pack` has started `pack-objects`, there may be a2312 quiet period while `pack-objects` prepares the pack. Normally2313 it would output progress information, but if `--quiet` was used2314 for the fetch, `pack-objects` will output nothing at all until2315 the pack data begins. Some clients and networks may consider2316 the server to be hung and give up. Setting this option instructs2317 `upload-pack` to send an empty keepalive packet every2318 `uploadpack.keepalive` seconds. Setting this option to 02319 disables keepalive packets entirely. The default is 5 seconds.23202321url.<base>.insteadOf::2322 Any URL that starts with this value will be rewritten to2323 start, instead, with <base>. In cases where some site serves a2324 large number of repositories, and serves them with multiple2325 access methods, and some users need to use different access2326 methods, this feature allows people to specify any of the2327 equivalent URLs and have Git automatically rewrite the URL to2328 the best alternative for the particular user, even for a2329 never-before-seen repository on the site. When more than one2330 insteadOf strings match a given URL, the longest match is used.23312332url.<base>.pushInsteadOf::2333 Any URL that starts with this value will not be pushed to;2334 instead, it will be rewritten to start with <base>, and the2335 resulting URL will be pushed to. In cases where some site serves2336 a large number of repositories, and serves them with multiple2337 access methods, some of which do not allow push, this feature2338 allows people to specify a pull-only URL and have Git2339 automatically use an appropriate URL to push, even for a2340 never-before-seen repository on the site. When more than one2341 pushInsteadOf strings match a given URL, the longest match is2342 used. If a remote has an explicit pushurl, Git will ignore this2343 setting for that remote.23442345user.email::2346 Your email address to be recorded in any newly created commits.2347 Can be overridden by the 'GIT_AUTHOR_EMAIL', 'GIT_COMMITTER_EMAIL', and2348 'EMAIL' environment variables. See linkgit:git-commit-tree[1].23492350user.name::2351 Your full name to be recorded in any newly created commits.2352 Can be overridden by the 'GIT_AUTHOR_NAME' and 'GIT_COMMITTER_NAME'2353 environment variables. See linkgit:git-commit-tree[1].23542355user.signingkey::2356 If linkgit:git-tag[1] or linkgit:git-commit[1] is not selecting the2357 key you want it to automatically when creating a signed tag or2358 commit, you can override the default selection with this variable.2359 This option is passed unchanged to gpg's --local-user parameter,2360 so you may specify a key using any method that gpg supports.23612362web.browser::2363 Specify a web browser that may be used by some commands.2364 Currently only linkgit:git-instaweb[1] and linkgit:git-help[1]2365 may use it.