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' (or just 'name', which is a short-hand to say that 58the variable is the 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). Other char escape sequences (including octal 76escape sequences) are invalid. 77 78 79Includes 80~~~~~~~~ 81 82You can include one config file from another by setting the special 83`include.path` variable to the name of the file to be included. The 84included file is expanded immediately, as if its contents had been 85found at the location of the include directive. If the value of the 86`include.path` variable is a relative path, the path is considered to be 87relative to the configuration file in which the include directive was 88found. The value of `include.path` is subject to tilde expansion: `~/` 89is expanded to the value of `$HOME`, and `~user/` to the specified 90user's home directory. See below for examples. 91 92Example 93~~~~~~~ 94 95 # Core variables 96 [core] 97 ; Don't trust file modes 98 filemode = false 99 100 # Our diff algorithm 101 [diff] 102 external = /usr/local/bin/diff-wrapper 103 renames = true 104 105 [branch "devel"] 106 remote = origin 107 merge = refs/heads/devel 108 109 # Proxy settings 110 [core] 111 gitProxy="ssh" for "kernel.org" 112 gitProxy=default-proxy ; for the rest 113 114 [include] 115 path = /path/to/foo.inc ; include by absolute path 116 path = foo ; expand "foo" relative to the current file 117 path = ~/foo ; expand "foo" in your $HOME directory 118 119 120Values 121~~~~~~ 122 123Values of many variables are treated as a simple string, but there 124are variables that take values of specific types and there are rules 125as to how to spell them. 126 127boolean:: 128 129 When a variable is said to take a boolean value, many 130 synonyms are accepted for 'true' and 'false'; these are all 131 case-insensitive. 132 133 true;; Boolean true can be spelled as `yes`, `on`, `true`, 134 or `1`. Also, a variable defined without `= <value>` 135 is taken as true. 136 137 false;; Boolean false can be spelled as `no`, `off`, 138 `false`, or `0`. 139+ 140When converting value to the canonical form using '--bool' type 141specifier; 'git config' will ensure that the output is "true" or 142"false" (spelled in lowercase). 143 144integer:: 145 The value for many variables that specify various sizes can 146 be suffixed with `k`, `M`,... to mean "scale the number by 147 1024", "by 1024x1024", etc. 148 149color:: 150 The value for a variable that takes a color is a list of 151 colors (at most two, one for foreground and one for background) 152 and attributes (as many as you want), separated by spaces. 153+ 154The basic colors accepted are `normal`, `black`, `red`, `green`, `yellow`, 155`blue`, `magenta`, `cyan` and `white`. The first color given is the 156foreground; the second is the background. 157+ 158Colors may also be given as numbers between 0 and 255; these use ANSI 159256-color mode (but note that not all terminals may support this). If 160your terminal supports it, you may also specify 24-bit RGB values as 161hex, like `#ff0ab3`. 162+ 163The accepted attributes are `bold`, `dim`, `ul`, `blink`, and `reverse`. 164The position of any attributes with respect to the colors (before, after, 165or in between), doesn't matter. Specific attributes may be turned off 166by prefixing them with `no` or `no-` (e.g., `noreverse`, `no-ul`, etc). 167+ 168For git's pre-defined color slots, the attributes are meant to be reset 169at the beginning of each item in the colored output. So setting 170`color.decorate.branch` to `black` will paint that branch name in a 171plain `black`, even if the previous thing on the same output line (e.g. 172opening parenthesis before the list of branch names in `log --decorate` 173output) is set to be painted with `bold` or some other attribute. 174However, custom log formats may do more complicated and layered 175coloring, and the negated forms may be useful there. 176 177 178Variables 179~~~~~~~~~ 180 181Note that this list is non-comprehensive and not necessarily complete. 182For command-specific variables, you will find a more detailed description 183in the appropriate manual page. 184 185Other git-related tools may and do use their own variables. When 186inventing new variables for use in your own tool, make sure their 187names do not conflict with those that are used by Git itself and 188other popular tools, and describe them in your documentation. 189 190 191advice.*:: 192 These variables control various optional help messages designed to 193 aid new users. All 'advice.*' variables default to 'true', and you 194 can tell Git that you do not need help by setting these to 'false': 195+ 196-- 197 pushUpdateRejected:: 198 Set this variable to 'false' if you want to disable 199 'pushNonFFCurrent', 200 'pushNonFFMatching', 'pushAlreadyExists', 201 'pushFetchFirst', and 'pushNeedsForce' 202 simultaneously. 203 pushNonFFCurrent:: 204 Advice shown when linkgit:git-push[1] fails due to a 205 non-fast-forward update to the current branch. 206 pushNonFFMatching:: 207 Advice shown when you ran linkgit:git-push[1] and pushed 208 'matching refs' explicitly (i.e. you used ':', or 209 specified a refspec that isn't your current branch) and 210 it resulted in a non-fast-forward error. 211 pushAlreadyExists:: 212 Shown when linkgit:git-push[1] rejects an update that 213 does not qualify for fast-forwarding (e.g., a tag.) 214 pushFetchFirst:: 215 Shown when linkgit:git-push[1] rejects an update that 216 tries to overwrite a remote ref that points at an 217 object we do not have. 218 pushNeedsForce:: 219 Shown when linkgit:git-push[1] rejects an update that 220 tries to overwrite a remote ref that points at an 221 object that is not a commit-ish, or make the remote 222 ref point at an object that is not a commit-ish. 223 statusHints:: 224 Show directions on how to proceed from the current 225 state in the output of linkgit:git-status[1], in 226 the template shown when writing commit messages in 227 linkgit:git-commit[1], and in the help message shown 228 by linkgit:git-checkout[1] when switching branch. 229 statusUoption:: 230 Advise to consider using the `-u` option to linkgit:git-status[1] 231 when the command takes more than 2 seconds to enumerate untracked 232 files. 233 commitBeforeMerge:: 234 Advice shown when linkgit:git-merge[1] refuses to 235 merge to avoid overwriting local changes. 236 resolveConflict:: 237 Advice shown by various commands when conflicts 238 prevent the operation from being performed. 239 implicitIdentity:: 240 Advice on how to set your identity configuration when 241 your information is guessed from the system username and 242 domain name. 243 detachedHead:: 244 Advice shown when you used linkgit:git-checkout[1] to 245 move to the detach HEAD state, to instruct how to create 246 a local branch after the fact. 247 amWorkDir:: 248 Advice that shows the location of the patch file when 249 linkgit:git-am[1] fails to apply it. 250 rmHints:: 251 In case of failure in the output of linkgit:git-rm[1], 252 show directions on how to proceed from the current state. 253-- 254 255core.fileMode:: 256 Tells Git if the executable bit of files in the working tree 257 is to be honored. 258+ 259Some filesystems lose the executable bit when a file that is 260marked as executable is checked out, or checks out an 261non-executable file with executable bit on. 262linkgit:git-clone[1] or linkgit:git-init[1] probe the filesystem 263to see if it handles the executable bit correctly 264and this variable is automatically set as necessary. 265+ 266A repository, however, may be on a filesystem that handles 267the filemode correctly, and this variable is set to 'true' 268when created, but later may be made accessible from another 269environment that loses the filemode (e.g. exporting ext4 via 270CIFS mount, visiting a Cygwin created repository with 271Git for Windows or Eclipse). 272In such a case it may be necessary to set this variable to 'false'. 273See linkgit:git-update-index[1]. 274+ 275The default is true (when core.filemode is not specified in the config file). 276 277core.ignoreCase:: 278 If true, this option enables various workarounds to enable 279 Git to work better on filesystems that are not case sensitive, 280 like FAT. For example, if a directory listing finds 281 "makefile" when Git expects "Makefile", Git will assume 282 it is really the same file, and continue to remember it as 283 "Makefile". 284+ 285The default is false, except linkgit:git-clone[1] or linkgit:git-init[1] 286will probe and set core.ignoreCase true if appropriate when the repository 287is created. 288 289core.precomposeUnicode:: 290 This option is only used by Mac OS implementation of Git. 291 When core.precomposeUnicode=true, Git reverts the unicode decomposition 292 of filenames done by Mac OS. This is useful when sharing a repository 293 between Mac OS and Linux or Windows. 294 (Git for Windows 1.7.10 or higher is needed, or Git under cygwin 1.7). 295 When false, file names are handled fully transparent by Git, 296 which is backward compatible with older versions of Git. 297 298core.protectHFS:: 299 If set to true, do not allow checkout of paths that would 300 be considered equivalent to `.git` on an HFS+ filesystem. 301 Defaults to `true` on Mac OS, and `false` elsewhere. 302 303core.protectNTFS:: 304 If set to true, do not allow checkout of paths that would 305 cause problems with the NTFS filesystem, e.g. conflict with 306 8.3 "short" names. 307 Defaults to `true` on Windows, and `false` elsewhere. 308 309core.trustctime:: 310 If false, the ctime differences between the index and the 311 working tree are ignored; useful when the inode change time 312 is regularly modified by something outside Git (file system 313 crawlers and some backup systems). 314 See linkgit:git-update-index[1]. True by default. 315 316core.checkStat:: 317 Determines which stat fields to match between the index 318 and work tree. The user can set this to 'default' or 319 'minimal'. Default (or explicitly 'default'), is to check 320 all fields, including the sub-second part of mtime and ctime. 321 322core.quotePath:: 323 The commands that output paths (e.g. 'ls-files', 324 'diff'), when not given the `-z` option, will quote 325 "unusual" characters in the pathname by enclosing the 326 pathname in a double-quote pair and with backslashes the 327 same way strings in C source code are quoted. If this 328 variable is set to false, the bytes higher than 0x80 are 329 not quoted but output as verbatim. Note that double 330 quote, backslash and control characters are always 331 quoted without `-z` regardless of the setting of this 332 variable. 333 334core.eol:: 335 Sets the line ending type to use in the working directory for 336 files that have the `text` property set. Alternatives are 337 'lf', 'crlf' and 'native', which uses the platform's native 338 line ending. The default value is `native`. See 339 linkgit:gitattributes[5] for more information on end-of-line 340 conversion. 341 342core.safecrlf:: 343 If true, makes Git check if converting `CRLF` is reversible when 344 end-of-line conversion is active. Git will verify if a command 345 modifies a file in the work tree either directly or indirectly. 346 For example, committing a file followed by checking out the 347 same file should yield the original file in the work tree. If 348 this is not the case for the current setting of 349 `core.autocrlf`, Git will reject the file. The variable can 350 be set to "warn", in which case Git will only warn about an 351 irreversible conversion but continue the operation. 352+ 353CRLF conversion bears a slight chance of corrupting data. 354When it is enabled, Git will convert CRLF to LF during commit and LF to 355CRLF during checkout. A file that contains a mixture of LF and 356CRLF before the commit cannot be recreated by Git. For text 357files this is the right thing to do: it corrects line endings 358such that we have only LF line endings in the repository. 359But for binary files that are accidentally classified as text the 360conversion can corrupt data. 361+ 362If you recognize such corruption early you can easily fix it by 363setting the conversion type explicitly in .gitattributes. Right 364after committing you still have the original file in your work 365tree and this file is not yet corrupted. You can explicitly tell 366Git that this file is binary and Git will handle the file 367appropriately. 368+ 369Unfortunately, the desired effect of cleaning up text files with 370mixed line endings and the undesired effect of corrupting binary 371files cannot be distinguished. In both cases CRLFs are removed 372in an irreversible way. For text files this is the right thing 373to do because CRLFs are line endings, while for binary files 374converting CRLFs corrupts data. 375+ 376Note, this safety check does not mean that a checkout will generate a 377file identical to the original file for a different setting of 378`core.eol` and `core.autocrlf`, but only for the current one. For 379example, a text file with `LF` would be accepted with `core.eol=lf` 380and could later be checked out with `core.eol=crlf`, in which case the 381resulting file would contain `CRLF`, although the original file 382contained `LF`. However, in both work trees the line endings would be 383consistent, that is either all `LF` or all `CRLF`, but never mixed. A 384file with mixed line endings would be reported by the `core.safecrlf` 385mechanism. 386 387core.autocrlf:: 388 Setting this variable to "true" is almost the same as setting 389 the `text` attribute to "auto" on all files except that text 390 files are not guaranteed to be normalized: files that contain 391 `CRLF` in the repository will not be touched. Use this 392 setting if you want to have `CRLF` line endings in your 393 working directory even though the repository does not have 394 normalized line endings. This variable can be set to 'input', 395 in which case no output conversion is performed. 396 397core.symlinks:: 398 If false, symbolic links are checked out as small plain files that 399 contain the link text. linkgit:git-update-index[1] and 400 linkgit:git-add[1] will not change the recorded type to regular 401 file. Useful on filesystems like FAT that do not support 402 symbolic links. 403+ 404The default is true, except linkgit:git-clone[1] or linkgit:git-init[1] 405will probe and set core.symlinks false if appropriate when the repository 406is created. 407 408core.gitProxy:: 409 A "proxy command" to execute (as 'command host port') instead 410 of establishing direct connection to the remote server when 411 using the Git protocol for fetching. If the variable value is 412 in the "COMMAND for DOMAIN" format, the command is applied only 413 on hostnames ending with the specified domain string. This variable 414 may be set multiple times and is matched in the given order; 415 the first match wins. 416+ 417Can be overridden by the 'GIT_PROXY_COMMAND' environment variable 418(which always applies universally, without the special "for" 419handling). 420+ 421The special string `none` can be used as the proxy command to 422specify that no proxy be used for a given domain pattern. 423This is useful for excluding servers inside a firewall from 424proxy use, while defaulting to a common proxy for external domains. 425 426core.ignoreStat:: 427 If true, Git will avoid using lstat() calls to detect if files have 428 changed by setting the "assume-unchanged" bit for those tracked files 429 which it has updated identically in both the index and working tree. 430+ 431When files are modified outside of Git, the user will need to stage 432the modified files explicitly (e.g. see 'Examples' section in 433linkgit:git-update-index[1]). 434Git will not normally detect changes to those files. 435+ 436This is useful on systems where lstat() calls are very slow, such as 437CIFS/Microsoft Windows. 438+ 439False by default. 440 441core.preferSymlinkRefs:: 442 Instead of the default "symref" format for HEAD 443 and other symbolic reference files, use symbolic links. 444 This is sometimes needed to work with old scripts that 445 expect HEAD to be a symbolic link. 446 447core.bare:: 448 If true this repository is assumed to be 'bare' and has no 449 working directory associated with it. If this is the case a 450 number of commands that require a working directory will be 451 disabled, such as linkgit:git-add[1] or linkgit:git-merge[1]. 452+ 453This setting is automatically guessed by linkgit:git-clone[1] or 454linkgit:git-init[1] when the repository was created. By default a 455repository that ends in "/.git" is assumed to be not bare (bare = 456false), while all other repositories are assumed to be bare (bare 457= true). 458 459core.worktree:: 460 Set the path to the root of the working tree. 461 This can be overridden by the GIT_WORK_TREE environment 462 variable and the '--work-tree' command-line option. 463 The value can be an absolute path or relative to the path to 464 the .git directory, which is either specified by --git-dir 465 or GIT_DIR, or automatically discovered. 466 If --git-dir or GIT_DIR is specified but none of 467 --work-tree, GIT_WORK_TREE and core.worktree is specified, 468 the current working directory is regarded as the top level 469 of your working tree. 470+ 471Note that this variable is honored even when set in a configuration 472file in a ".git" subdirectory of a directory and its value differs 473from the latter directory (e.g. "/path/to/.git/config" has 474core.worktree set to "/different/path"), which is most likely a 475misconfiguration. Running Git commands in the "/path/to" directory will 476still use "/different/path" as the root of the work tree and can cause 477confusion unless you know what you are doing (e.g. you are creating a 478read-only snapshot of the same index to a location different from the 479repository's usual working tree). 480 481core.logAllRefUpdates:: 482 Enable the reflog. Updates to a ref <ref> is logged to the file 483 "$GIT_DIR/logs/<ref>", by appending the new and old 484 SHA-1, the date/time and the reason of the update, but 485 only when the file exists. If this configuration 486 variable is set to true, missing "$GIT_DIR/logs/<ref>" 487 file is automatically created for branch heads (i.e. under 488 refs/heads/), remote refs (i.e. under refs/remotes/), 489 note refs (i.e. under refs/notes/), and the symbolic ref HEAD. 490+ 491This information can be used to determine what commit 492was the tip of a branch "2 days ago". 493+ 494This value is true by default in a repository that has 495a working directory associated with it, and false by 496default in a bare repository. 497 498core.repositoryFormatVersion:: 499 Internal variable identifying the repository format and layout 500 version. 501 502core.sharedRepository:: 503 When 'group' (or 'true'), the repository is made shareable between 504 several users in a group (making sure all the files and objects are 505 group-writable). When 'all' (or 'world' or 'everybody'), the 506 repository will be readable by all users, additionally to being 507 group-shareable. When 'umask' (or 'false'), Git will use permissions 508 reported by umask(2). When '0xxx', where '0xxx' is an octal number, 509 files in the repository will have this mode value. '0xxx' will override 510 user's umask value (whereas the other options will only override 511 requested parts of the user's umask value). Examples: '0660' will make 512 the repo read/write-able for the owner and group, but inaccessible to 513 others (equivalent to 'group' unless umask is e.g. '0022'). '0640' is a 514 repository that is group-readable but not group-writable. 515 See linkgit:git-init[1]. False by default. 516 517core.warnAmbiguousRefs:: 518 If true, Git will warn you if the ref name you passed it is ambiguous 519 and might match multiple refs in the repository. True by default. 520 521core.compression:: 522 An integer -1..9, indicating a default compression level. 523 -1 is the zlib default. 0 means no compression, 524 and 1..9 are various speed/size tradeoffs, 9 being slowest. 525 If set, this provides a default to other compression variables, 526 such as 'core.looseCompression' and 'pack.compression'. 527 528core.looseCompression:: 529 An integer -1..9, indicating the compression level for objects that 530 are not in a pack file. -1 is the zlib default. 0 means no 531 compression, and 1..9 are various speed/size tradeoffs, 9 being 532 slowest. If not set, defaults to core.compression. If that is 533 not set, defaults to 1 (best speed). 534 535core.packedGitWindowSize:: 536 Number of bytes of a pack file to map into memory in a 537 single mapping operation. Larger window sizes may allow 538 your system to process a smaller number of large pack files 539 more quickly. Smaller window sizes will negatively affect 540 performance due to increased calls to the operating system's 541 memory manager, but may improve performance when accessing 542 a large number of large pack files. 543+ 544Default is 1 MiB if NO_MMAP was set at compile time, otherwise 32 545MiB on 32 bit platforms and 1 GiB on 64 bit platforms. This should 546be reasonable for all users/operating systems. You probably do 547not need to adjust this value. 548+ 549Common unit suffixes of 'k', 'm', or 'g' are supported. 550 551core.packedGitLimit:: 552 Maximum number of bytes to map simultaneously into memory 553 from pack files. If Git needs to access more than this many 554 bytes at once to complete an operation it will unmap existing 555 regions to reclaim virtual address space within the process. 556+ 557Default is 256 MiB on 32 bit platforms and 8 GiB on 64 bit platforms. 558This should be reasonable for all users/operating systems, except on 559the largest projects. You probably do not need to adjust this value. 560+ 561Common unit suffixes of 'k', 'm', or 'g' are supported. 562 563core.deltaBaseCacheLimit:: 564 Maximum number of bytes to reserve for caching base objects 565 that may be referenced by multiple deltified objects. By storing the 566 entire decompressed base objects in a cache Git is able 567 to avoid unpacking and decompressing frequently used base 568 objects multiple times. 569+ 570Default is 96 MiB on all platforms. This should be reasonable 571for all users/operating systems, except on the largest projects. 572You probably do not need to adjust this value. 573+ 574Common unit suffixes of 'k', 'm', or 'g' are supported. 575 576core.bigFileThreshold:: 577 Files larger than this size are stored deflated, without 578 attempting delta compression. Storing large files without 579 delta compression avoids excessive memory usage, at the 580 slight expense of increased disk usage. Additionally files 581 larger than this size are always treated as binary. 582+ 583Default is 512 MiB on all platforms. This should be reasonable 584for most projects as source code and other text files can still 585be delta compressed, but larger binary media files won't be. 586+ 587Common unit suffixes of 'k', 'm', or 'g' are supported. 588 589core.excludesFile:: 590 In addition to '.gitignore' (per-directory) and 591 '.git/info/exclude', Git looks into this file for patterns 592 of files which are not meant to be tracked. "`~/`" is expanded 593 to the value of `$HOME` and "`~user/`" to the specified user's 594 home directory. Its default value is $XDG_CONFIG_HOME/git/ignore. 595 If $XDG_CONFIG_HOME is either not set or empty, $HOME/.config/git/ignore 596 is used instead. See linkgit:gitignore[5]. 597 598core.askPass:: 599 Some commands (e.g. svn and http interfaces) that interactively 600 ask for a password can be told to use an external program given 601 via the value of this variable. Can be overridden by the 'GIT_ASKPASS' 602 environment variable. If not set, fall back to the value of the 603 'SSH_ASKPASS' environment variable or, failing that, a simple password 604 prompt. The external program shall be given a suitable prompt as 605 command-line argument and write the password on its STDOUT. 606 607core.attributesFile:: 608 In addition to '.gitattributes' (per-directory) and 609 '.git/info/attributes', Git looks into this file for attributes 610 (see linkgit:gitattributes[5]). Path expansions are made the same 611 way as for `core.excludesFile`. Its default value is 612 $XDG_CONFIG_HOME/git/attributes. If $XDG_CONFIG_HOME is either not 613 set or empty, $HOME/.config/git/attributes is used instead. 614 615core.editor:: 616 Commands such as `commit` and `tag` that lets you edit 617 messages by launching an editor uses the value of this 618 variable when it is set, and the environment variable 619 `GIT_EDITOR` is not set. See linkgit:git-var[1]. 620 621core.commentChar:: 622 Commands such as `commit` and `tag` that lets you edit 623 messages consider a line that begins with this character 624 commented, and removes them after the editor returns 625 (default '#'). 626+ 627If set to "auto", `git-commit` would select a character that is not 628the beginning character of any line in existing commit messages. 629 630sequence.editor:: 631 Text editor used by `git rebase -i` for editing the rebase instruction file. 632 The value is meant to be interpreted by the shell when it is used. 633 It can be overridden by the `GIT_SEQUENCE_EDITOR` environment variable. 634 When not configured the default commit message editor is used instead. 635 636core.pager:: 637 Text viewer for use by Git commands (e.g., 'less'). The value 638 is meant to be interpreted by the shell. The order of preference 639 is the `$GIT_PAGER` environment variable, then `core.pager` 640 configuration, then `$PAGER`, and then the default chosen at 641 compile time (usually 'less'). 642+ 643When the `LESS` environment variable is unset, Git sets it to `FRX` 644(if `LESS` environment variable is set, Git does not change it at 645all). If you want to selectively override Git's default setting 646for `LESS`, you can set `core.pager` to e.g. `less -S`. This will 647be passed to the shell by Git, which will translate the final 648command to `LESS=FRX less -S`. The environment does not set the 649`S` option but the command line does, instructing less to truncate 650long lines. Similarly, setting `core.pager` to `less -+F` will 651deactivate the `F` option specified by the environment from the 652command-line, deactivating the "quit if one screen" behavior of 653`less`. One can specifically activate some flags for particular 654commands: for example, setting `pager.blame` to `less -S` enables 655line truncation only for `git blame`. 656+ 657Likewise, when the `LV` environment variable is unset, Git sets it 658to `-c`. You can override this setting by exporting `LV` with 659another value or setting `core.pager` to `lv +c`. 660 661core.whitespace:: 662 A comma separated list of common whitespace problems to 663 notice. 'git diff' will use `color.diff.whitespace` to 664 highlight them, and 'git apply --whitespace=error' will 665 consider them as errors. You can prefix `-` to disable 666 any of them (e.g. `-trailing-space`): 667+ 668* `blank-at-eol` treats trailing whitespaces at the end of the line 669 as an error (enabled by default). 670* `space-before-tab` treats a space character that appears immediately 671 before a tab character in the initial indent part of the line as an 672 error (enabled by default). 673* `indent-with-non-tab` treats a line that is indented with space 674 characters instead of the equivalent tabs as an error (not enabled by 675 default). 676* `tab-in-indent` treats a tab character in the initial indent part of 677 the line as an error (not enabled by default). 678* `blank-at-eof` treats blank lines added at the end of file as an error 679 (enabled by default). 680* `trailing-space` is a short-hand to cover both `blank-at-eol` and 681 `blank-at-eof`. 682* `cr-at-eol` treats a carriage-return at the end of line as 683 part of the line terminator, i.e. with it, `trailing-space` 684 does not trigger if the character before such a carriage-return 685 is not a whitespace (not enabled by default). 686* `tabwidth=<n>` tells how many character positions a tab occupies; this 687 is relevant for `indent-with-non-tab` and when Git fixes `tab-in-indent` 688 errors. The default tab width is 8. Allowed values are 1 to 63. 689 690core.fsyncObjectFiles:: 691 This boolean will enable 'fsync()' when writing object files. 692+ 693This is a total waste of time and effort on a filesystem that orders 694data writes properly, but can be useful for filesystems that do not use 695journalling (traditional UNIX filesystems) or that only journal metadata 696and not file contents (OS X's HFS+, or Linux ext3 with "data=writeback"). 697 698core.preloadIndex:: 699 Enable parallel index preload for operations like 'git diff' 700+ 701This can speed up operations like 'git diff' and 'git status' especially 702on filesystems like NFS that have weak caching semantics and thus 703relatively high IO latencies. When enabled, Git will do the 704index comparison to the filesystem data in parallel, allowing 705overlapping IO's. Defaults to true. 706 707core.createObject:: 708 You can set this to 'link', in which case a hardlink followed by 709 a delete of the source are used to make sure that object creation 710 will not overwrite existing objects. 711+ 712On some file system/operating system combinations, this is unreliable. 713Set this config setting to 'rename' there; However, This will remove the 714check that makes sure that existing object files will not get overwritten. 715 716core.notesRef:: 717 When showing commit messages, also show notes which are stored in 718 the given ref. The ref must be fully qualified. If the given 719 ref does not exist, it is not an error but means that no 720 notes should be printed. 721+ 722This setting defaults to "refs/notes/commits", and it can be overridden by 723the 'GIT_NOTES_REF' environment variable. See linkgit:git-notes[1]. 724 725core.sparseCheckout:: 726 Enable "sparse checkout" feature. See section "Sparse checkout" in 727 linkgit:git-read-tree[1] for more information. 728 729core.abbrev:: 730 Set the length object names are abbreviated to. If unspecified, 731 many commands abbreviate to 7 hexdigits, which may not be enough 732 for abbreviated object names to stay unique for sufficiently long 733 time. 734 735add.ignoreErrors:: 736add.ignore-errors (deprecated):: 737 Tells 'git add' to continue adding files when some files cannot be 738 added due to indexing errors. Equivalent to the '--ignore-errors' 739 option of linkgit:git-add[1]. `add.ignore-errors` is deprecated, 740 as it does not follow the usual naming convention for configuration 741 variables. 742 743alias.*:: 744 Command aliases for the linkgit:git[1] command wrapper - e.g. 745 after defining "alias.last = cat-file commit HEAD", the invocation 746 "git last" is equivalent to "git cat-file commit HEAD". To avoid 747 confusion and troubles with script usage, aliases that 748 hide existing Git commands are ignored. Arguments are split by 749 spaces, the usual shell quoting and escaping is supported. 750 A quote pair or a backslash can be used to quote them. 751+ 752If the alias expansion is prefixed with an exclamation point, 753it will be treated as a shell command. For example, defining 754"alias.new = !gitk --all --not ORIG_HEAD", the invocation 755"git new" is equivalent to running the shell command 756"gitk --all --not ORIG_HEAD". Note that shell commands will be 757executed from the top-level directory of a repository, which may 758not necessarily be the current directory. 759'GIT_PREFIX' is set as returned by running 'git rev-parse --show-prefix' 760from the original current directory. See linkgit:git-rev-parse[1]. 761 762am.keepcr:: 763 If true, git-am will call git-mailsplit for patches in mbox format 764 with parameter '--keep-cr'. In this case git-mailsplit will 765 not remove `\r` from lines ending with `\r\n`. Can be overridden 766 by giving '--no-keep-cr' from the command line. 767 See linkgit:git-am[1], linkgit:git-mailsplit[1]. 768 769apply.ignoreWhitespace:: 770 When set to 'change', tells 'git apply' to ignore changes in 771 whitespace, in the same way as the '--ignore-space-change' 772 option. 773 When set to one of: no, none, never, false tells 'git apply' to 774 respect all whitespace differences. 775 See linkgit:git-apply[1]. 776 777apply.whitespace:: 778 Tells 'git apply' how to handle whitespaces, in the same way 779 as the '--whitespace' option. See linkgit:git-apply[1]. 780 781branch.autoSetupMerge:: 782 Tells 'git branch' and 'git checkout' to set up new branches 783 so that linkgit:git-pull[1] will appropriately merge from the 784 starting point branch. Note that even if this option is not set, 785 this behavior can be chosen per-branch using the `--track` 786 and `--no-track` options. The valid settings are: `false` -- no 787 automatic setup is done; `true` -- automatic setup is done when the 788 starting point is a remote-tracking branch; `always` -- 789 automatic setup is done when the starting point is either a 790 local branch or remote-tracking 791 branch. This option defaults to true. 792 793branch.autoSetupRebase:: 794 When a new branch is created with 'git branch' or 'git checkout' 795 that tracks another branch, this variable tells Git to set 796 up pull to rebase instead of merge (see "branch.<name>.rebase"). 797 When `never`, rebase is never automatically set to true. 798 When `local`, rebase is set to true for tracked branches of 799 other local branches. 800 When `remote`, rebase is set to true for tracked branches of 801 remote-tracking branches. 802 When `always`, rebase will be set to true for all tracking 803 branches. 804 See "branch.autoSetupMerge" for details on how to set up a 805 branch to track another branch. 806 This option defaults to never. 807 808branch.<name>.remote:: 809 When on branch <name>, it tells 'git fetch' and 'git push' 810 which remote to fetch from/push to. The remote to push to 811 may be overridden with `remote.pushDefault` (for all branches). 812 The remote to push to, for the current branch, may be further 813 overridden by `branch.<name>.pushRemote`. If no remote is 814 configured, or if you are not on any branch, it defaults to 815 `origin` for fetching and `remote.pushDefault` for pushing. 816 Additionally, `.` (a period) is the current local repository 817 (a dot-repository), see `branch.<name>.merge`'s final note below. 818 819branch.<name>.pushRemote:: 820 When on branch <name>, it overrides `branch.<name>.remote` for 821 pushing. It also overrides `remote.pushDefault` for pushing 822 from branch <name>. When you pull from one place (e.g. your 823 upstream) and push to another place (e.g. your own publishing 824 repository), you would want to set `remote.pushDefault` to 825 specify the remote to push to for all branches, and use this 826 option to override it for a specific branch. 827 828branch.<name>.merge:: 829 Defines, together with branch.<name>.remote, the upstream branch 830 for the given branch. It tells 'git fetch'/'git pull'/'git rebase' which 831 branch to merge and can also affect 'git push' (see push.default). 832 When in branch <name>, it tells 'git fetch' the default 833 refspec to be marked for merging in FETCH_HEAD. The value is 834 handled like the remote part of a refspec, and must match a 835 ref which is fetched from the remote given by 836 "branch.<name>.remote". 837 The merge information is used by 'git pull' (which at first calls 838 'git fetch') to lookup the default branch for merging. Without 839 this option, 'git pull' defaults to merge the first refspec fetched. 840 Specify multiple values to get an octopus merge. 841 If you wish to setup 'git pull' so that it merges into <name> from 842 another branch in the local repository, you can point 843 branch.<name>.merge to the desired branch, and use the relative path 844 setting `.` (a period) for branch.<name>.remote. 845 846branch.<name>.mergeOptions:: 847 Sets default options for merging into branch <name>. The syntax and 848 supported options are the same as those of linkgit:git-merge[1], but 849 option values containing whitespace characters are currently not 850 supported. 851 852branch.<name>.rebase:: 853 When true, rebase the branch <name> on top of the fetched branch, 854 instead of merging the default branch from the default remote when 855 "git pull" is run. See "pull.rebase" for doing this in a non 856 branch-specific manner. 857+ 858 When preserve, also pass `--preserve-merges` along to 'git rebase' 859 so that locally committed merge commits will not be flattened 860 by running 'git pull'. 861+ 862*NOTE*: this is a possibly dangerous operation; do *not* use 863it unless you understand the implications (see linkgit:git-rebase[1] 864for details). 865 866branch.<name>.description:: 867 Branch description, can be edited with 868 `git branch --edit-description`. Branch description is 869 automatically added in the format-patch cover letter or 870 request-pull summary. 871 872browser.<tool>.cmd:: 873 Specify the command to invoke the specified browser. The 874 specified command is evaluated in shell with the URLs passed 875 as arguments. (See linkgit:git-web{litdd}browse[1].) 876 877browser.<tool>.path:: 878 Override the path for the given tool that may be used to 879 browse HTML help (see '-w' option in linkgit:git-help[1]) or a 880 working repository in gitweb (see linkgit:git-instaweb[1]). 881 882clean.requireForce:: 883 A boolean to make git-clean do nothing unless given -f, 884 -i or -n. Defaults to true. 885 886color.branch:: 887 A boolean to enable/disable color in the output of 888 linkgit:git-branch[1]. May be set to `always`, 889 `false` (or `never`) or `auto` (or `true`), in which case colors are used 890 only when the output is to a terminal. Defaults to false. 891 892color.branch.<slot>:: 893 Use customized color for branch coloration. `<slot>` is one of 894 `current` (the current branch), `local` (a local branch), 895 `remote` (a remote-tracking branch in refs/remotes/), 896 `upstream` (upstream tracking branch), `plain` (other 897 refs). 898 899color.diff:: 900 Whether to use ANSI escape sequences to add color to patches. 901 If this is set to `always`, linkgit:git-diff[1], 902 linkgit:git-log[1], and linkgit:git-show[1] will use color 903 for all patches. If it is set to `true` or `auto`, those 904 commands will only use color when output is to the terminal. 905 Defaults to false. 906+ 907This does not affect linkgit:git-format-patch[1] or the 908'git-diff-{asterisk}' plumbing commands. Can be overridden on the 909command line with the `--color[=<when>]` option. 910 911color.diff.<slot>:: 912 Use customized color for diff colorization. `<slot>` specifies 913 which part of the patch to use the specified color, and is one 914 of `context` (context text - `plain` is a historical synonym), 915 `meta` (metainformation), `frag` 916 (hunk header), 'func' (function in hunk header), `old` (removed lines), 917 `new` (added lines), `commit` (commit headers), or `whitespace` 918 (highlighting whitespace errors). 919 920color.decorate.<slot>:: 921 Use customized color for 'git log --decorate' output. `<slot>` is one 922 of `branch`, `remoteBranch`, `tag`, `stash` or `HEAD` for local 923 branches, remote-tracking branches, tags, stash and HEAD, respectively. 924 925color.grep:: 926 When set to `always`, always highlight matches. When `false` (or 927 `never`), never. When set to `true` or `auto`, use color only 928 when the output is written to the terminal. Defaults to `false`. 929 930color.grep.<slot>:: 931 Use customized color for grep colorization. `<slot>` specifies which 932 part of the line to use the specified color, and is one of 933+ 934-- 935`context`;; 936 non-matching text in context lines (when using `-A`, `-B`, or `-C`) 937`filename`;; 938 filename prefix (when not using `-h`) 939`function`;; 940 function name lines (when using `-p`) 941`linenumber`;; 942 line number prefix (when using `-n`) 943`match`;; 944 matching text (same as setting `matchContext` and `matchSelected`) 945`matchContext`;; 946 matching text in context lines 947`matchSelected`;; 948 matching text in selected lines 949`selected`;; 950 non-matching text in selected lines 951`separator`;; 952 separators between fields on a line (`:`, `-`, and `=`) 953 and between hunks (`--`) 954-- 955 956color.interactive:: 957 When set to `always`, always use colors for interactive prompts 958 and displays (such as those used by "git-add --interactive" and 959 "git-clean --interactive"). When false (or `never`), never. 960 When set to `true` or `auto`, use colors only when the output is 961 to the terminal. Defaults to false. 962 963color.interactive.<slot>:: 964 Use customized color for 'git add --interactive' and 'git clean 965 --interactive' output. `<slot>` may be `prompt`, `header`, `help` 966 or `error`, for four distinct types of normal output from 967 interactive commands. 968 969color.pager:: 970 A boolean to enable/disable colored output when the pager is in 971 use (default is true). 972 973color.showBranch:: 974 A boolean to enable/disable color in the output of 975 linkgit:git-show-branch[1]. May be set to `always`, 976 `false` (or `never`) or `auto` (or `true`), in which case colors are used 977 only when the output is to a terminal. Defaults to false. 978 979color.status:: 980 A boolean to enable/disable color in the output of 981 linkgit:git-status[1]. May be set to `always`, 982 `false` (or `never`) or `auto` (or `true`), in which case colors are used 983 only when the output is to a terminal. Defaults to false. 984 985color.status.<slot>:: 986 Use customized color for status colorization. `<slot>` is 987 one of `header` (the header text of the status message), 988 `added` or `updated` (files which are added but not committed), 989 `changed` (files which are changed but not added in the index), 990 `untracked` (files which are not tracked by Git), 991 `branch` (the current branch), 992 `nobranch` (the color the 'no branch' warning is shown in, defaulting 993 to red), or 994 `unmerged` (files which have unmerged changes). 995 996color.ui:: 997 This variable determines the default value for variables such 998 as `color.diff` and `color.grep` that control the use of color 999 per command family. Its scope will expand as more commands learn1000 configuration to set a default for the `--color` option. Set it1001 to `false` or `never` if you prefer Git commands not to use1002 color unless enabled explicitly with some other configuration1003 or the `--color` option. Set it to `always` if you want all1004 output not intended for machine consumption to use color, to1005 `true` or `auto` (this is the default since Git 1.8.4) if you1006 want such output to use color when written to the terminal.10071008column.ui::1009 Specify whether supported commands should output in columns.1010 This variable consists of a list of tokens separated by spaces1011 or commas:1012+1013These options control when the feature should be enabled1014(defaults to 'never'):1015+1016--1017`always`;;1018 always show in columns1019`never`;;1020 never show in columns1021`auto`;;1022 show in columns if the output is to the terminal1023--1024+1025These options control layout (defaults to 'column'). Setting any1026of these implies 'always' if none of 'always', 'never', or 'auto' are1027specified.1028+1029--1030`column`;;1031 fill columns before rows1032`row`;;1033 fill rows before columns1034`plain`;;1035 show in one column1036--1037+1038Finally, these options can be combined with a layout option (defaults1039to 'nodense'):1040+1041--1042`dense`;;1043 make unequal size columns to utilize more space1044`nodense`;;1045 make equal size columns1046--10471048column.branch::1049 Specify whether to output branch listing in `git branch` in columns.1050 See `column.ui` for details.10511052column.clean::1053 Specify the layout when list items in `git clean -i`, which always1054 shows files and directories in columns. See `column.ui` for details.10551056column.status::1057 Specify whether to output untracked files in `git status` in columns.1058 See `column.ui` for details.10591060column.tag::1061 Specify whether to output tag listing in `git tag` in columns.1062 See `column.ui` for details.10631064commit.cleanup::1065 This setting overrides the default of the `--cleanup` option in1066 `git commit`. See linkgit:git-commit[1] for details. Changing the1067 default can be useful when you always want to keep lines that begin1068 with comment character `#` in your log message, in which case you1069 would do `git config commit.cleanup whitespace` (note that you will1070 have to remove the help lines that begin with `#` in the commit log1071 template yourself, if you do this).10721073commit.gpgSign::10741075 A boolean to specify whether all commits should be GPG signed.1076 Use of this option when doing operations such as rebase can1077 result in a large number of commits being signed. It may be1078 convenient to use an agent to avoid typing your GPG passphrase1079 several times.10801081commit.status::1082 A boolean to enable/disable inclusion of status information in the1083 commit message template when using an editor to prepare the commit1084 message. Defaults to true.10851086commit.template::1087 Specify a file to use as the template for new commit messages.1088 "`~/`" is expanded to the value of `$HOME` and "`~user/`" to the1089 specified user's home directory.10901091credential.helper::1092 Specify an external helper to be called when a username or1093 password credential is needed; the helper may consult external1094 storage to avoid prompting the user for the credentials. See1095 linkgit:gitcredentials[7] for details.10961097credential.useHttpPath::1098 When acquiring credentials, consider the "path" component of an http1099 or https URL to be important. Defaults to false. See1100 linkgit:gitcredentials[7] for more information.11011102credential.username::1103 If no username is set for a network authentication, use this username1104 by default. See credential.<context>.* below, and1105 linkgit:gitcredentials[7].11061107credential.<url>.*::1108 Any of the credential.* options above can be applied selectively to1109 some credentials. For example "credential.https://example.com.username"1110 would set the default username only for https connections to1111 example.com. See linkgit:gitcredentials[7] for details on how URLs are1112 matched.11131114include::diff-config.txt[]11151116difftool.<tool>.path::1117 Override the path for the given tool. This is useful in case1118 your tool is not in the PATH.11191120difftool.<tool>.cmd::1121 Specify the command to invoke the specified diff tool.1122 The specified command is evaluated in shell with the following1123 variables available: 'LOCAL' is set to the name of the temporary1124 file containing the contents of the diff pre-image and 'REMOTE'1125 is set to the name of the temporary file containing the contents1126 of the diff post-image.11271128difftool.prompt::1129 Prompt before each invocation of the diff tool.11301131fetch.recurseSubmodules::1132 This option can be either set to a boolean value or to 'on-demand'.1133 Setting it to a boolean changes the behavior of fetch and pull to1134 unconditionally recurse into submodules when set to true or to not1135 recurse at all when set to false. When set to 'on-demand' (the default1136 value), fetch and pull will only recurse into a populated submodule1137 when its superproject retrieves a commit that updates the submodule's1138 reference.11391140fetch.fsckObjects::1141 If it is set to true, git-fetch-pack will check all fetched1142 objects. It will abort in the case of a malformed object or a1143 broken link. The result of an abort are only dangling objects.1144 Defaults to false. If not set, the value of `transfer.fsckObjects`1145 is used instead.11461147fetch.unpackLimit::1148 If the number of objects fetched over the Git native1149 transfer is below this1150 limit, then the objects will be unpacked into loose object1151 files. However if the number of received objects equals or1152 exceeds this limit then the received pack will be stored as1153 a pack, after adding any missing delta bases. Storing the1154 pack from a push can make the push operation complete faster,1155 especially on slow filesystems. If not set, the value of1156 `transfer.unpackLimit` is used instead.11571158fetch.prune::1159 If true, fetch will automatically behave as if the `--prune`1160 option was given on the command line. See also `remote.<name>.prune`.11611162format.attach::1163 Enable multipart/mixed attachments as the default for1164 'format-patch'. The value can also be a double quoted string1165 which will enable attachments as the default and set the1166 value as the boundary. See the --attach option in1167 linkgit:git-format-patch[1].11681169format.numbered::1170 A boolean which can enable or disable sequence numbers in patch1171 subjects. It defaults to "auto" which enables it only if there1172 is more than one patch. It can be enabled or disabled for all1173 messages by setting it to "true" or "false". See --numbered1174 option in linkgit:git-format-patch[1].11751176format.headers::1177 Additional email headers to include in a patch to be submitted1178 by mail. See linkgit:git-format-patch[1].11791180format.to::1181format.cc::1182 Additional recipients to include in a patch to be submitted1183 by mail. See the --to and --cc options in1184 linkgit:git-format-patch[1].11851186format.subjectPrefix::1187 The default for format-patch is to output files with the '[PATCH]'1188 subject prefix. Use this variable to change that prefix.11891190format.signature::1191 The default for format-patch is to output a signature containing1192 the Git version number. Use this variable to change that default.1193 Set this variable to the empty string ("") to suppress1194 signature generation.11951196format.signatureFile::1197 Works just like format.signature except the contents of the1198 file specified by this variable will be used as the signature.11991200format.suffix::1201 The default for format-patch is to output files with the suffix1202 `.patch`. Use this variable to change that suffix (make sure to1203 include the dot if you want it).12041205format.pretty::1206 The default pretty format for log/show/whatchanged command,1207 See linkgit:git-log[1], linkgit:git-show[1],1208 linkgit:git-whatchanged[1].12091210format.thread::1211 The default threading style for 'git format-patch'. Can be1212 a boolean value, or `shallow` or `deep`. `shallow` threading1213 makes every mail a reply to the head of the series,1214 where the head is chosen from the cover letter, the1215 `--in-reply-to`, and the first patch mail, in this order.1216 `deep` threading makes every mail a reply to the previous one.1217 A true boolean value is the same as `shallow`, and a false1218 value disables threading.12191220format.signOff::1221 A boolean value which lets you enable the `-s/--signoff` option of1222 format-patch by default. *Note:* Adding the Signed-off-by: line to a1223 patch should be a conscious act and means that you certify you have1224 the rights to submit this work under the same open source license.1225 Please see the 'SubmittingPatches' document for further discussion.12261227format.coverLetter::1228 A boolean that controls whether to generate a cover-letter when1229 format-patch is invoked, but in addition can be set to "auto", to1230 generate a cover-letter only when there's more than one patch.12311232filter.<driver>.clean::1233 The command which is used to convert the content of a worktree1234 file to a blob upon checkin. See linkgit:gitattributes[5] for1235 details.12361237filter.<driver>.smudge::1238 The command which is used to convert the content of a blob1239 object to a worktree file upon checkout. See1240 linkgit:gitattributes[5] for details.12411242gc.aggressiveDepth::1243 The depth parameter used in the delta compression1244 algorithm used by 'git gc --aggressive'. This defaults1245 to 250.12461247gc.aggressiveWindow::1248 The window size parameter used in the delta compression1249 algorithm used by 'git gc --aggressive'. This defaults1250 to 250.12511252gc.auto::1253 When there are approximately more than this many loose1254 objects in the repository, `git gc --auto` will pack them.1255 Some Porcelain commands use this command to perform a1256 light-weight garbage collection from time to time. The1257 default value is 6700. Setting this to 0 disables it.12581259gc.autoPackLimit::1260 When there are more than this many packs that are not1261 marked with `*.keep` file in the repository, `git gc1262 --auto` consolidates them into one larger pack. The1263 default value is 50. Setting this to 0 disables it.12641265gc.autoDetach::1266 Make `git gc --auto` return immediately and run in background1267 if the system supports it. Default is true.12681269gc.packRefs::1270 Running `git pack-refs` in a repository renders it1271 unclonable by Git versions prior to 1.5.1.2 over dumb1272 transports such as HTTP. This variable determines whether1273 'git gc' runs `git pack-refs`. This can be set to `notbare`1274 to enable it within all non-bare repos or it can be set to a1275 boolean value. The default is `true`.12761277gc.pruneExpire::1278 When 'git gc' is run, it will call 'prune --expire 2.weeks.ago'.1279 Override the grace period with this config variable. The value1280 "now" may be used to disable this grace period and always prune1281 unreachable objects immediately.12821283gc.reflogExpire::1284gc.<pattern>.reflogExpire::1285 'git reflog expire' removes reflog entries older than1286 this time; defaults to 90 days. With "<pattern>" (e.g.1287 "refs/stash") in the middle the setting applies only to1288 the refs that match the <pattern>.12891290gc.reflogExpireUnreachable::1291gc.<ref>.reflogExpireUnreachable::1292 'git reflog expire' removes reflog entries older than1293 this time and are not reachable from the current tip;1294 defaults to 30 days. With "<pattern>" (e.g. "refs/stash")1295 in the middle, the setting applies only to the refs that1296 match the <pattern>.12971298gc.rerereResolved::1299 Records of conflicted merge you resolved earlier are1300 kept for this many days when 'git rerere gc' is run.1301 The default is 60 days. See linkgit:git-rerere[1].13021303gc.rerereUnresolved::1304 Records of conflicted merge you have not resolved are1305 kept for this many days when 'git rerere gc' is run.1306 The default is 15 days. See linkgit:git-rerere[1].13071308gitcvs.commitMsgAnnotation::1309 Append this string to each commit message. Set to empty string1310 to disable this feature. Defaults to "via git-CVS emulator".13111312gitcvs.enabled::1313 Whether the CVS server interface is enabled for this repository.1314 See linkgit:git-cvsserver[1].13151316gitcvs.logFile::1317 Path to a log file where the CVS server interface well... logs1318 various stuff. See linkgit:git-cvsserver[1].13191320gitcvs.usecrlfattr::1321 If true, the server will look up the end-of-line conversion1322 attributes for files to determine the '-k' modes to use. If1323 the attributes force Git to treat a file as text,1324 the '-k' mode will be left blank so CVS clients will1325 treat it as text. If they suppress text conversion, the file1326 will be set with '-kb' mode, which suppresses any newline munging1327 the client might otherwise do. If the attributes do not allow1328 the file type to be determined, then 'gitcvs.allBinary' is1329 used. See linkgit:gitattributes[5].13301331gitcvs.allBinary::1332 This is used if 'gitcvs.usecrlfattr' does not resolve1333 the correct '-kb' mode to use. If true, all1334 unresolved files are sent to the client in1335 mode '-kb'. This causes the client to treat them1336 as binary files, which suppresses any newline munging it1337 otherwise might do. Alternatively, if it is set to "guess",1338 then the contents of the file are examined to decide if1339 it is binary, similar to 'core.autocrlf'.13401341gitcvs.dbName::1342 Database used by git-cvsserver to cache revision information1343 derived from the Git repository. The exact meaning depends on the1344 used database driver, for SQLite (which is the default driver) this1345 is a filename. Supports variable substitution (see1346 linkgit:git-cvsserver[1] for details). May not contain semicolons (`;`).1347 Default: '%Ggitcvs.%m.sqlite'13481349gitcvs.dbDriver::1350 Used Perl DBI driver. You can specify any available driver1351 for this here, but it might not work. git-cvsserver is tested1352 with 'DBD::SQLite', reported to work with 'DBD::Pg', and1353 reported *not* to work with 'DBD::mysql'. Experimental feature.1354 May not contain double colons (`:`). Default: 'SQLite'.1355 See linkgit:git-cvsserver[1].13561357gitcvs.dbUser, gitcvs.dbPass::1358 Database user and password. Only useful if setting 'gitcvs.dbDriver',1359 since SQLite has no concept of database users and/or passwords.1360 'gitcvs.dbUser' supports variable substitution (see1361 linkgit:git-cvsserver[1] for details).13621363gitcvs.dbTableNamePrefix::1364 Database table name prefix. Prepended to the names of any1365 database tables used, allowing a single database to be used1366 for several repositories. Supports variable substitution (see1367 linkgit:git-cvsserver[1] for details). Any non-alphabetic1368 characters will be replaced with underscores.13691370All gitcvs variables except for 'gitcvs.usecrlfattr' and1371'gitcvs.allBinary' can also be specified as1372'gitcvs.<access_method>.<varname>' (where 'access_method'1373is one of "ext" and "pserver") to make them apply only for the given1374access method.13751376gitweb.category::1377gitweb.description::1378gitweb.owner::1379gitweb.url::1380 See linkgit:gitweb[1] for description.13811382gitweb.avatar::1383gitweb.blame::1384gitweb.grep::1385gitweb.highlight::1386gitweb.patches::1387gitweb.pickaxe::1388gitweb.remote_heads::1389gitweb.showSizes::1390gitweb.snapshot::1391 See linkgit:gitweb.conf[5] for description.13921393grep.lineNumber::1394 If set to true, enable '-n' option by default.13951396grep.patternType::1397 Set the default matching behavior. Using a value of 'basic', 'extended',1398 'fixed', or 'perl' will enable the '--basic-regexp', '--extended-regexp',1399 '--fixed-strings', or '--perl-regexp' option accordingly, while the1400 value 'default' will return to the default matching behavior.14011402grep.extendedRegexp::1403 If set to true, enable '--extended-regexp' option by default. This1404 option is ignored when the 'grep.patternType' option is set to a value1405 other than 'default'.14061407gpg.program::1408 Use this custom program instead of "gpg" found on $PATH when1409 making or verifying a PGP signature. The program must support the1410 same command-line interface as GPG, namely, to verify a detached1411 signature, "gpg --verify $file - <$signature" is run, and the1412 program is expected to signal a good signature by exiting with1413 code 0, and to generate an ASCII-armored detached signature, the1414 standard input of "gpg -bsau $key" is fed with the contents to be1415 signed, and the program is expected to send the result to its1416 standard output.14171418gui.commitMsgWidth::1419 Defines how wide the commit message window is in the1420 linkgit:git-gui[1]. "75" is the default.14211422gui.diffContext::1423 Specifies how many context lines should be used in calls to diff1424 made by the linkgit:git-gui[1]. The default is "5".14251426gui.displayUntracked::1427 Determines if linkgit::git-gui[1] shows untracked files1428 in the file list. The default is "true".14291430gui.encoding::1431 Specifies the default encoding to use for displaying of1432 file contents in linkgit:git-gui[1] and linkgit:gitk[1].1433 It can be overridden by setting the 'encoding' attribute1434 for relevant files (see linkgit:gitattributes[5]).1435 If this option is not set, the tools default to the1436 locale encoding.14371438gui.matchTrackingBranch::1439 Determines if new branches created with linkgit:git-gui[1] should1440 default to tracking remote branches with matching names or1441 not. Default: "false".14421443gui.newBranchTemplate::1444 Is used as suggested name when creating new branches using the1445 linkgit:git-gui[1].14461447gui.pruneDuringFetch::1448 "true" if linkgit:git-gui[1] should prune remote-tracking branches when1449 performing a fetch. The default value is "false".14501451gui.trustmtime::1452 Determines if linkgit:git-gui[1] should trust the file modification1453 timestamp or not. By default the timestamps are not trusted.14541455gui.spellingDictionary::1456 Specifies the dictionary used for spell checking commit messages in1457 the linkgit:git-gui[1]. When set to "none" spell checking is turned1458 off.14591460gui.fastCopyBlame::1461 If true, 'git gui blame' uses `-C` instead of `-C -C` for original1462 location detection. It makes blame significantly faster on huge1463 repositories at the expense of less thorough copy detection.14641465gui.copyBlameThreshold::1466 Specifies the threshold to use in 'git gui blame' original location1467 detection, measured in alphanumeric characters. See the1468 linkgit:git-blame[1] manual for more information on copy detection.14691470gui.blamehistoryctx::1471 Specifies the radius of history context in days to show in1472 linkgit:gitk[1] for the selected commit, when the `Show History1473 Context` menu item is invoked from 'git gui blame'. If this1474 variable is set to zero, the whole history is shown.14751476guitool.<name>.cmd::1477 Specifies the shell command line to execute when the corresponding item1478 of the linkgit:git-gui[1] `Tools` menu is invoked. This option is1479 mandatory for every tool. The command is executed from the root of1480 the working directory, and in the environment it receives the name of1481 the tool as 'GIT_GUITOOL', the name of the currently selected file as1482 'FILENAME', and the name of the current branch as 'CUR_BRANCH' (if1483 the head is detached, 'CUR_BRANCH' is empty).14841485guitool.<name>.needsFile::1486 Run the tool only if a diff is selected in the GUI. It guarantees1487 that 'FILENAME' is not empty.14881489guitool.<name>.noConsole::1490 Run the command silently, without creating a window to display its1491 output.14921493guitool.<name>.noRescan::1494 Don't rescan the working directory for changes after the tool1495 finishes execution.14961497guitool.<name>.confirm::1498 Show a confirmation dialog before actually running the tool.14991500guitool.<name>.argPrompt::1501 Request a string argument from the user, and pass it to the tool1502 through the 'ARGS' environment variable. Since requesting an1503 argument implies confirmation, the 'confirm' option has no effect1504 if this is enabled. If the option is set to 'true', 'yes', or '1',1505 the dialog uses a built-in generic prompt; otherwise the exact1506 value of the variable is used.15071508guitool.<name>.revPrompt::1509 Request a single valid revision from the user, and set the1510 'REVISION' environment variable. In other aspects this option1511 is similar to 'argPrompt', and can be used together with it.15121513guitool.<name>.revUnmerged::1514 Show only unmerged branches in the 'revPrompt' subdialog.1515 This is useful for tools similar to merge or rebase, but not1516 for things like checkout or reset.15171518guitool.<name>.title::1519 Specifies the title to use for the prompt dialog. The default1520 is the tool name.15211522guitool.<name>.prompt::1523 Specifies the general prompt string to display at the top of1524 the dialog, before subsections for 'argPrompt' and 'revPrompt'.1525 The default value includes the actual command.15261527help.browser::1528 Specify the browser that will be used to display help in the1529 'web' format. See linkgit:git-help[1].15301531help.format::1532 Override the default help format used by linkgit:git-help[1].1533 Values 'man', 'info', 'web' and 'html' are supported. 'man' is1534 the default. 'web' and 'html' are the same.15351536help.autoCorrect::1537 Automatically correct and execute mistyped commands after1538 waiting for the given number of deciseconds (0.1 sec). If more1539 than one command can be deduced from the entered text, nothing1540 will be executed. If the value of this option is negative,1541 the corrected command will be executed immediately. If the1542 value is 0 - the command will be just shown but not executed.1543 This is the default.15441545help.htmlPath::1546 Specify the path where the HTML documentation resides. File system paths1547 and URLs are supported. HTML pages will be prefixed with this path when1548 help is displayed in the 'web' format. This defaults to the documentation1549 path of your Git installation.15501551http.proxy::1552 Override the HTTP proxy, normally configured using the 'http_proxy',1553 'https_proxy', and 'all_proxy' environment variables (see1554 `curl(1)`). This can be overridden on a per-remote basis; see1555 remote.<name>.proxy15561557http.cookieFile::1558 File containing previously stored cookie lines which should be used1559 in the Git http session, if they match the server. The file format1560 of the file to read cookies from should be plain HTTP headers or1561 the Netscape/Mozilla cookie file format (see linkgit:curl[1]).1562 NOTE that the file specified with http.cookieFile is only used as1563 input unless http.saveCookies is set.15641565http.saveCookies::1566 If set, store cookies received during requests to the file specified by1567 http.cookieFile. Has no effect if http.cookieFile is unset.15681569http.sslVerify::1570 Whether to verify the SSL certificate when fetching or pushing1571 over HTTPS. Can be overridden by the 'GIT_SSL_NO_VERIFY' environment1572 variable.15731574http.sslCert::1575 File containing the SSL certificate when fetching or pushing1576 over HTTPS. Can be overridden by the 'GIT_SSL_CERT' environment1577 variable.15781579http.sslKey::1580 File containing the SSL private key when fetching or pushing1581 over HTTPS. Can be overridden by the 'GIT_SSL_KEY' environment1582 variable.15831584http.sslCertPasswordProtected::1585 Enable Git's password prompt for the SSL certificate. Otherwise1586 OpenSSL will prompt the user, possibly many times, if the1587 certificate or private key is encrypted. Can be overridden by the1588 'GIT_SSL_CERT_PASSWORD_PROTECTED' environment variable.15891590http.sslCAInfo::1591 File containing the certificates to verify the peer with when1592 fetching or pushing over HTTPS. Can be overridden by the1593 'GIT_SSL_CAINFO' environment variable.15941595http.sslCAPath::1596 Path containing files with the CA certificates to verify the peer1597 with when fetching or pushing over HTTPS. Can be overridden1598 by the 'GIT_SSL_CAPATH' environment variable.15991600http.sslTry::1601 Attempt to use AUTH SSL/TLS and encrypted data transfers1602 when connecting via regular FTP protocol. This might be needed1603 if the FTP server requires it for security reasons or you wish1604 to connect securely whenever remote FTP server supports it.1605 Default is false since it might trigger certificate verification1606 errors on misconfigured servers.16071608http.maxRequests::1609 How many HTTP requests to launch in parallel. Can be overridden1610 by the 'GIT_HTTP_MAX_REQUESTS' environment variable. Default is 5.16111612http.minSessions::1613 The number of curl sessions (counted across slots) to be kept across1614 requests. They will not be ended with curl_easy_cleanup() until1615 http_cleanup() is invoked. If USE_CURL_MULTI is not defined, this1616 value will be capped at 1. Defaults to 1.16171618http.postBuffer::1619 Maximum size in bytes of the buffer used by smart HTTP1620 transports when POSTing data to the remote system.1621 For requests larger than this buffer size, HTTP/1.1 and1622 Transfer-Encoding: chunked is used to avoid creating a1623 massive pack file locally. Default is 1 MiB, which is1624 sufficient for most requests.16251626http.lowSpeedLimit, http.lowSpeedTime::1627 If the HTTP transfer speed is less than 'http.lowSpeedLimit'1628 for longer than 'http.lowSpeedTime' seconds, the transfer is aborted.1629 Can be overridden by the 'GIT_HTTP_LOW_SPEED_LIMIT' and1630 'GIT_HTTP_LOW_SPEED_TIME' environment variables.16311632http.noEPSV::1633 A boolean which disables using of EPSV ftp command by curl.1634 This can helpful with some "poor" ftp servers which don't1635 support EPSV mode. Can be overridden by the 'GIT_CURL_FTP_NO_EPSV'1636 environment variable. Default is false (curl will use EPSV).16371638http.userAgent::1639 The HTTP USER_AGENT string presented to an HTTP server. The default1640 value represents the version of the client Git such as git/1.7.1.1641 This option allows you to override this value to a more common value1642 such as Mozilla/4.0. This may be necessary, for instance, if1643 connecting through a firewall that restricts HTTP connections to a set1644 of common USER_AGENT strings (but not including those like git/1.7.1).1645 Can be overridden by the 'GIT_HTTP_USER_AGENT' environment variable.16461647http.<url>.*::1648 Any of the http.* options above can be applied selectively to some URLs.1649 For a config key to match a URL, each element of the config key is1650 compared to that of the URL, in the following order:1651+1652--1653. Scheme (e.g., `https` in `https://example.com/`). This field1654 must match exactly between the config key and the URL.16551656. Host/domain name (e.g., `example.com` in `https://example.com/`).1657 This field must match exactly between the config key and the URL.16581659. Port number (e.g., `8080` in `http://example.com:8080/`).1660 This field must match exactly between the config key and the URL.1661 Omitted port numbers are automatically converted to the correct1662 default for the scheme before matching.16631664. Path (e.g., `repo.git` in `https://example.com/repo.git`). The1665 path field of the config key must match the path field of the URL1666 either exactly or as a prefix of slash-delimited path elements. This means1667 a config key with path `foo/` matches URL path `foo/bar`. A prefix can only1668 match on a slash (`/`) boundary. Longer matches take precedence (so a config1669 key with path `foo/bar` is a better match to URL path `foo/bar` than a config1670 key with just path `foo/`).16711672. User name (e.g., `user` in `https://user@example.com/repo.git`). If1673 the config key has a user name it must match the user name in the1674 URL exactly. If the config key does not have a user name, that1675 config key will match a URL with any user name (including none),1676 but at a lower precedence than a config key with a user name.1677--1678+1679The list above is ordered by decreasing precedence; a URL that matches1680a config key's path is preferred to one that matches its user name. For example,1681if the URL is `https://user@example.com/foo/bar` a config key match of1682`https://example.com/foo` will be preferred over a config key match of1683`https://user@example.com`.1684+1685All URLs are normalized before attempting any matching (the password part,1686if embedded in the URL, is always ignored for matching purposes) so that1687equivalent URLs that are simply spelled differently will match properly.1688Environment variable settings always override any matches. The URLs that are1689matched against are those given directly to Git commands. This means any URLs1690visited as a result of a redirection do not participate in matching.16911692i18n.commitEncoding::1693 Character encoding the commit messages are stored in; Git itself1694 does not care per se, but this information is necessary e.g. when1695 importing commits from emails or in the gitk graphical history1696 browser (and possibly at other places in the future or in other1697 porcelains). See e.g. linkgit:git-mailinfo[1]. Defaults to 'utf-8'.16981699i18n.logOutputEncoding::1700 Character encoding the commit messages are converted to when1701 running 'git log' and friends.17021703imap::1704 The configuration variables in the 'imap' section are described1705 in linkgit:git-imap-send[1].17061707index.version::1708 Specify the version with which new index files should be1709 initialized. This does not affect existing repositories.17101711init.templateDir::1712 Specify the directory from which templates will be copied.1713 (See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].)17141715instaweb.browser::1716 Specify the program that will be used to browse your working1717 repository in gitweb. See linkgit:git-instaweb[1].17181719instaweb.httpd::1720 The HTTP daemon command-line to start gitweb on your working1721 repository. See linkgit:git-instaweb[1].17221723instaweb.local::1724 If true the web server started by linkgit:git-instaweb[1] will1725 be bound to the local IP (127.0.0.1).17261727instaweb.modulePath::1728 The default module path for linkgit:git-instaweb[1] to use1729 instead of /usr/lib/apache2/modules. Only used if httpd1730 is Apache.17311732instaweb.port::1733 The port number to bind the gitweb httpd to. See1734 linkgit:git-instaweb[1].17351736interactive.singleKey::1737 In interactive commands, allow the user to provide one-letter1738 input with a single key (i.e., without hitting enter).1739 Currently this is used by the `--patch` mode of1740 linkgit:git-add[1], linkgit:git-checkout[1], linkgit:git-commit[1],1741 linkgit:git-reset[1], and linkgit:git-stash[1]. Note that this1742 setting is silently ignored if portable keystroke input1743 is not available; requires the Perl module Term::ReadKey.17441745log.abbrevCommit::1746 If true, makes linkgit:git-log[1], linkgit:git-show[1], and1747 linkgit:git-whatchanged[1] assume `--abbrev-commit`. You may1748 override this option with `--no-abbrev-commit`.17491750log.date::1751 Set the default date-time mode for the 'log' command.1752 Setting a value for log.date is similar to using 'git log''s1753 `--date` option. Possible values are `relative`, `local`,1754 `default`, `iso`, `rfc`, and `short`; see linkgit:git-log[1]1755 for details.17561757log.decorate::1758 Print out the ref names of any commits that are shown by the log1759 command. If 'short' is specified, the ref name prefixes 'refs/heads/',1760 'refs/tags/' and 'refs/remotes/' will not be printed. If 'full' is1761 specified, the full ref name (including prefix) will be printed.1762 This is the same as the log commands '--decorate' option.17631764log.showRoot::1765 If true, the initial commit will be shown as a big creation event.1766 This is equivalent to a diff against an empty tree.1767 Tools like linkgit:git-log[1] or linkgit:git-whatchanged[1], which1768 normally hide the root commit will now show it. True by default.17691770log.mailmap::1771 If true, makes linkgit:git-log[1], linkgit:git-show[1], and1772 linkgit:git-whatchanged[1] assume `--use-mailmap`.17731774mailinfo.scissors::1775 If true, makes linkgit:git-mailinfo[1] (and therefore1776 linkgit:git-am[1]) act by default as if the --scissors option1777 was provided on the command-line. When active, this features1778 removes everything from the message body before a scissors1779 line (i.e. consisting mainly of ">8", "8<" and "-").17801781mailmap.file::1782 The location of an augmenting mailmap file. The default1783 mailmap, located in the root of the repository, is loaded1784 first, then the mailmap file pointed to by this variable.1785 The location of the mailmap file may be in a repository1786 subdirectory, or somewhere outside of the repository itself.1787 See linkgit:git-shortlog[1] and linkgit:git-blame[1].17881789mailmap.blob::1790 Like `mailmap.file`, but consider the value as a reference to a1791 blob in the repository. If both `mailmap.file` and1792 `mailmap.blob` are given, both are parsed, with entries from1793 `mailmap.file` taking precedence. In a bare repository, this1794 defaults to `HEAD:.mailmap`. In a non-bare repository, it1795 defaults to empty.17961797man.viewer::1798 Specify the programs that may be used to display help in the1799 'man' format. See linkgit:git-help[1].18001801man.<tool>.cmd::1802 Specify the command to invoke the specified man viewer. The1803 specified command is evaluated in shell with the man page1804 passed as argument. (See linkgit:git-help[1].)18051806man.<tool>.path::1807 Override the path for the given tool that may be used to1808 display help in the 'man' format. See linkgit:git-help[1].18091810include::merge-config.txt[]18111812mergetool.<tool>.path::1813 Override the path for the given tool. This is useful in case1814 your tool is not in the PATH.18151816mergetool.<tool>.cmd::1817 Specify the command to invoke the specified merge tool. The1818 specified command is evaluated in shell with the following1819 variables available: 'BASE' is the name of a temporary file1820 containing the common base of the files to be merged, if available;1821 'LOCAL' is the name of a temporary file containing the contents of1822 the file on the current branch; 'REMOTE' is the name of a temporary1823 file containing the contents of the file from the branch being1824 merged; 'MERGED' contains the name of the file to which the merge1825 tool should write the results of a successful merge.18261827mergetool.<tool>.trustExitCode::1828 For a custom merge command, specify whether the exit code of1829 the merge command can be used to determine whether the merge was1830 successful. If this is not set to true then the merge target file1831 timestamp is checked and the merge assumed to have been successful1832 if the file has been updated, otherwise the user is prompted to1833 indicate the success of the merge.18341835mergetool.meld.hasOutput::1836 Older versions of `meld` do not support the `--output` option.1837 Git will attempt to detect whether `meld` supports `--output`1838 by inspecting the output of `meld --help`. Configuring1839 `mergetool.meld.hasOutput` will make Git skip these checks and1840 use the configured value instead. Setting `mergetool.meld.hasOutput`1841 to `true` tells Git to unconditionally use the `--output` option,1842 and `false` avoids using `--output`.18431844mergetool.keepBackup::1845 After performing a merge, the original file with conflict markers1846 can be saved as a file with a `.orig` extension. If this variable1847 is set to `false` then this file is not preserved. Defaults to1848 `true` (i.e. keep the backup files).18491850mergetool.keepTemporaries::1851 When invoking a custom merge tool, Git uses a set of temporary1852 files to pass to the tool. If the tool returns an error and this1853 variable is set to `true`, then these temporary files will be1854 preserved, otherwise they will be removed after the tool has1855 exited. Defaults to `false`.18561857mergetool.writeToTemp::1858 Git writes temporary 'BASE', 'LOCAL', and 'REMOTE' versions of1859 conflicting files in the worktree by default. Git will attempt1860 to use a temporary directory for these files when set `true`.1861 Defaults to `false`.18621863mergetool.prompt::1864 Prompt before each invocation of the merge resolution program.18651866notes.displayRef::1867 The (fully qualified) refname from which to show notes when1868 showing commit messages. The value of this variable can be set1869 to a glob, in which case notes from all matching refs will be1870 shown. You may also specify this configuration variable1871 several times. A warning will be issued for refs that do not1872 exist, but a glob that does not match any refs is silently1873 ignored.1874+1875This setting can be overridden with the `GIT_NOTES_DISPLAY_REF`1876environment variable, which must be a colon separated list of refs or1877globs.1878+1879The effective value of "core.notesRef" (possibly overridden by1880GIT_NOTES_REF) is also implicitly added to the list of refs to be1881displayed.18821883notes.rewrite.<command>::1884 When rewriting commits with <command> (currently `amend` or1885 `rebase`) and this variable is set to `true`, Git1886 automatically copies your notes from the original to the1887 rewritten commit. Defaults to `true`, but see1888 "notes.rewriteRef" below.18891890notes.rewriteMode::1891 When copying notes during a rewrite (see the1892 "notes.rewrite.<command>" option), determines what to do if1893 the target commit already has a note. Must be one of1894 `overwrite`, `concatenate`, or `ignore`. Defaults to1895 `concatenate`.1896+1897This setting can be overridden with the `GIT_NOTES_REWRITE_MODE`1898environment variable.18991900notes.rewriteRef::1901 When copying notes during a rewrite, specifies the (fully1902 qualified) ref whose notes should be copied. The ref may be a1903 glob, in which case notes in all matching refs will be copied.1904 You may also specify this configuration several times.1905+1906Does not have a default value; you must configure this variable to1907enable note rewriting. Set it to `refs/notes/commits` to enable1908rewriting for the default commit notes.1909+1910This setting can be overridden with the `GIT_NOTES_REWRITE_REF`1911environment variable, which must be a colon separated list of refs or1912globs.19131914pack.window::1915 The size of the window used by linkgit:git-pack-objects[1] when no1916 window size is given on the command line. Defaults to 10.19171918pack.depth::1919 The maximum delta depth used by linkgit:git-pack-objects[1] when no1920 maximum depth is given on the command line. Defaults to 50.19211922pack.windowMemory::1923 The maximum size of memory that is consumed by each thread1924 in linkgit:git-pack-objects[1] for pack window memory when1925 no limit is given on the command line. The value can be1926 suffixed with "k", "m", or "g". When left unconfigured (or1927 set explicitly to 0), there will be no limit.19281929pack.compression::1930 An integer -1..9, indicating the compression level for objects1931 in a pack file. -1 is the zlib default. 0 means no1932 compression, and 1..9 are various speed/size tradeoffs, 9 being1933 slowest. If not set, defaults to core.compression. If that is1934 not set, defaults to -1, the zlib default, which is "a default1935 compromise between speed and compression (currently equivalent1936 to level 6)."1937+1938Note that changing the compression level will not automatically recompress1939all existing objects. You can force recompression by passing the -F option1940to linkgit:git-repack[1].19411942pack.deltaCacheSize::1943 The maximum memory in bytes used for caching deltas in1944 linkgit:git-pack-objects[1] before writing them out to a pack.1945 This cache is used to speed up the writing object phase by not1946 having to recompute the final delta result once the best match1947 for all objects is found. Repacking large repositories on machines1948 which are tight with memory might be badly impacted by this though,1949 especially if this cache pushes the system into swapping.1950 A value of 0 means no limit. The smallest size of 1 byte may be1951 used to virtually disable this cache. Defaults to 256 MiB.19521953pack.deltaCacheLimit::1954 The maximum size of a delta, that is cached in1955 linkgit:git-pack-objects[1]. This cache is used to speed up the1956 writing object phase by not having to recompute the final delta1957 result once the best match for all objects is found. Defaults to 1000.19581959pack.threads::1960 Specifies the number of threads to spawn when searching for best1961 delta matches. This requires that linkgit:git-pack-objects[1]1962 be compiled with pthreads otherwise this option is ignored with a1963 warning. This is meant to reduce packing time on multiprocessor1964 machines. The required amount of memory for the delta search window1965 is however multiplied by the number of threads.1966 Specifying 0 will cause Git to auto-detect the number of CPU's1967 and set the number of threads accordingly.19681969pack.indexVersion::1970 Specify the default pack index version. Valid values are 1 for1971 legacy pack index used by Git versions prior to 1.5.2, and 2 for1972 the new pack index with capabilities for packs larger than 4 GB1973 as well as proper protection against the repacking of corrupted1974 packs. Version 2 is the default. Note that version 2 is enforced1975 and this config option ignored whenever the corresponding pack is1976 larger than 2 GB.1977+1978If you have an old Git that does not understand the version 2 `*.idx` file,1979cloning or fetching over a non native protocol (e.g. "http" and "rsync")1980that will copy both `*.pack` file and corresponding `*.idx` file from the1981other side may give you a repository that cannot be accessed with your1982older version of Git. If the `*.pack` file is smaller than 2 GB, however,1983you can use linkgit:git-index-pack[1] on the *.pack file to regenerate1984the `*.idx` file.19851986pack.packSizeLimit::1987 The maximum size of a pack. This setting only affects1988 packing to a file when repacking, i.e. the git:// protocol1989 is unaffected. It can be overridden by the `--max-pack-size`1990 option of linkgit:git-repack[1]. The minimum size allowed is1991 limited to 1 MiB. The default is unlimited.1992 Common unit suffixes of 'k', 'm', or 'g' are1993 supported.19941995pack.useBitmaps::1996 When true, git will use pack bitmaps (if available) when packing1997 to stdout (e.g., during the server side of a fetch). Defaults to1998 true. You should not generally need to turn this off unless1999 you are debugging pack bitmaps.20002001pack.writeBitmaps (deprecated)::2002 This is a deprecated synonym for `repack.writeBitmaps`.20032004pack.writeBitmapHashCache::2005 When true, git will include a "hash cache" section in the bitmap2006 index (if one is written). This cache can be used to feed git's2007 delta heuristics, potentially leading to better deltas between2008 bitmapped and non-bitmapped objects (e.g., when serving a fetch2009 between an older, bitmapped pack and objects that have been2010 pushed since the last gc). The downside is that it consumes 42011 bytes per object of disk space, and that JGit's bitmap2012 implementation does not understand it, causing it to complain if2013 Git and JGit are used on the same repository. Defaults to false.20142015pager.<cmd>::2016 If the value is boolean, turns on or off pagination of the2017 output of a particular Git subcommand when writing to a tty.2018 Otherwise, turns on pagination for the subcommand using the2019 pager specified by the value of `pager.<cmd>`. If `--paginate`2020 or `--no-pager` is specified on the command line, it takes2021 precedence over this option. To disable pagination for all2022 commands, set `core.pager` or `GIT_PAGER` to `cat`.20232024pretty.<name>::2025 Alias for a --pretty= format string, as specified in2026 linkgit:git-log[1]. Any aliases defined here can be used just2027 as the built-in pretty formats could. For example,2028 running `git config pretty.changelog "format:* %H %s"`2029 would cause the invocation `git log --pretty=changelog`2030 to be equivalent to running `git log "--pretty=format:* %H %s"`.2031 Note that an alias with the same name as a built-in format2032 will be silently ignored.20332034pull.ff::2035 By default, Git does not create an extra merge commit when merging2036 a commit that is a descendant of the current commit. Instead, the2037 tip of the current branch is fast-forwarded. When set to `false`,2038 this variable tells Git to create an extra merge commit in such2039 a case (equivalent to giving the `--no-ff` option from the command2040 line). When set to `only`, only such fast-forward merges are2041 allowed (equivalent to giving the `--ff-only` option from the2042 command line). This setting overrides `merge.ff` when pulling.20432044pull.rebase::2045 When true, rebase branches on top of the fetched branch, instead2046 of merging the default branch from the default remote when "git2047 pull" is run. See "branch.<name>.rebase" for setting this on a2048 per-branch basis.2049+2050 When preserve, also pass `--preserve-merges` along to 'git rebase'2051 so that locally committed merge commits will not be flattened2052 by running 'git pull'.2053+2054*NOTE*: this is a possibly dangerous operation; do *not* use2055it unless you understand the implications (see linkgit:git-rebase[1]2056for details).20572058pull.octopus::2059 The default merge strategy to use when pulling multiple branches2060 at once.20612062pull.twohead::2063 The default merge strategy to use when pulling a single branch.20642065push.default::2066 Defines the action `git push` should take if no refspec is2067 explicitly given. Different values are well-suited for2068 specific workflows; for instance, in a purely central workflow2069 (i.e. the fetch source is equal to the push destination),2070 `upstream` is probably what you want. Possible values are:2071+2072--20732074* `nothing` - do not push anything (error out) unless a refspec is2075 explicitly given. This is primarily meant for people who want to2076 avoid mistakes by always being explicit.20772078* `current` - push the current branch to update a branch with the same2079 name on the receiving end. Works in both central and non-central2080 workflows.20812082* `upstream` - push the current branch back to the branch whose2083 changes are usually integrated into the current branch (which is2084 called `@{upstream}`). This mode only makes sense if you are2085 pushing to the same repository you would normally pull from2086 (i.e. central workflow).20872088* `simple` - in centralized workflow, work like `upstream` with an2089 added safety to refuse to push if the upstream branch's name is2090 different from the local one.2091+2092When pushing to a remote that is different from the remote you normally2093pull from, work as `current`. This is the safest option and is suited2094for beginners.2095+2096This mode has become the default in Git 2.0.20972098* `matching` - push all branches having the same name on both ends.2099 This makes the repository you are pushing to remember the set of2100 branches that will be pushed out (e.g. if you always push 'maint'2101 and 'master' there and no other branches, the repository you push2102 to will have these two branches, and your local 'maint' and2103 'master' will be pushed there).2104+2105To use this mode effectively, you have to make sure _all_ the2106branches you would push out are ready to be pushed out before2107running 'git push', as the whole point of this mode is to allow you2108to push all of the branches in one go. If you usually finish work2109on only one branch and push out the result, while other branches are2110unfinished, this mode is not for you. Also this mode is not2111suitable for pushing into a shared central repository, as other2112people may add new branches there, or update the tip of existing2113branches outside your control.2114+2115This used to be the default, but not since Git 2.0 (`simple` is the2116new default).21172118--21192120push.followTags::2121 If set to true enable '--follow-tags' option by default. You2122 may override this configuration at time of push by specifying2123 '--no-follow-tags'.212421252126rebase.stat::2127 Whether to show a diffstat of what changed upstream since the last2128 rebase. False by default.21292130rebase.autoSquash::2131 If set to true enable '--autosquash' option by default.21322133rebase.autoStash::2134 When set to true, automatically create a temporary stash2135 before the operation begins, and apply it after the operation2136 ends. This means that you can run rebase on a dirty worktree.2137 However, use with care: the final stash application after a2138 successful rebase might result in non-trivial conflicts.2139 Defaults to false.21402141receive.advertiseAtomic::2142 By default, git-receive-pack will advertise the atomic push2143 capability to its clients. If you don't want to this capability2144 to be advertised, set this variable to false.21452146receive.autogc::2147 By default, git-receive-pack will run "git-gc --auto" after2148 receiving data from git-push and updating refs. You can stop2149 it by setting this variable to false.21502151receive.certNonceSeed::2152 By setting this variable to a string, `git receive-pack`2153 will accept a `git push --signed` and verifies it by using2154 a "nonce" protected by HMAC using this string as a secret2155 key.21562157receive.certNonceSlop::2158 When a `git push --signed` sent a push certificate with a2159 "nonce" that was issued by a receive-pack serving the same2160 repository within this many seconds, export the "nonce"2161 found in the certificate to `GIT_PUSH_CERT_NONCE` to the2162 hooks (instead of what the receive-pack asked the sending2163 side to include). This may allow writing checks in2164 `pre-receive` and `post-receive` a bit easier. Instead of2165 checking `GIT_PUSH_CERT_NONCE_SLOP` environment variable2166 that records by how many seconds the nonce is stale to2167 decide if they want to accept the certificate, they only2168 can check `GIT_PUSH_CERT_NONCE_STATUS` is `OK`.21692170receive.fsckObjects::2171 If it is set to true, git-receive-pack will check all received2172 objects. It will abort in the case of a malformed object or a2173 broken link. The result of an abort are only dangling objects.2174 Defaults to false. If not set, the value of `transfer.fsckObjects`2175 is used instead.21762177receive.unpackLimit::2178 If the number of objects received in a push is below this2179 limit then the objects will be unpacked into loose object2180 files. However if the number of received objects equals or2181 exceeds this limit then the received pack will be stored as2182 a pack, after adding any missing delta bases. Storing the2183 pack from a push can make the push operation complete faster,2184 especially on slow filesystems. If not set, the value of2185 `transfer.unpackLimit` is used instead.21862187receive.denyDeletes::2188 If set to true, git-receive-pack will deny a ref update that deletes2189 the ref. Use this to prevent such a ref deletion via a push.21902191receive.denyDeleteCurrent::2192 If set to true, git-receive-pack will deny a ref update that2193 deletes the currently checked out branch of a non-bare repository.21942195receive.denyCurrentBranch::2196 If set to true or "refuse", git-receive-pack will deny a ref update2197 to the currently checked out branch of a non-bare repository.2198 Such a push is potentially dangerous because it brings the HEAD2199 out of sync with the index and working tree. If set to "warn",2200 print a warning of such a push to stderr, but allow the push to2201 proceed. If set to false or "ignore", allow such pushes with no2202 message. Defaults to "refuse".2203+2204Another option is "updateInstead" which will update the working2205tree if pushing into the current branch. This option is2206intended for synchronizing working directories when one side is not easily2207accessible via interactive ssh (e.g. a live web site, hence the requirement2208that the working directory be clean). This mode also comes in handy when2209developing inside a VM to test and fix code on different Operating Systems.2210+2211By default, "updateInstead" will refuse the push if the working tree or2212the index have any difference from the HEAD, but the `push-to-checkout`2213hook can be used to customize this. See linkgit:githooks[5].22142215receive.denyNonFastForwards::2216 If set to true, git-receive-pack will deny a ref update which is2217 not a fast-forward. Use this to prevent such an update via a push,2218 even if that push is forced. This configuration variable is2219 set when initializing a shared repository.22202221receive.hideRefs::2222 String(s) `receive-pack` uses to decide which refs to omit2223 from its initial advertisement. Use more than one2224 definitions to specify multiple prefix strings. A ref that2225 are under the hierarchies listed on the value of this2226 variable is excluded, and is hidden when responding to `git2227 push`, and an attempt to update or delete a hidden ref by2228 `git push` is rejected.22292230receive.updateServerInfo::2231 If set to true, git-receive-pack will run git-update-server-info2232 after receiving data from git-push and updating refs.22332234receive.shallowUpdate::2235 If set to true, .git/shallow can be updated when new refs2236 require new shallow roots. Otherwise those refs are rejected.22372238remote.pushDefault::2239 The remote to push to by default. Overrides2240 `branch.<name>.remote` for all branches, and is overridden by2241 `branch.<name>.pushRemote` for specific branches.22422243remote.<name>.url::2244 The URL of a remote repository. See linkgit:git-fetch[1] or2245 linkgit:git-push[1].22462247remote.<name>.pushurl::2248 The push URL of a remote repository. See linkgit:git-push[1].22492250remote.<name>.proxy::2251 For remotes that require curl (http, https and ftp), the URL to2252 the proxy to use for that remote. Set to the empty string to2253 disable proxying for that remote.22542255remote.<name>.fetch::2256 The default set of "refspec" for linkgit:git-fetch[1]. See2257 linkgit:git-fetch[1].22582259remote.<name>.push::2260 The default set of "refspec" for linkgit:git-push[1]. See2261 linkgit:git-push[1].22622263remote.<name>.mirror::2264 If true, pushing to this remote will automatically behave2265 as if the `--mirror` option was given on the command line.22662267remote.<name>.skipDefaultUpdate::2268 If true, this remote will be skipped by default when updating2269 using linkgit:git-fetch[1] or the `update` subcommand of2270 linkgit:git-remote[1].22712272remote.<name>.skipFetchAll::2273 If true, this remote will be skipped by default when updating2274 using linkgit:git-fetch[1] or the `update` subcommand of2275 linkgit:git-remote[1].22762277remote.<name>.receivepack::2278 The default program to execute on the remote side when pushing. See2279 option --receive-pack of linkgit:git-push[1].22802281remote.<name>.uploadpack::2282 The default program to execute on the remote side when fetching. See2283 option --upload-pack of linkgit:git-fetch-pack[1].22842285remote.<name>.tagOpt::2286 Setting this value to --no-tags disables automatic tag following when2287 fetching from remote <name>. Setting it to --tags will fetch every2288 tag from remote <name>, even if they are not reachable from remote2289 branch heads. Passing these flags directly to linkgit:git-fetch[1] can2290 override this setting. See options --tags and --no-tags of2291 linkgit:git-fetch[1].22922293remote.<name>.vcs::2294 Setting this to a value <vcs> will cause Git to interact with2295 the remote with the git-remote-<vcs> helper.22962297remote.<name>.prune::2298 When set to true, fetching from this remote by default will also2299 remove any remote-tracking references that no longer exist on the2300 remote (as if the `--prune` option was given on the command line).2301 Overrides `fetch.prune` settings, if any.23022303remotes.<group>::2304 The list of remotes which are fetched by "git remote update2305 <group>". See linkgit:git-remote[1].23062307repack.useDeltaBaseOffset::2308 By default, linkgit:git-repack[1] creates packs that use2309 delta-base offset. If you need to share your repository with2310 Git older than version 1.4.4, either directly or via a dumb2311 protocol such as http, then you need to set this option to2312 "false" and repack. Access from old Git versions over the2313 native protocol are unaffected by this option.23142315repack.packKeptObjects::2316 If set to true, makes `git repack` act as if2317 `--pack-kept-objects` was passed. See linkgit:git-repack[1] for2318 details. Defaults to `false` normally, but `true` if a bitmap2319 index is being written (either via `--write-bitmap-index` or2320 `repack.writeBitmaps`).23212322repack.writeBitmaps::2323 When true, git will write a bitmap index when packing all2324 objects to disk (e.g., when `git repack -a` is run). This2325 index can speed up the "counting objects" phase of subsequent2326 packs created for clones and fetches, at the cost of some disk2327 space and extra time spent on the initial repack. Defaults to2328 false.23292330rerere.autoUpdate::2331 When set to true, `git-rerere` updates the index with the2332 resulting contents after it cleanly resolves conflicts using2333 previously recorded resolution. Defaults to false.23342335rerere.enabled::2336 Activate recording of resolved conflicts, so that identical2337 conflict hunks can be resolved automatically, should they be2338 encountered again. By default, linkgit:git-rerere[1] is2339 enabled if there is an `rr-cache` directory under the2340 `$GIT_DIR`, e.g. if "rerere" was previously used in the2341 repository.23422343sendemail.identity::2344 A configuration identity. When given, causes values in the2345 'sendemail.<identity>' subsection to take precedence over2346 values in the 'sendemail' section. The default identity is2347 the value of 'sendemail.identity'.23482349sendemail.smtpEncryption::2350 See linkgit:git-send-email[1] for description. Note that this2351 setting is not subject to the 'identity' mechanism.23522353sendemail.smtpssl (deprecated)::2354 Deprecated alias for 'sendemail.smtpEncryption = ssl'.23552356sendemail.smtpsslcertpath::2357 Path to ca-certificates (either a directory or a single file).2358 Set it to an empty string to disable certificate verification.23592360sendemail.<identity>.*::2361 Identity-specific versions of the 'sendemail.*' parameters2362 found below, taking precedence over those when the this2363 identity is selected, through command-line or2364 'sendemail.identity'.23652366sendemail.aliasesFile::2367sendemail.aliasFileType::2368sendemail.annotate::2369sendemail.bcc::2370sendemail.cc::2371sendemail.ccCmd::2372sendemail.chainReplyTo::2373sendemail.confirm::2374sendemail.envelopeSender::2375sendemail.from::2376sendemail.multiEdit::2377sendemail.signedoffbycc::2378sendemail.smtpPass::2379sendemail.suppresscc::2380sendemail.suppressFrom::2381sendemail.to::2382sendemail.smtpDomain::2383sendemail.smtpServer::2384sendemail.smtpServerPort::2385sendemail.smtpServerOption::2386sendemail.smtpUser::2387sendemail.thread::2388sendemail.transferEncoding::2389sendemail.validate::2390sendemail.xmailer::2391 See linkgit:git-send-email[1] for description.23922393sendemail.signedoffcc (deprecated)::2394 Deprecated alias for 'sendemail.signedoffbycc'.23952396showbranch.default::2397 The default set of branches for linkgit:git-show-branch[1].2398 See linkgit:git-show-branch[1].23992400status.relativePaths::2401 By default, linkgit:git-status[1] shows paths relative to the2402 current directory. Setting this variable to `false` shows paths2403 relative to the repository root (this was the default for Git2404 prior to v1.5.4).24052406status.short::2407 Set to true to enable --short by default in linkgit:git-status[1].2408 The option --no-short takes precedence over this variable.24092410status.branch::2411 Set to true to enable --branch by default in linkgit:git-status[1].2412 The option --no-branch takes precedence over this variable.24132414status.displayCommentPrefix::2415 If set to true, linkgit:git-status[1] will insert a comment2416 prefix before each output line (starting with2417 `core.commentChar`, i.e. `#` by default). This was the2418 behavior of linkgit:git-status[1] in Git 1.8.4 and previous.2419 Defaults to false.24202421status.showUntrackedFiles::2422 By default, linkgit:git-status[1] and linkgit:git-commit[1] show2423 files which are not currently tracked by Git. Directories which2424 contain only untracked files, are shown with the directory name2425 only. Showing untracked files means that Git needs to lstat() all2426 the files in the whole repository, which might be slow on some2427 systems. So, this variable controls how the commands displays2428 the untracked files. Possible values are:2429+2430--2431* `no` - Show no untracked files.2432* `normal` - Show untracked files and directories.2433* `all` - Show also individual files in untracked directories.2434--2435+2436If this variable is not specified, it defaults to 'normal'.2437This variable can be overridden with the -u|--untracked-files option2438of linkgit:git-status[1] and linkgit:git-commit[1].24392440status.submoduleSummary::2441 Defaults to false.2442 If this is set to a non zero number or true (identical to -1 or an2443 unlimited number), the submodule summary will be enabled and a2444 summary of commits for modified submodules will be shown (see2445 --summary-limit option of linkgit:git-submodule[1]). Please note2446 that the summary output command will be suppressed for all2447 submodules when `diff.ignoreSubmodules` is set to 'all' or only2448 for those submodules where `submodule.<name>.ignore=all`. The only2449 exception to that rule is that status and commit will show staged2450 submodule changes. To2451 also view the summary for ignored submodules you can either use2452 the --ignore-submodules=dirty command-line option or the 'git2453 submodule summary' command, which shows a similar output but does2454 not honor these settings.24552456submodule.<name>.path::2457submodule.<name>.url::2458 The path within this project and URL for a submodule. These2459 variables are initially populated by 'git submodule init'. See2460 linkgit:git-submodule[1] and linkgit:gitmodules[5] for2461 details.24622463submodule.<name>.update::2464 The default update procedure for a submodule. This variable2465 is populated by `git submodule init` from the2466 linkgit:gitmodules[5] file. See description of 'update'2467 command in linkgit:git-submodule[1].24682469submodule.<name>.branch::2470 The remote branch name for a submodule, used by `git submodule2471 update --remote`. Set this option to override the value found in2472 the `.gitmodules` file. See linkgit:git-submodule[1] and2473 linkgit:gitmodules[5] for details.24742475submodule.<name>.fetchRecurseSubmodules::2476 This option can be used to control recursive fetching of this2477 submodule. It can be overridden by using the --[no-]recurse-submodules2478 command-line option to "git fetch" and "git pull".2479 This setting will override that from in the linkgit:gitmodules[5]2480 file.24812482submodule.<name>.ignore::2483 Defines under what circumstances "git status" and the diff family show2484 a submodule as modified. When set to "all", it will never be considered2485 modified (but it will nonetheless show up in the output of status and2486 commit when it has been staged), "dirty" will ignore all changes2487 to the submodules work tree and2488 takes only differences between the HEAD of the submodule and the commit2489 recorded in the superproject into account. "untracked" will additionally2490 let submodules with modified tracked files in their work tree show up.2491 Using "none" (the default when this option is not set) also shows2492 submodules that have untracked files in their work tree as changed.2493 This setting overrides any setting made in .gitmodules for this submodule,2494 both settings can be overridden on the command line by using the2495 "--ignore-submodules" option. The 'git submodule' commands are not2496 affected by this setting.24972498tag.sort::2499 This variable controls the sort ordering of tags when displayed by2500 linkgit:git-tag[1]. Without the "--sort=<value>" option provided, the2501 value of this variable will be used as the default.25022503tar.umask::2504 This variable can be used to restrict the permission bits of2505 tar archive entries. The default is 0002, which turns off the2506 world write bit. The special value "user" indicates that the2507 archiving user's umask will be used instead. See umask(2) and2508 linkgit:git-archive[1].25092510transfer.fsckObjects::2511 When `fetch.fsckObjects` or `receive.fsckObjects` are2512 not set, the value of this variable is used instead.2513 Defaults to false.25142515transfer.hideRefs::2516 This variable can be used to set both `receive.hideRefs`2517 and `uploadpack.hideRefs` at the same time to the same2518 values. See entries for these other variables.25192520transfer.unpackLimit::2521 When `fetch.unpackLimit` or `receive.unpackLimit` are2522 not set, the value of this variable is used instead.2523 The default value is 100.25242525uploadarchive.allowUnreachable::2526 If true, allow clients to use `git archive --remote` to request2527 any tree, whether reachable from the ref tips or not. See the2528 discussion in the `SECURITY` section of2529 linkgit:git-upload-archive[1] for more details. Defaults to2530 `false`.25312532uploadpack.hideRefs::2533 String(s) `upload-pack` uses to decide which refs to omit2534 from its initial advertisement. Use more than one2535 definitions to specify multiple prefix strings. A ref that2536 are under the hierarchies listed on the value of this2537 variable is excluded, and is hidden from `git ls-remote`,2538 `git fetch`, etc. An attempt to fetch a hidden ref by `git2539 fetch` will fail. See also `uploadpack.allowtipsha1inwant`.25402541uploadpack.allowtipsha1inwant::2542 When `uploadpack.hideRefs` is in effect, allow `upload-pack`2543 to accept a fetch request that asks for an object at the tip2544 of a hidden ref (by default, such a request is rejected).2545 see also `uploadpack.hideRefs`.25462547uploadpack.keepAlive::2548 When `upload-pack` has started `pack-objects`, there may be a2549 quiet period while `pack-objects` prepares the pack. Normally2550 it would output progress information, but if `--quiet` was used2551 for the fetch, `pack-objects` will output nothing at all until2552 the pack data begins. Some clients and networks may consider2553 the server to be hung and give up. Setting this option instructs2554 `upload-pack` to send an empty keepalive packet every2555 `uploadpack.keepAlive` seconds. Setting this option to 02556 disables keepalive packets entirely. The default is 5 seconds.25572558url.<base>.insteadOf::2559 Any URL that starts with this value will be rewritten to2560 start, instead, with <base>. In cases where some site serves a2561 large number of repositories, and serves them with multiple2562 access methods, and some users need to use different access2563 methods, this feature allows people to specify any of the2564 equivalent URLs and have Git automatically rewrite the URL to2565 the best alternative for the particular user, even for a2566 never-before-seen repository on the site. When more than one2567 insteadOf strings match a given URL, the longest match is used.25682569url.<base>.pushInsteadOf::2570 Any URL that starts with this value will not be pushed to;2571 instead, it will be rewritten to start with <base>, and the2572 resulting URL will be pushed to. In cases where some site serves2573 a large number of repositories, and serves them with multiple2574 access methods, some of which do not allow push, this feature2575 allows people to specify a pull-only URL and have Git2576 automatically use an appropriate URL to push, even for a2577 never-before-seen repository on the site. When more than one2578 pushInsteadOf strings match a given URL, the longest match is2579 used. If a remote has an explicit pushurl, Git will ignore this2580 setting for that remote.25812582user.email::2583 Your email address to be recorded in any newly created commits.2584 Can be overridden by the 'GIT_AUTHOR_EMAIL', 'GIT_COMMITTER_EMAIL', and2585 'EMAIL' environment variables. See linkgit:git-commit-tree[1].25862587user.name::2588 Your full name to be recorded in any newly created commits.2589 Can be overridden by the 'GIT_AUTHOR_NAME' and 'GIT_COMMITTER_NAME'2590 environment variables. See linkgit:git-commit-tree[1].25912592user.signingKey::2593 If linkgit:git-tag[1] or linkgit:git-commit[1] is not selecting the2594 key you want it to automatically when creating a signed tag or2595 commit, you can override the default selection with this variable.2596 This option is passed unchanged to gpg's --local-user parameter,2597 so you may specify a key using any method that gpg supports.25982599versionsort.prereleaseSuffix::2600 When version sort is used in linkgit:git-tag[1], prerelease2601 tags (e.g. "1.0-rc1") may appear after the main release2602 "1.0". By specifying the suffix "-rc" in this variable,2603 "1.0-rc1" will appear before "1.0".2604+2605This variable can be specified multiple times, once per suffix. The2606order of suffixes in the config file determines the sorting order2607(e.g. if "-pre" appears before "-rc" in the config file then 1.0-preXX2608is sorted before 1.0-rcXX). The sorting order between different2609suffixes is undefined if they are in multiple config files.26102611web.browser::2612 Specify a web browser that may be used by some commands.2613 Currently only linkgit:git-instaweb[1] and linkgit:git-help[1]2614 may use it.