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