Documentation / config.txton commit color: allow "no-" for negating attributes (5621068)
   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 learn
1000        configuration to set a default for the `--color` option.  Set it
1001        to `false` or `never` if you prefer Git commands not to use
1002        color unless enabled explicitly with some other configuration
1003        or the `--color` option. Set it to `always` if you want all
1004        output not intended for machine consumption to use color, to
1005        `true` or `auto` (this is the default since Git 1.8.4) if you
1006        want such output to use color when written to the terminal.
1007
1008column.ui::
1009        Specify whether supported commands should output in columns.
1010        This variable consists of a list of tokens separated by spaces
1011        or commas:
1012+
1013These options control when the feature should be enabled
1014(defaults to 'never'):
1015+
1016--
1017`always`;;
1018        always show in columns
1019`never`;;
1020        never show in columns
1021`auto`;;
1022        show in columns if the output is to the terminal
1023--
1024+
1025These options control layout (defaults to 'column').  Setting any
1026of these implies 'always' if none of 'always', 'never', or 'auto' are
1027specified.
1028+
1029--
1030`column`;;
1031        fill columns before rows
1032`row`;;
1033        fill rows before columns
1034`plain`;;
1035        show in one column
1036--
1037+
1038Finally, these options can be combined with a layout option (defaults
1039to 'nodense'):
1040+
1041--
1042`dense`;;
1043        make unequal size columns to utilize more space
1044`nodense`;;
1045        make equal size columns
1046--
1047
1048column.branch::
1049        Specify whether to output branch listing in `git branch` in columns.
1050        See `column.ui` for details.
1051
1052column.clean::
1053        Specify the layout when list items in `git clean -i`, which always
1054        shows files and directories in columns. See `column.ui` for details.
1055
1056column.status::
1057        Specify whether to output untracked files in `git status` in columns.
1058        See `column.ui` for details.
1059
1060column.tag::
1061        Specify whether to output tag listing in `git tag` in columns.
1062        See `column.ui` for details.
1063
1064commit.cleanup::
1065        This setting overrides the default of the `--cleanup` option in
1066        `git commit`. See linkgit:git-commit[1] for details. Changing the
1067        default can be useful when you always want to keep lines that begin
1068        with comment character `#` in your log message, in which case you
1069        would do `git config commit.cleanup whitespace` (note that you will
1070        have to remove the help lines that begin with `#` in the commit log
1071        template yourself, if you do this).
1072
1073commit.gpgSign::
1074
1075        A boolean to specify whether all commits should be GPG signed.
1076        Use of this option when doing operations such as rebase can
1077        result in a large number of commits being signed. It may be
1078        convenient to use an agent to avoid typing your GPG passphrase
1079        several times.
1080
1081commit.status::
1082        A boolean to enable/disable inclusion of status information in the
1083        commit message template when using an editor to prepare the commit
1084        message.  Defaults to true.
1085
1086commit.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 the
1089        specified user's home directory.
1090
1091credential.helper::
1092        Specify an external helper to be called when a username or
1093        password credential is needed; the helper may consult external
1094        storage to avoid prompting the user for the credentials. See
1095        linkgit:gitcredentials[7] for details.
1096
1097credential.useHttpPath::
1098        When acquiring credentials, consider the "path" component of an http
1099        or https URL to be important. Defaults to false. See
1100        linkgit:gitcredentials[7] for more information.
1101
1102credential.username::
1103        If no username is set for a network authentication, use this username
1104        by default. See credential.<context>.* below, and
1105        linkgit:gitcredentials[7].
1106
1107credential.<url>.*::
1108        Any of the credential.* options above can be applied selectively to
1109        some credentials. For example "credential.https://example.com.username"
1110        would set the default username only for https connections to
1111        example.com. See linkgit:gitcredentials[7] for details on how URLs are
1112        matched.
1113
1114include::diff-config.txt[]
1115
1116difftool.<tool>.path::
1117        Override the path for the given tool.  This is useful in case
1118        your tool is not in the PATH.
1119
1120difftool.<tool>.cmd::
1121        Specify the command to invoke the specified diff tool.
1122        The specified command is evaluated in shell with the following
1123        variables available:  'LOCAL' is set to the name of the temporary
1124        file containing the contents of the diff pre-image and 'REMOTE'
1125        is set to the name of the temporary file containing the contents
1126        of the diff post-image.
1127
1128difftool.prompt::
1129        Prompt before each invocation of the diff tool.
1130
1131fetch.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 to
1134        unconditionally recurse into submodules when set to true or to not
1135        recurse at all when set to false. When set to 'on-demand' (the default
1136        value), fetch and pull will only recurse into a populated submodule
1137        when its superproject retrieves a commit that updates the submodule's
1138        reference.
1139
1140fetch.fsckObjects::
1141        If it is set to true, git-fetch-pack will check all fetched
1142        objects. It will abort in the case of a malformed object or a
1143        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.
1146
1147fetch.unpackLimit::
1148        If the number of objects fetched over the Git native
1149        transfer is below this
1150        limit, then the objects will be unpacked into loose object
1151        files. However if the number of received objects equals or
1152        exceeds this limit then the received pack will be stored as
1153        a pack, after adding any missing delta bases.  Storing the
1154        pack from a push can make the push operation complete faster,
1155        especially on slow filesystems.  If not set, the value of
1156        `transfer.unpackLimit` is used instead.
1157
1158fetch.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`.
1161
1162format.attach::
1163        Enable multipart/mixed attachments as the default for
1164        'format-patch'.  The value can also be a double quoted string
1165        which will enable attachments as the default and set the
1166        value as the boundary.  See the --attach option in
1167        linkgit:git-format-patch[1].
1168
1169format.numbered::
1170        A boolean which can enable or disable sequence numbers in patch
1171        subjects.  It defaults to "auto" which enables it only if there
1172        is more than one patch.  It can be enabled or disabled for all
1173        messages by setting it to "true" or "false".  See --numbered
1174        option in linkgit:git-format-patch[1].
1175
1176format.headers::
1177        Additional email headers to include in a patch to be submitted
1178        by mail.  See linkgit:git-format-patch[1].
1179
1180format.to::
1181format.cc::
1182        Additional recipients to include in a patch to be submitted
1183        by mail.  See the --to and --cc options in
1184        linkgit:git-format-patch[1].
1185
1186format.subjectPrefix::
1187        The default for format-patch is to output files with the '[PATCH]'
1188        subject prefix. Use this variable to change that prefix.
1189
1190format.signature::
1191        The default for format-patch is to output a signature containing
1192        the Git version number. Use this variable to change that default.
1193        Set this variable to the empty string ("") to suppress
1194        signature generation.
1195
1196format.signatureFile::
1197        Works just like format.signature except the contents of the
1198        file specified by this variable will be used as the signature.
1199
1200format.suffix::
1201        The default for format-patch is to output files with the suffix
1202        `.patch`. Use this variable to change that suffix (make sure to
1203        include the dot if you want it).
1204
1205format.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].
1209
1210format.thread::
1211        The default threading style for 'git format-patch'.  Can be
1212        a boolean value, or `shallow` or `deep`.  `shallow` threading
1213        makes every mail a reply to the head of the series,
1214        where the head is chosen from the cover letter, the
1215        `--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 false
1218        value disables threading.
1219
1220format.signOff::
1221        A boolean value which lets you enable the `-s/--signoff` option of
1222        format-patch by default. *Note:* Adding the Signed-off-by: line to a
1223        patch should be a conscious act and means that you certify you have
1224        the rights to submit this work under the same open source license.
1225        Please see the 'SubmittingPatches' document for further discussion.
1226
1227format.coverLetter::
1228        A boolean that controls whether to generate a cover-letter when
1229        format-patch is invoked, but in addition can be set to "auto", to
1230        generate a cover-letter only when there's more than one patch.
1231
1232filter.<driver>.clean::
1233        The command which is used to convert the content of a worktree
1234        file to a blob upon checkin.  See linkgit:gitattributes[5] for
1235        details.
1236
1237filter.<driver>.smudge::
1238        The command which is used to convert the content of a blob
1239        object to a worktree file upon checkout.  See
1240        linkgit:gitattributes[5] for details.
1241
1242gc.aggressiveDepth::
1243        The depth parameter used in the delta compression
1244        algorithm used by 'git gc --aggressive'.  This defaults
1245        to 250.
1246
1247gc.aggressiveWindow::
1248        The window size parameter used in the delta compression
1249        algorithm used by 'git gc --aggressive'.  This defaults
1250        to 250.
1251
1252gc.auto::
1253        When there are approximately more than this many loose
1254        objects in the repository, `git gc --auto` will pack them.
1255        Some Porcelain commands use this command to perform a
1256        light-weight garbage collection from time to time.  The
1257        default value is 6700.  Setting this to 0 disables it.
1258
1259gc.autoPackLimit::
1260        When there are more than this many packs that are not
1261        marked with `*.keep` file in the repository, `git gc
1262        --auto` consolidates them into one larger pack.  The
1263        default value is 50.  Setting this to 0 disables it.
1264
1265gc.autoDetach::
1266        Make `git gc --auto` return immediately and run in background
1267        if the system supports it. Default is true.
1268
1269gc.packRefs::
1270        Running `git pack-refs` in a repository renders it
1271        unclonable by Git versions prior to 1.5.1.2 over dumb
1272        transports such as HTTP.  This variable determines whether
1273        '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 a
1275        boolean value.  The default is `true`.
1276
1277gc.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 value
1280        "now" may be used to disable this  grace period and always prune
1281        unreachable objects immediately.
1282
1283gc.reflogExpire::
1284gc.<pattern>.reflogExpire::
1285        'git reflog expire' removes reflog entries older than
1286        this time; defaults to 90 days.  With "<pattern>" (e.g.
1287        "refs/stash") in the middle the setting applies only to
1288        the refs that match the <pattern>.
1289
1290gc.reflogExpireUnreachable::
1291gc.<ref>.reflogExpireUnreachable::
1292        'git reflog expire' removes reflog entries older than
1293        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 that
1296        match the <pattern>.
1297
1298gc.rerereResolved::
1299        Records of conflicted merge you resolved earlier are
1300        kept for this many days when 'git rerere gc' is run.
1301        The default is 60 days.  See linkgit:git-rerere[1].
1302
1303gc.rerereUnresolved::
1304        Records of conflicted merge you have not resolved are
1305        kept for this many days when 'git rerere gc' is run.
1306        The default is 15 days.  See linkgit:git-rerere[1].
1307
1308gitcvs.commitMsgAnnotation::
1309        Append this string to each commit message. Set to empty string
1310        to disable this feature. Defaults to "via git-CVS emulator".
1311
1312gitcvs.enabled::
1313        Whether the CVS server interface is enabled for this repository.
1314        See linkgit:git-cvsserver[1].
1315
1316gitcvs.logFile::
1317        Path to a log file where the CVS server interface well... logs
1318        various stuff. See linkgit:git-cvsserver[1].
1319
1320gitcvs.usecrlfattr::
1321        If true, the server will look up the end-of-line conversion
1322        attributes for files to determine the '-k' modes to use. If
1323        the attributes force Git to treat a file as text,
1324        the '-k' mode will be left blank so CVS clients will
1325        treat it as text. If they suppress text conversion, the file
1326        will be set with '-kb' mode, which suppresses any newline munging
1327        the client might otherwise do. If the attributes do not allow
1328        the file type to be determined, then 'gitcvs.allBinary' is
1329        used. See linkgit:gitattributes[5].
1330
1331gitcvs.allBinary::
1332        This is used if 'gitcvs.usecrlfattr' does not resolve
1333        the correct '-kb' mode to use. If true, all
1334        unresolved files are sent to the client in
1335        mode '-kb'. This causes the client to treat them
1336        as binary files, which suppresses any newline munging it
1337        otherwise might do. Alternatively, if it is set to "guess",
1338        then the contents of the file are examined to decide if
1339        it is binary, similar to 'core.autocrlf'.
1340
1341gitcvs.dbName::
1342        Database used by git-cvsserver to cache revision information
1343        derived from the Git repository. The exact meaning depends on the
1344        used database driver, for SQLite (which is the default driver) this
1345        is a filename. Supports variable substitution (see
1346        linkgit:git-cvsserver[1] for details). May not contain semicolons (`;`).
1347        Default: '%Ggitcvs.%m.sqlite'
1348
1349gitcvs.dbDriver::
1350        Used Perl DBI driver. You can specify any available driver
1351        for this here, but it might not work. git-cvsserver is tested
1352        with 'DBD::SQLite', reported to work with 'DBD::Pg', and
1353        reported *not* to work with 'DBD::mysql'. Experimental feature.
1354        May not contain double colons (`:`). Default: 'SQLite'.
1355        See linkgit:git-cvsserver[1].
1356
1357gitcvs.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 (see
1361        linkgit:git-cvsserver[1] for details).
1362
1363gitcvs.dbTableNamePrefix::
1364        Database table name prefix.  Prepended to the names of any
1365        database tables used, allowing a single database to be used
1366        for several repositories.  Supports variable substitution (see
1367        linkgit:git-cvsserver[1] for details).  Any non-alphabetic
1368        characters will be replaced with underscores.
1369
1370All gitcvs variables except for 'gitcvs.usecrlfattr' and
1371'gitcvs.allBinary' can also be specified as
1372'gitcvs.<access_method>.<varname>' (where 'access_method'
1373is one of "ext" and "pserver") to make them apply only for the given
1374access method.
1375
1376gitweb.category::
1377gitweb.description::
1378gitweb.owner::
1379gitweb.url::
1380        See linkgit:gitweb[1] for description.
1381
1382gitweb.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.
1392
1393grep.lineNumber::
1394        If set to true, enable '-n' option by default.
1395
1396grep.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 the
1400        value 'default' will return to the default matching behavior.
1401
1402grep.extendedRegexp::
1403        If set to true, enable '--extended-regexp' option by default. This
1404        option is ignored when the 'grep.patternType' option is set to a value
1405        other than 'default'.
1406
1407gpg.program::
1408        Use this custom program instead of "gpg" found on $PATH when
1409        making or verifying a PGP signature. The program must support the
1410        same command-line interface as GPG, namely, to verify a detached
1411        signature, "gpg --verify $file - <$signature" is run, and the
1412        program is expected to signal a good signature by exiting with
1413        code 0, and to generate an ASCII-armored detached signature, the
1414        standard input of "gpg -bsau $key" is fed with the contents to be
1415        signed, and the program is expected to send the result to its
1416        standard output.
1417
1418gui.commitMsgWidth::
1419        Defines how wide the commit message window is in the
1420        linkgit:git-gui[1]. "75" is the default.
1421
1422gui.diffContext::
1423        Specifies how many context lines should be used in calls to diff
1424        made by the linkgit:git-gui[1]. The default is "5".
1425
1426gui.displayUntracked::
1427        Determines if linkgit::git-gui[1] shows untracked files
1428        in the file list. The default is "true".
1429
1430gui.encoding::
1431        Specifies the default encoding to use for displaying of
1432        file contents in linkgit:git-gui[1] and linkgit:gitk[1].
1433        It can be overridden by setting the 'encoding' attribute
1434        for relevant files (see linkgit:gitattributes[5]).
1435        If this option is not set, the tools default to the
1436        locale encoding.
1437
1438gui.matchTrackingBranch::
1439        Determines if new branches created with linkgit:git-gui[1] should
1440        default to tracking remote branches with matching names or
1441        not. Default: "false".
1442
1443gui.newBranchTemplate::
1444        Is used as suggested name when creating new branches using the
1445        linkgit:git-gui[1].
1446
1447gui.pruneDuringFetch::
1448        "true" if linkgit:git-gui[1] should prune remote-tracking branches when
1449        performing a fetch. The default value is "false".
1450
1451gui.trustmtime::
1452        Determines if linkgit:git-gui[1] should trust the file modification
1453        timestamp or not. By default the timestamps are not trusted.
1454
1455gui.spellingDictionary::
1456        Specifies the dictionary used for spell checking commit messages in
1457        the linkgit:git-gui[1]. When set to "none" spell checking is turned
1458        off.
1459
1460gui.fastCopyBlame::
1461        If true, 'git gui blame' uses `-C` instead of `-C -C` for original
1462        location detection. It makes blame significantly faster on huge
1463        repositories at the expense of less thorough copy detection.
1464
1465gui.copyBlameThreshold::
1466        Specifies the threshold to use in 'git gui blame' original location
1467        detection, measured in alphanumeric characters. See the
1468        linkgit:git-blame[1] manual for more information on copy detection.
1469
1470gui.blamehistoryctx::
1471        Specifies the radius of history context in days to show in
1472        linkgit:gitk[1] for the selected commit, when the `Show History
1473        Context` menu item is invoked from 'git gui blame'. If this
1474        variable is set to zero, the whole history is shown.
1475
1476guitool.<name>.cmd::
1477        Specifies the shell command line to execute when the corresponding item
1478        of the linkgit:git-gui[1] `Tools` menu is invoked. This option is
1479        mandatory for every tool. The command is executed from the root of
1480        the working directory, and in the environment it receives the name of
1481        the tool as 'GIT_GUITOOL', the name of the currently selected file as
1482        'FILENAME', and the name of the current branch as 'CUR_BRANCH' (if
1483        the head is detached, 'CUR_BRANCH' is empty).
1484
1485guitool.<name>.needsFile::
1486        Run the tool only if a diff is selected in the GUI. It guarantees
1487        that 'FILENAME' is not empty.
1488
1489guitool.<name>.noConsole::
1490        Run the command silently, without creating a window to display its
1491        output.
1492
1493guitool.<name>.noRescan::
1494        Don't rescan the working directory for changes after the tool
1495        finishes execution.
1496
1497guitool.<name>.confirm::
1498        Show a confirmation dialog before actually running the tool.
1499
1500guitool.<name>.argPrompt::
1501        Request a string argument from the user, and pass it to the tool
1502        through the 'ARGS' environment variable. Since requesting an
1503        argument implies confirmation, the 'confirm' option has no effect
1504        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 exact
1506        value of the variable is used.
1507
1508guitool.<name>.revPrompt::
1509        Request a single valid revision from the user, and set the
1510        'REVISION' environment variable. In other aspects this option
1511        is similar to 'argPrompt', and can be used together with it.
1512
1513guitool.<name>.revUnmerged::
1514        Show only unmerged branches in the 'revPrompt' subdialog.
1515        This is useful for tools similar to merge or rebase, but not
1516        for things like checkout or reset.
1517
1518guitool.<name>.title::
1519        Specifies the title to use for the prompt dialog. The default
1520        is the tool name.
1521
1522guitool.<name>.prompt::
1523        Specifies the general prompt string to display at the top of
1524        the dialog, before subsections for 'argPrompt' and 'revPrompt'.
1525        The default value includes the actual command.
1526
1527help.browser::
1528        Specify the browser that will be used to display help in the
1529        'web' format. See linkgit:git-help[1].
1530
1531help.format::
1532        Override the default help format used by linkgit:git-help[1].
1533        Values 'man', 'info', 'web' and 'html' are supported. 'man' is
1534        the default. 'web' and 'html' are the same.
1535
1536help.autoCorrect::
1537        Automatically correct and execute mistyped commands after
1538        waiting for the given number of deciseconds (0.1 sec). If more
1539        than one command can be deduced from the entered text, nothing
1540        will be executed.  If the value of this option is negative,
1541        the corrected command will be executed immediately. If the
1542        value is 0 - the command will be just shown but not executed.
1543        This is the default.
1544
1545help.htmlPath::
1546        Specify the path where the HTML documentation resides. File system paths
1547        and URLs are supported. HTML pages will be prefixed with this path when
1548        help is displayed in the 'web' format. This defaults to the documentation
1549        path of your Git installation.
1550
1551http.proxy::
1552        Override the HTTP proxy, normally configured using the 'http_proxy',
1553        'https_proxy', and 'all_proxy' environment variables (see
1554        `curl(1)`).  This can be overridden on a per-remote basis; see
1555        remote.<name>.proxy
1556
1557http.cookieFile::
1558        File containing previously stored cookie lines which should be used
1559        in the Git http session, if they match the server. The file format
1560        of the file to read cookies from should be plain HTTP headers or
1561        the Netscape/Mozilla cookie file format (see linkgit:curl[1]).
1562        NOTE that the file specified with http.cookieFile is only used as
1563        input unless http.saveCookies is set.
1564
1565http.saveCookies::
1566        If set, store cookies received during requests to the file specified by
1567        http.cookieFile. Has no effect if http.cookieFile is unset.
1568
1569http.sslVerify::
1570        Whether to verify the SSL certificate when fetching or pushing
1571        over HTTPS. Can be overridden by the 'GIT_SSL_NO_VERIFY' environment
1572        variable.
1573
1574http.sslCert::
1575        File containing the SSL certificate when fetching or pushing
1576        over HTTPS. Can be overridden by the 'GIT_SSL_CERT' environment
1577        variable.
1578
1579http.sslKey::
1580        File containing the SSL private key when fetching or pushing
1581        over HTTPS. Can be overridden by the 'GIT_SSL_KEY' environment
1582        variable.
1583
1584http.sslCertPasswordProtected::
1585        Enable Git's password prompt for the SSL certificate.  Otherwise
1586        OpenSSL will prompt the user, possibly many times, if the
1587        certificate or private key is encrypted.  Can be overridden by the
1588        'GIT_SSL_CERT_PASSWORD_PROTECTED' environment variable.
1589
1590http.sslCAInfo::
1591        File containing the certificates to verify the peer with when
1592        fetching or pushing over HTTPS. Can be overridden by the
1593        'GIT_SSL_CAINFO' environment variable.
1594
1595http.sslCAPath::
1596        Path containing files with the CA certificates to verify the peer
1597        with when fetching or pushing over HTTPS. Can be overridden
1598        by the 'GIT_SSL_CAPATH' environment variable.
1599
1600http.sslTry::
1601        Attempt to use AUTH SSL/TLS and encrypted data transfers
1602        when connecting via regular FTP protocol. This might be needed
1603        if the FTP server requires it for security reasons or you wish
1604        to connect securely whenever remote FTP server supports it.
1605        Default is false since it might trigger certificate verification
1606        errors on misconfigured servers.
1607
1608http.maxRequests::
1609        How many HTTP requests to launch in parallel. Can be overridden
1610        by the 'GIT_HTTP_MAX_REQUESTS' environment variable. Default is 5.
1611
1612http.minSessions::
1613        The number of curl sessions (counted across slots) to be kept across
1614        requests. They will not be ended with curl_easy_cleanup() until
1615        http_cleanup() is invoked. If USE_CURL_MULTI is not defined, this
1616        value will be capped at 1. Defaults to 1.
1617
1618http.postBuffer::
1619        Maximum size in bytes of the buffer used by smart HTTP
1620        transports when POSTing data to the remote system.
1621        For requests larger than this buffer size, HTTP/1.1 and
1622        Transfer-Encoding: chunked is used to avoid creating a
1623        massive pack file locally.  Default is 1 MiB, which is
1624        sufficient for most requests.
1625
1626http.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' and
1630        'GIT_HTTP_LOW_SPEED_TIME' environment variables.
1631
1632http.noEPSV::
1633        A boolean which disables using of EPSV ftp command by curl.
1634        This can helpful with some "poor" ftp servers which don't
1635        support EPSV mode. Can be overridden by the 'GIT_CURL_FTP_NO_EPSV'
1636        environment variable. Default is false (curl will use EPSV).
1637
1638http.userAgent::
1639        The HTTP USER_AGENT string presented to an HTTP server.  The default
1640        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 value
1642        such as Mozilla/4.0.  This may be necessary, for instance, if
1643        connecting through a firewall that restricts HTTP connections to a set
1644        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.
1646
1647http.<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 is
1650        compared to that of the URL, in the following order:
1651+
1652--
1653. Scheme (e.g., `https` in `https://example.com/`). This field
1654  must match exactly between the config key and the URL.
1655
1656. Host/domain name (e.g., `example.com` in `https://example.com/`).
1657  This field must match exactly between the config key and the URL.
1658
1659. 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 correct
1662  default for the scheme before matching.
1663
1664. Path (e.g., `repo.git` in `https://example.com/repo.git`). The
1665  path field of the config key must match the path field of the URL
1666  either exactly or as a prefix of slash-delimited path elements.  This means
1667  a config key with path `foo/` matches URL path `foo/bar`.  A prefix can only
1668  match on a slash (`/`) boundary.  Longer matches take precedence (so a config
1669  key with path `foo/bar` is a better match to URL path `foo/bar` than a config
1670  key with just path `foo/`).
1671
1672. User name (e.g., `user` in `https://user@example.com/repo.git`). If
1673  the config key has a user name it must match the user name in the
1674  URL exactly. If the config key does not have a user name, that
1675  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 matches
1680a 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 of
1682`https://example.com/foo` will be preferred over a config key match of
1683`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 that
1687equivalent URLs that are simply spelled differently will match properly.
1688Environment variable settings always override any matches.  The URLs that are
1689matched against are those given directly to Git commands.  This means any URLs
1690visited as a result of a redirection do not participate in matching.
1691
1692i18n.commitEncoding::
1693        Character encoding the commit messages are stored in; Git itself
1694        does not care per se, but this information is necessary e.g. when
1695        importing commits from emails or in the gitk graphical history
1696        browser (and possibly at other places in the future or in other
1697        porcelains). See e.g. linkgit:git-mailinfo[1]. Defaults to 'utf-8'.
1698
1699i18n.logOutputEncoding::
1700        Character encoding the commit messages are converted to when
1701        running 'git log' and friends.
1702
1703imap::
1704        The configuration variables in the 'imap' section are described
1705        in linkgit:git-imap-send[1].
1706
1707index.version::
1708        Specify the version with which new index files should be
1709        initialized.  This does not affect existing repositories.
1710
1711init.templateDir::
1712        Specify the directory from which templates will be copied.
1713        (See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].)
1714
1715instaweb.browser::
1716        Specify the program that will be used to browse your working
1717        repository in gitweb. See linkgit:git-instaweb[1].
1718
1719instaweb.httpd::
1720        The HTTP daemon command-line to start gitweb on your working
1721        repository. See linkgit:git-instaweb[1].
1722
1723instaweb.local::
1724        If true the web server started by linkgit:git-instaweb[1] will
1725        be bound to the local IP (127.0.0.1).
1726
1727instaweb.modulePath::
1728        The default module path for linkgit:git-instaweb[1] to use
1729        instead of /usr/lib/apache2/modules.  Only used if httpd
1730        is Apache.
1731
1732instaweb.port::
1733        The port number to bind the gitweb httpd to. See
1734        linkgit:git-instaweb[1].
1735
1736interactive.singleKey::
1737        In interactive commands, allow the user to provide one-letter
1738        input with a single key (i.e., without hitting enter).
1739        Currently this is used by the `--patch` mode of
1740        linkgit:git-add[1], linkgit:git-checkout[1], linkgit:git-commit[1],
1741        linkgit:git-reset[1], and linkgit:git-stash[1]. Note that this
1742        setting is silently ignored if portable keystroke input
1743        is not available; requires the Perl module Term::ReadKey.
1744
1745log.abbrevCommit::
1746        If true, makes linkgit:git-log[1], linkgit:git-show[1], and
1747        linkgit:git-whatchanged[1] assume `--abbrev-commit`. You may
1748        override this option with `--no-abbrev-commit`.
1749
1750log.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''s
1753        `--date` option.  Possible values are `relative`, `local`,
1754        `default`, `iso`, `rfc`, and `short`; see linkgit:git-log[1]
1755        for details.
1756
1757log.decorate::
1758        Print out the ref names of any commits that are shown by the log
1759        command. If 'short' is specified, the ref name prefixes 'refs/heads/',
1760        'refs/tags/' and 'refs/remotes/' will not be printed. If 'full' is
1761        specified, the full ref name (including prefix) will be printed.
1762        This is the same as the log commands '--decorate' option.
1763
1764log.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], which
1768        normally hide the root commit will now show it. True by default.
1769
1770log.mailmap::
1771        If true, makes linkgit:git-log[1], linkgit:git-show[1], and
1772        linkgit:git-whatchanged[1] assume `--use-mailmap`.
1773
1774mailinfo.scissors::
1775        If true, makes linkgit:git-mailinfo[1] (and therefore
1776        linkgit:git-am[1]) act by default as if the --scissors option
1777        was provided on the command-line. When active, this features
1778        removes everything from the message body before a scissors
1779        line (i.e. consisting mainly of ">8", "8<" and "-").
1780
1781mailmap.file::
1782        The location of an augmenting mailmap file. The default
1783        mailmap, located in the root of the repository, is loaded
1784        first, then the mailmap file pointed to by this variable.
1785        The location of the mailmap file may be in a repository
1786        subdirectory, or somewhere outside of the repository itself.
1787        See linkgit:git-shortlog[1] and linkgit:git-blame[1].
1788
1789mailmap.blob::
1790        Like `mailmap.file`, but consider the value as a reference to a
1791        blob in the repository. If both `mailmap.file` and
1792        `mailmap.blob` are given, both are parsed, with entries from
1793        `mailmap.file` taking precedence. In a bare repository, this
1794        defaults to `HEAD:.mailmap`. In a non-bare repository, it
1795        defaults to empty.
1796
1797man.viewer::
1798        Specify the programs that may be used to display help in the
1799        'man' format. See linkgit:git-help[1].
1800
1801man.<tool>.cmd::
1802        Specify the command to invoke the specified man viewer. The
1803        specified command is evaluated in shell with the man page
1804        passed as argument. (See linkgit:git-help[1].)
1805
1806man.<tool>.path::
1807        Override the path for the given tool that may be used to
1808        display help in the 'man' format. See linkgit:git-help[1].
1809
1810include::merge-config.txt[]
1811
1812mergetool.<tool>.path::
1813        Override the path for the given tool.  This is useful in case
1814        your tool is not in the PATH.
1815
1816mergetool.<tool>.cmd::
1817        Specify the command to invoke the specified merge tool.  The
1818        specified command is evaluated in shell with the following
1819        variables available: 'BASE' is the name of a temporary file
1820        containing the common base of the files to be merged, if available;
1821        'LOCAL' is the name of a temporary file containing the contents of
1822        the file on the current branch; 'REMOTE' is the name of a temporary
1823        file containing the contents of the file from the branch being
1824        merged; 'MERGED' contains the name of the file to which the merge
1825        tool should write the results of a successful merge.
1826
1827mergetool.<tool>.trustExitCode::
1828        For a custom merge command, specify whether the exit code of
1829        the merge command can be used to determine whether the merge was
1830        successful.  If this is not set to true then the merge target file
1831        timestamp is checked and the merge assumed to have been successful
1832        if the file has been updated, otherwise the user is prompted to
1833        indicate the success of the merge.
1834
1835mergetool.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`.  Configuring
1839        `mergetool.meld.hasOutput` will make Git skip these checks and
1840        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`.
1843
1844mergetool.keepBackup::
1845        After performing a merge, the original file with conflict markers
1846        can be saved as a file with a `.orig` extension.  If this variable
1847        is set to `false` then this file is not preserved.  Defaults to
1848        `true` (i.e. keep the backup files).
1849
1850mergetool.keepTemporaries::
1851        When invoking a custom merge tool, Git uses a set of temporary
1852        files to pass to the tool. If the tool returns an error and this
1853        variable is set to `true`, then these temporary files will be
1854        preserved, otherwise they will be removed after the tool has
1855        exited. Defaults to `false`.
1856
1857mergetool.writeToTemp::
1858        Git writes temporary 'BASE', 'LOCAL', and 'REMOTE' versions of
1859        conflicting files in the worktree by default.  Git will attempt
1860        to use a temporary directory for these files when set `true`.
1861        Defaults to `false`.
1862
1863mergetool.prompt::
1864        Prompt before each invocation of the merge resolution program.
1865
1866notes.displayRef::
1867        The (fully qualified) refname from which to show notes when
1868        showing commit messages.  The value of this variable can be set
1869        to a glob, in which case notes from all matching refs will be
1870        shown.  You may also specify this configuration variable
1871        several times.  A warning will be issued for refs that do not
1872        exist, but a glob that does not match any refs is silently
1873        ignored.
1874+
1875This setting can be overridden with the `GIT_NOTES_DISPLAY_REF`
1876environment variable, which must be a colon separated list of refs or
1877globs.
1878+
1879The effective value of "core.notesRef" (possibly overridden by
1880GIT_NOTES_REF) is also implicitly added to the list of refs to be
1881displayed.
1882
1883notes.rewrite.<command>::
1884        When rewriting commits with <command> (currently `amend` or
1885        `rebase`) and this variable is set to `true`, Git
1886        automatically copies your notes from the original to the
1887        rewritten commit.  Defaults to `true`, but see
1888        "notes.rewriteRef" below.
1889
1890notes.rewriteMode::
1891        When copying notes during a rewrite (see the
1892        "notes.rewrite.<command>" option), determines what to do if
1893        the target commit already has a note.  Must be one of
1894        `overwrite`, `concatenate`, or `ignore`.  Defaults to
1895        `concatenate`.
1896+
1897This setting can be overridden with the `GIT_NOTES_REWRITE_MODE`
1898environment variable.
1899
1900notes.rewriteRef::
1901        When copying notes during a rewrite, specifies the (fully
1902        qualified) ref whose notes should be copied.  The ref may be a
1903        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 to
1907enable note rewriting.  Set it to `refs/notes/commits` to enable
1908rewriting 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 or
1912globs.
1913
1914pack.window::
1915        The size of the window used by linkgit:git-pack-objects[1] when no
1916        window size is given on the command line. Defaults to 10.
1917
1918pack.depth::
1919        The maximum delta depth used by linkgit:git-pack-objects[1] when no
1920        maximum depth is given on the command line. Defaults to 50.
1921
1922pack.windowMemory::
1923        The maximum size of memory that is consumed by each thread
1924        in linkgit:git-pack-objects[1] for pack window memory when
1925        no limit is given on the command line.  The value can be
1926        suffixed with "k", "m", or "g".  When left unconfigured (or
1927        set explicitly to 0), there will be no limit.
1928
1929pack.compression::
1930        An integer -1..9, indicating the compression level for objects
1931        in a pack file. -1 is the zlib default. 0 means no
1932        compression, and 1..9 are various speed/size tradeoffs, 9 being
1933        slowest.  If not set,  defaults to core.compression.  If that is
1934        not set,  defaults to -1, the zlib default, which is "a default
1935        compromise between speed and compression (currently equivalent
1936        to level 6)."
1937+
1938Note that changing the compression level will not automatically recompress
1939all existing objects. You can force recompression by passing the -F option
1940to linkgit:git-repack[1].
1941
1942pack.deltaCacheSize::
1943        The maximum memory in bytes used for caching deltas in
1944        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 not
1946        having to recompute the final delta result once the best match
1947        for all objects is found.  Repacking large repositories on machines
1948        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 be
1951        used to virtually disable this cache. Defaults to 256 MiB.
1952
1953pack.deltaCacheLimit::
1954        The maximum size of a delta, that is cached in
1955        linkgit:git-pack-objects[1]. This cache is used to speed up the
1956        writing object phase by not having to recompute the final delta
1957        result once the best match for all objects is found. Defaults to 1000.
1958
1959pack.threads::
1960        Specifies the number of threads to spawn when searching for best
1961        delta matches.  This requires that linkgit:git-pack-objects[1]
1962        be compiled with pthreads otherwise this option is ignored with a
1963        warning. This is meant to reduce packing time on multiprocessor
1964        machines. The required amount of memory for the delta search window
1965        is however multiplied by the number of threads.
1966        Specifying 0 will cause Git to auto-detect the number of CPU's
1967        and set the number of threads accordingly.
1968
1969pack.indexVersion::
1970        Specify the default pack index version.  Valid values are 1 for
1971        legacy pack index used by Git versions prior to 1.5.2, and 2 for
1972        the new pack index with capabilities for packs larger than 4 GB
1973        as well as proper protection against the repacking of corrupted
1974        packs.  Version 2 is the default.  Note that version 2 is enforced
1975        and this config option ignored whenever the corresponding pack is
1976        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 the
1981other side may give you a repository that cannot be accessed with your
1982older 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 regenerate
1984the `*.idx` file.
1985
1986pack.packSizeLimit::
1987        The maximum size of a pack.  This setting only affects
1988        packing to a file when repacking, i.e. the git:// protocol
1989        is unaffected.  It can be overridden by the `--max-pack-size`
1990        option of linkgit:git-repack[1]. The minimum size allowed is
1991        limited to 1 MiB. The default is unlimited.
1992        Common unit suffixes of 'k', 'm', or 'g' are
1993        supported.
1994
1995pack.useBitmaps::
1996        When true, git will use pack bitmaps (if available) when packing
1997        to stdout (e.g., during the server side of a fetch). Defaults to
1998        true. You should not generally need to turn this off unless
1999        you are debugging pack bitmaps.
2000
2001pack.writeBitmaps (deprecated)::
2002        This is a deprecated synonym for `repack.writeBitmaps`.
2003
2004pack.writeBitmapHashCache::
2005        When true, git will include a "hash cache" section in the bitmap
2006        index (if one is written). This cache can be used to feed git's
2007        delta heuristics, potentially leading to better deltas between
2008        bitmapped and non-bitmapped objects (e.g., when serving a fetch
2009        between an older, bitmapped pack and objects that have been
2010        pushed since the last gc). The downside is that it consumes 4
2011        bytes per object of disk space, and that JGit's bitmap
2012        implementation does not understand it, causing it to complain if
2013        Git and JGit are used on the same repository. Defaults to false.
2014
2015pager.<cmd>::
2016        If the value is boolean, turns on or off pagination of the
2017        output of a particular Git subcommand when writing to a tty.
2018        Otherwise, turns on pagination for the subcommand using the
2019        pager specified by the value of `pager.<cmd>`.  If `--paginate`
2020        or `--no-pager` is specified on the command line, it takes
2021        precedence over this option.  To disable pagination for all
2022        commands, set `core.pager` or `GIT_PAGER` to `cat`.
2023
2024pretty.<name>::
2025        Alias for a --pretty= format string, as specified in
2026        linkgit:git-log[1]. Any aliases defined here can be used just
2027        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 format
2032        will be silently ignored.
2033
2034pull.ff::
2035        By default, Git does not create an extra merge commit when merging
2036        a commit that is a descendant of the current commit. Instead, the
2037        tip of the current branch is fast-forwarded. When set to `false`,
2038        this variable tells Git to create an extra merge commit in such
2039        a case (equivalent to giving the `--no-ff` option from the command
2040        line). When set to `only`, only such fast-forward merges are
2041        allowed (equivalent to giving the `--ff-only` option from the
2042        command line). This setting overrides `merge.ff` when pulling.
2043
2044pull.rebase::
2045        When true, rebase branches on top of the fetched branch, instead
2046        of merging the default branch from the default remote when "git
2047        pull" is run. See "branch.<name>.rebase" for setting this on a
2048        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 flattened
2052        by running 'git pull'.
2053+
2054*NOTE*: this is a possibly dangerous operation; do *not* use
2055it unless you understand the implications (see linkgit:git-rebase[1]
2056for details).
2057
2058pull.octopus::
2059        The default merge strategy to use when pulling multiple branches
2060        at once.
2061
2062pull.twohead::
2063        The default merge strategy to use when pulling a single branch.
2064
2065push.default::
2066        Defines the action `git push` should take if no refspec is
2067        explicitly given.  Different values are well-suited for
2068        specific workflows; for instance, in a purely central workflow
2069        (i.e. the fetch source is equal to the push destination),
2070        `upstream` is probably what you want.  Possible values are:
2071+
2072--
2073
2074* `nothing` - do not push anything (error out) unless a refspec is
2075  explicitly given. This is primarily meant for people who want to
2076  avoid mistakes by always being explicit.
2077
2078* `current` - push the current branch to update a branch with the same
2079  name on the receiving end.  Works in both central and non-central
2080  workflows.
2081
2082* `upstream` - push the current branch back to the branch whose
2083  changes are usually integrated into the current branch (which is
2084  called `@{upstream}`).  This mode only makes sense if you are
2085  pushing to the same repository you would normally pull from
2086  (i.e. central workflow).
2087
2088* `simple` - in centralized workflow, work like `upstream` with an
2089  added safety to refuse to push if the upstream branch's name is
2090  different from the local one.
2091+
2092When pushing to a remote that is different from the remote you normally
2093pull from, work as `current`.  This is the safest option and is suited
2094for beginners.
2095+
2096This mode has become the default in Git 2.0.
2097
2098* `matching` - push all branches having the same name on both ends.
2099  This makes the repository you are pushing to remember the set of
2100  branches that will be pushed out (e.g. if you always push 'maint'
2101  and 'master' there and no other branches, the repository you push
2102  to will have these two branches, and your local 'maint' and
2103  'master' will be pushed there).
2104+
2105To use this mode effectively, you have to make sure _all_ the
2106branches you would push out are ready to be pushed out before
2107running 'git push', as the whole point of this mode is to allow you
2108to push all of the branches in one go.  If you usually finish work
2109on only one branch and push out the result, while other branches are
2110unfinished, this mode is not for you.  Also this mode is not
2111suitable for pushing into a shared central repository, as other
2112people may add new branches there, or update the tip of existing
2113branches outside your control.
2114+
2115This used to be the default, but not since Git 2.0 (`simple` is the
2116new default).
2117
2118--
2119
2120push.followTags::
2121        If set to true enable '--follow-tags' option by default.  You
2122        may override this configuration at time of push by specifying
2123        '--no-follow-tags'.
2124
2125
2126rebase.stat::
2127        Whether to show a diffstat of what changed upstream since the last
2128        rebase. False by default.
2129
2130rebase.autoSquash::
2131        If set to true enable '--autosquash' option by default.
2132
2133rebase.autoStash::
2134        When set to true, automatically create a temporary stash
2135        before the operation begins, and apply it after the operation
2136        ends.  This means that you can run rebase on a dirty worktree.
2137        However, use with care: the final stash application after a
2138        successful rebase might result in non-trivial conflicts.
2139        Defaults to false.
2140
2141receive.advertiseAtomic::
2142        By default, git-receive-pack will advertise the atomic push
2143        capability to its clients. If you don't want to this capability
2144        to be advertised, set this variable to false.
2145
2146receive.autogc::
2147        By default, git-receive-pack will run "git-gc --auto" after
2148        receiving data from git-push and updating refs.  You can stop
2149        it by setting this variable to false.
2150
2151receive.certNonceSeed::
2152        By setting this variable to a string, `git receive-pack`
2153        will accept a `git push --signed` and verifies it by using
2154        a "nonce" protected by HMAC using this string as a secret
2155        key.
2156
2157receive.certNonceSlop::
2158        When a `git push --signed` sent a push certificate with a
2159        "nonce" that was issued by a receive-pack serving the same
2160        repository within this many seconds, export the "nonce"
2161        found in the certificate to `GIT_PUSH_CERT_NONCE` to the
2162        hooks (instead of what the receive-pack asked the sending
2163        side to include).  This may allow writing checks in
2164        `pre-receive` and `post-receive` a bit easier.  Instead of
2165        checking `GIT_PUSH_CERT_NONCE_SLOP` environment variable
2166        that records by how many seconds the nonce is stale to
2167        decide if they want to accept the certificate, they only
2168        can check `GIT_PUSH_CERT_NONCE_STATUS` is `OK`.
2169
2170receive.fsckObjects::
2171        If it is set to true, git-receive-pack will check all received
2172        objects. It will abort in the case of a malformed object or a
2173        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.
2176
2177receive.unpackLimit::
2178        If the number of objects received in a push is below this
2179        limit then the objects will be unpacked into loose object
2180        files. However if the number of received objects equals or
2181        exceeds this limit then the received pack will be stored as
2182        a pack, after adding any missing delta bases.  Storing the
2183        pack from a push can make the push operation complete faster,
2184        especially on slow filesystems.  If not set, the value of
2185        `transfer.unpackLimit` is used instead.
2186
2187receive.denyDeletes::
2188        If set to true, git-receive-pack will deny a ref update that deletes
2189        the ref. Use this to prevent such a ref deletion via a push.
2190
2191receive.denyDeleteCurrent::
2192        If set to true, git-receive-pack will deny a ref update that
2193        deletes the currently checked out branch of a non-bare repository.
2194
2195receive.denyCurrentBranch::
2196        If set to true or "refuse", git-receive-pack will deny a ref update
2197        to the currently checked out branch of a non-bare repository.
2198        Such a push is potentially dangerous because it brings the HEAD
2199        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 to
2201        proceed. If set to false or "ignore", allow such pushes with no
2202        message. Defaults to "refuse".
2203+
2204Another option is "updateInstead" which will update the working
2205tree if pushing into the current branch.  This option is
2206intended for synchronizing working directories when one side is not easily
2207accessible via interactive ssh (e.g. a live web site, hence the requirement
2208that the working directory be clean). This mode also comes in handy when
2209developing inside a VM to test and fix code on different Operating Systems.
2210+
2211By default, "updateInstead" will refuse the push if the working tree or
2212the index have any difference from the HEAD, but the `push-to-checkout`
2213hook can be used to customize this.  See linkgit:githooks[5].
2214
2215receive.denyNonFastForwards::
2216        If set to true, git-receive-pack will deny a ref update which is
2217        not a fast-forward. Use this to prevent such an update via a push,
2218        even if that push is forced. This configuration variable is
2219        set when initializing a shared repository.
2220
2221receive.hideRefs::
2222        String(s) `receive-pack` uses to decide which refs to omit
2223        from its initial advertisement.  Use more than one
2224        definitions to specify multiple prefix strings. A ref that
2225        are under the hierarchies listed on the value of this
2226        variable is excluded, and is hidden when responding to `git
2227        push`, and an attempt to update or delete a hidden ref by
2228        `git push` is rejected.
2229
2230receive.updateServerInfo::
2231        If set to true, git-receive-pack will run git-update-server-info
2232        after receiving data from git-push and updating refs.
2233
2234receive.shallowUpdate::
2235        If set to true, .git/shallow can be updated when new refs
2236        require new shallow roots. Otherwise those refs are rejected.
2237
2238remote.pushDefault::
2239        The remote to push to by default.  Overrides
2240        `branch.<name>.remote` for all branches, and is overridden by
2241        `branch.<name>.pushRemote` for specific branches.
2242
2243remote.<name>.url::
2244        The URL of a remote repository.  See linkgit:git-fetch[1] or
2245        linkgit:git-push[1].
2246
2247remote.<name>.pushurl::
2248        The push URL of a remote repository.  See linkgit:git-push[1].
2249
2250remote.<name>.proxy::
2251        For remotes that require curl (http, https and ftp), the URL to
2252        the proxy to use for that remote.  Set to the empty string to
2253        disable proxying for that remote.
2254
2255remote.<name>.fetch::
2256        The default set of "refspec" for linkgit:git-fetch[1]. See
2257        linkgit:git-fetch[1].
2258
2259remote.<name>.push::
2260        The default set of "refspec" for linkgit:git-push[1]. See
2261        linkgit:git-push[1].
2262
2263remote.<name>.mirror::
2264        If true, pushing to this remote will automatically behave
2265        as if the `--mirror` option was given on the command line.
2266
2267remote.<name>.skipDefaultUpdate::
2268        If true, this remote will be skipped by default when updating
2269        using linkgit:git-fetch[1] or the `update` subcommand of
2270        linkgit:git-remote[1].
2271
2272remote.<name>.skipFetchAll::
2273        If true, this remote will be skipped by default when updating
2274        using linkgit:git-fetch[1] or the `update` subcommand of
2275        linkgit:git-remote[1].
2276
2277remote.<name>.receivepack::
2278        The default program to execute on the remote side when pushing.  See
2279        option --receive-pack of linkgit:git-push[1].
2280
2281remote.<name>.uploadpack::
2282        The default program to execute on the remote side when fetching.  See
2283        option --upload-pack of linkgit:git-fetch-pack[1].
2284
2285remote.<name>.tagOpt::
2286        Setting this value to --no-tags disables automatic tag following when
2287        fetching from remote <name>. Setting it to --tags will fetch every
2288        tag from remote <name>, even if they are not reachable from remote
2289        branch heads. Passing these flags directly to linkgit:git-fetch[1] can
2290        override this setting. See options --tags and --no-tags of
2291        linkgit:git-fetch[1].
2292
2293remote.<name>.vcs::
2294        Setting this to a value <vcs> will cause Git to interact with
2295        the remote with the git-remote-<vcs> helper.
2296
2297remote.<name>.prune::
2298        When set to true, fetching from this remote by default will also
2299        remove any remote-tracking references that no longer exist on the
2300        remote (as if the `--prune` option was given on the command line).
2301        Overrides `fetch.prune` settings, if any.
2302
2303remotes.<group>::
2304        The list of remotes which are fetched by "git remote update
2305        <group>".  See linkgit:git-remote[1].
2306
2307repack.useDeltaBaseOffset::
2308        By default, linkgit:git-repack[1] creates packs that use
2309        delta-base offset. If you need to share your repository with
2310        Git older than version 1.4.4, either directly or via a dumb
2311        protocol such as http, then you need to set this option to
2312        "false" and repack. Access from old Git versions over the
2313        native protocol are unaffected by this option.
2314
2315repack.packKeptObjects::
2316        If set to true, makes `git repack` act as if
2317        `--pack-kept-objects` was passed. See linkgit:git-repack[1] for
2318        details. Defaults to `false` normally, but `true` if a bitmap
2319        index is being written (either via `--write-bitmap-index` or
2320        `repack.writeBitmaps`).
2321
2322repack.writeBitmaps::
2323        When true, git will write a bitmap index when packing all
2324        objects to disk (e.g., when `git repack -a` is run).  This
2325        index can speed up the "counting objects" phase of subsequent
2326        packs created for clones and fetches, at the cost of some disk
2327        space and extra time spent on the initial repack.  Defaults to
2328        false.
2329
2330rerere.autoUpdate::
2331        When set to true, `git-rerere` updates the index with the
2332        resulting contents after it cleanly resolves conflicts using
2333        previously recorded resolution.  Defaults to false.
2334
2335rerere.enabled::
2336        Activate recording of resolved conflicts, so that identical
2337        conflict hunks can be resolved automatically, should they be
2338        encountered again.  By default, linkgit:git-rerere[1] is
2339        enabled if there is an `rr-cache` directory under the
2340        `$GIT_DIR`, e.g. if "rerere" was previously used in the
2341        repository.
2342
2343sendemail.identity::
2344        A configuration identity. When given, causes values in the
2345        'sendemail.<identity>' subsection to take precedence over
2346        values in the 'sendemail' section. The default identity is
2347        the value of 'sendemail.identity'.
2348
2349sendemail.smtpEncryption::
2350        See linkgit:git-send-email[1] for description.  Note that this
2351        setting is not subject to the 'identity' mechanism.
2352
2353sendemail.smtpssl (deprecated)::
2354        Deprecated alias for 'sendemail.smtpEncryption = ssl'.
2355
2356sendemail.smtpsslcertpath::
2357        Path to ca-certificates (either a directory or a single file).
2358        Set it to an empty string to disable certificate verification.
2359
2360sendemail.<identity>.*::
2361        Identity-specific versions of the 'sendemail.*' parameters
2362        found below, taking precedence over those when the this
2363        identity is selected, through command-line or
2364        'sendemail.identity'.
2365
2366sendemail.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.
2392
2393sendemail.signedoffcc (deprecated)::
2394        Deprecated alias for 'sendemail.signedoffbycc'.
2395
2396showbranch.default::
2397        The default set of branches for linkgit:git-show-branch[1].
2398        See linkgit:git-show-branch[1].
2399
2400status.relativePaths::
2401        By default, linkgit:git-status[1] shows paths relative to the
2402        current directory. Setting this variable to `false` shows paths
2403        relative to the repository root (this was the default for Git
2404        prior to v1.5.4).
2405
2406status.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.
2409
2410status.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.
2413
2414status.displayCommentPrefix::
2415        If set to true, linkgit:git-status[1] will insert a comment
2416        prefix before each output line (starting with
2417        `core.commentChar`, i.e. `#` by default). This was the
2418        behavior of linkgit:git-status[1] in Git 1.8.4 and previous.
2419        Defaults to false.
2420
2421status.showUntrackedFiles::
2422        By default, linkgit:git-status[1] and linkgit:git-commit[1] show
2423        files which are not currently tracked by Git. Directories which
2424        contain only untracked files, are shown with the directory name
2425        only. Showing untracked files means that Git needs to lstat() all
2426        the files in the whole repository, which might be slow on some
2427        systems. So, this variable controls how the commands displays
2428        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 option
2438of linkgit:git-status[1] and linkgit:git-commit[1].
2439
2440status.submoduleSummary::
2441        Defaults to false.
2442        If this is set to a non zero number or true (identical to -1 or an
2443        unlimited number), the submodule summary will be enabled and a
2444        summary of commits for modified submodules will be shown (see
2445        --summary-limit option of linkgit:git-submodule[1]). Please note
2446        that the summary output command will be suppressed for all
2447        submodules when `diff.ignoreSubmodules` is set to 'all' or only
2448        for those submodules where `submodule.<name>.ignore=all`. The only
2449        exception to that rule is that status and commit will show staged
2450        submodule changes. To
2451        also view the summary for ignored submodules you can either use
2452        the --ignore-submodules=dirty command-line option or the 'git
2453        submodule summary' command, which shows a similar output but does
2454        not honor these settings.
2455
2456submodule.<name>.path::
2457submodule.<name>.url::
2458        The path within this project and URL for a submodule. These
2459        variables are initially populated by 'git submodule init'. See
2460        linkgit:git-submodule[1] and linkgit:gitmodules[5] for
2461        details.
2462
2463submodule.<name>.update::
2464        The default update procedure for a submodule. This variable
2465        is populated by `git submodule init` from the
2466        linkgit:gitmodules[5] file. See description of 'update'
2467        command in linkgit:git-submodule[1].
2468
2469submodule.<name>.branch::
2470        The remote branch name for a submodule, used by `git submodule
2471        update --remote`.  Set this option to override the value found in
2472        the `.gitmodules` file.  See linkgit:git-submodule[1] and
2473        linkgit:gitmodules[5] for details.
2474
2475submodule.<name>.fetchRecurseSubmodules::
2476        This option can be used to control recursive fetching of this
2477        submodule. It can be overridden by using the --[no-]recurse-submodules
2478        command-line option to "git fetch" and "git pull".
2479        This setting will override that from in the linkgit:gitmodules[5]
2480        file.
2481
2482submodule.<name>.ignore::
2483        Defines under what circumstances "git status" and the diff family show
2484        a submodule as modified. When set to "all", it will never be considered
2485        modified (but it will nonetheless show up in the output of status and
2486        commit when it has been staged), "dirty" will ignore all changes
2487        to the submodules work tree and
2488        takes only differences between the HEAD of the submodule and the commit
2489        recorded in the superproject into account. "untracked" will additionally
2490        let submodules with modified tracked files in their work tree show up.
2491        Using "none" (the default when this option is not set) also shows
2492        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 the
2495        "--ignore-submodules" option. The 'git submodule' commands are not
2496        affected by this setting.
2497
2498tag.sort::
2499        This variable controls the sort ordering of tags when displayed by
2500        linkgit:git-tag[1]. Without the "--sort=<value>" option provided, the
2501        value of this variable will be used as the default.
2502
2503tar.umask::
2504        This variable can be used to restrict the permission bits of
2505        tar archive entries.  The default is 0002, which turns off the
2506        world write bit.  The special value "user" indicates that the
2507        archiving user's umask will be used instead.  See umask(2) and
2508        linkgit:git-archive[1].
2509
2510transfer.fsckObjects::
2511        When `fetch.fsckObjects` or `receive.fsckObjects` are
2512        not set, the value of this variable is used instead.
2513        Defaults to false.
2514
2515transfer.hideRefs::
2516        This variable can be used to set both `receive.hideRefs`
2517        and `uploadpack.hideRefs` at the same time to the same
2518        values.  See entries for these other variables.
2519
2520transfer.unpackLimit::
2521        When `fetch.unpackLimit` or `receive.unpackLimit` are
2522        not set, the value of this variable is used instead.
2523        The default value is 100.
2524
2525uploadarchive.allowUnreachable::
2526        If true, allow clients to use `git archive --remote` to request
2527        any tree, whether reachable from the ref tips or not. See the
2528        discussion in the `SECURITY` section of
2529        linkgit:git-upload-archive[1] for more details. Defaults to
2530        `false`.
2531
2532uploadpack.hideRefs::
2533        String(s) `upload-pack` uses to decide which refs to omit
2534        from its initial advertisement.  Use more than one
2535        definitions to specify multiple prefix strings. A ref that
2536        are under the hierarchies listed on the value of this
2537        variable is excluded, and is hidden from `git ls-remote`,
2538        `git fetch`, etc.  An attempt to fetch a hidden ref by `git
2539        fetch` will fail.  See also `uploadpack.allowtipsha1inwant`.
2540
2541uploadpack.allowtipsha1inwant::
2542        When `uploadpack.hideRefs` is in effect, allow `upload-pack`
2543        to accept a fetch request that asks for an object at the tip
2544        of a hidden ref (by default, such a request is rejected).
2545        see also `uploadpack.hideRefs`.
2546
2547uploadpack.keepAlive::
2548        When `upload-pack` has started `pack-objects`, there may be a
2549        quiet period while `pack-objects` prepares the pack. Normally
2550        it would output progress information, but if `--quiet` was used
2551        for the fetch, `pack-objects` will output nothing at all until
2552        the pack data begins. Some clients and networks may consider
2553        the server to be hung and give up. Setting this option instructs
2554        `upload-pack` to send an empty keepalive packet every
2555        `uploadpack.keepAlive` seconds. Setting this option to 0
2556        disables keepalive packets entirely. The default is 5 seconds.
2557
2558url.<base>.insteadOf::
2559        Any URL that starts with this value will be rewritten to
2560        start, instead, with <base>. In cases where some site serves a
2561        large number of repositories, and serves them with multiple
2562        access methods, and some users need to use different access
2563        methods, this feature allows people to specify any of the
2564        equivalent URLs and have Git automatically rewrite the URL to
2565        the best alternative for the particular user, even for a
2566        never-before-seen repository on the site.  When more than one
2567        insteadOf strings match a given URL, the longest match is used.
2568
2569url.<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 the
2572        resulting URL will be pushed to. In cases where some site serves
2573        a large number of repositories, and serves them with multiple
2574        access methods, some of which do not allow push, this feature
2575        allows people to specify a pull-only URL and have Git
2576        automatically use an appropriate URL to push, even for a
2577        never-before-seen repository on the site.  When more than one
2578        pushInsteadOf strings match a given URL, the longest match is
2579        used.  If a remote has an explicit pushurl, Git will ignore this
2580        setting for that remote.
2581
2582user.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', and
2585        'EMAIL' environment variables.  See linkgit:git-commit-tree[1].
2586
2587user.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].
2591
2592user.signingKey::
2593        If linkgit:git-tag[1] or linkgit:git-commit[1] is not selecting the
2594        key you want it to automatically when creating a signed tag or
2595        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.
2598
2599versionsort.prereleaseSuffix::
2600        When version sort is used in linkgit:git-tag[1], prerelease
2601        tags (e.g. "1.0-rc1") may appear after the main release
2602        "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. The
2606order of suffixes in the config file determines the sorting order
2607(e.g. if "-pre" appears before "-rc" in the config file then 1.0-preXX
2608is sorted before 1.0-rcXX). The sorting order between different
2609suffixes is undefined if they are in multiple config files.
2610
2611web.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.