gitlink:git-count-objects[1]::
Count unpacked number of objects and their disk consumption.
-gitlink:git-fsck-objects[1]::
+gitlink:git-fsck[1]::
Verifies the connectivity and validity of the objects in the database.
gitlink:git-get-tar-commit-id[1]::
gitlink:git-repack[1]::
Pack unpacked objects in a repository.
-gitlink:git-repo-config[1]::
+gitlink:git-config[1]::
Get and set repository or global options.
a string, an integer, or a boolean. Boolean values may be given as yes/no,
0/1 or true/false. Case is not significant in boolean values, when
converting value to the canonical form using '--bool' type specifier;
-`git-repo-config` will ensure that the output is "true" or "false".
+`git-config` will ensure that the output is "true" or "false".
String values may be entirely or partially enclosed in double quotes.
You need to enclose variable value in double quotes if you want to
The structured objects can further have their structure and
connectivity to other objects verified. This is generally done with
-the `git-fsck-objects` program, which generates a full dependency graph
+the `git-fsck` program, which generates a full dependency graph
of all objects, and verifies their internal consistency (in addition
to just verifying their superficial consistency through the hash).
like this:</p>\r
<div class="listingblock">\r
<div class="content">\r
-<pre><tt>$ git repo-config remote.linus.url http://www.kernel.org/pub/scm/git/git.git/</tt></pre>\r
+<pre><tt>$ git config remote.linus.url http://www.kernel.org/pub/scm/git/git.git/</tt></pre>\r
</div></div>\r
<p>and use the "linus" keyword with <tt>git pull</tt> instead of the full URL.</p>\r
<p>Examples.</p>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 15-Jan-2007 06:12:35 UTC\r
+Last updated 29-Jan-2007 02:55:16 UTC\r
</div>\r
</div>\r
</body>\r
like this:
------------------------------------------------
-$ git repo-config remote.linus.url http://www.kernel.org/pub/scm/git/git.git/
+$ git config remote.linus.url http://www.kernel.org/pub/scm/git/git.git/
------------------------------------------------
and use the "linus" keyword with `git pull` instead of the full URL.
<td class="content">\r
<p>The <tt>pull</tt> command knows where to get updates from because of certain\r
configuration variables that were set by the first <tt>git clone</tt>\r
-command; see <tt>git repo-config -l</tt> and the <a href="git-repo-config.html">git-repo-config(1)</a> man\r
+command; see <tt>git config -l</tt> and the <a href="git-config.html">git-config(1)</a> man\r
page for details.</p>\r
</td>\r
</tr></table>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 13-Jan-2007 08:09:07 UTC\r
+Last updated 29-Jan-2007 02:55:18 UTC\r
</div>\r
</div>\r
</body>\r
================================
The `pull` command knows where to get updates from because of certain
configuration variables that were set by the first `git clone`
-command; see `git repo-config -l` and the gitlink:git-repo-config[1] man
+command; see `git config -l` and the gitlink:git-config[1] man
page for details.
================================
</li>\r
<li>\r
<p>\r
-<a href="git-fsck-objects.html">git-fsck-objects(1)</a> to check the repository for errors.\r
+<a href="git-fsck.html">git-fsck(1)</a> to check the repository for errors.\r
</p>\r
</li>\r
<li>\r
<dd>\r
<div class="listingblock">\r
<div class="content">\r
-<pre><tt>$ git fsck-objects <b>(1)</b>\r
+<pre><tt>$ git fsck <b>(1)</b>\r
$ git count-objects <b>(2)</b>\r
$ git repack <b>(3)</b>\r
$ git gc <b>(4)</b></tt></pre>\r
<div class="content">\r
<pre><tt>satellite$ git clone mothership:frotz frotz <b>(1)</b>\r
satellite$ cd frotz\r
-satellite$ git repo-config --get-regexp '^(remote|branch)\.' <b>(2)</b>\r
+satellite$ git config --get-regexp '^(remote|branch)\.' <b>(2)</b>\r
remote.origin.url mothership:frotz\r
remote.origin.fetch refs/heads/*:refs/remotes/origin/*\r
branch.master.remote origin\r
branch.master.merge refs/heads/master\r
-satellite$ git repo-config remote.origin.push \\r
+satellite$ git config remote.origin.push \\r
master:refs/remotes/satellite/master <b>(3)</b>\r
satellite$ edit/compile/test/commit\r
satellite$ git push origin <b>(4)</b>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 15-Jan-2007 06:12:37 UTC\r
+Last updated 29-Jan-2007 02:55:19 UTC\r
</div>\r
</div>\r
</body>\r
* gitlink:git-init[1] or gitlink:git-clone[1] to create a
new repository.
- * gitlink:git-fsck-objects[1] to check the repository for errors.
+ * gitlink:git-fsck[1] to check the repository for errors.
* gitlink:git-prune[1] to remove unused objects in the repository.
Check health and remove cruft.::
+
------------
-$ git fsck-objects <1>
+$ git fsck <1>
$ git count-objects <2>
$ git repack <3>
$ git gc <4>
------------
satellite$ git clone mothership:frotz frotz <1>
satellite$ cd frotz
-satellite$ git repo-config --get-regexp '^(remote|branch)\.' <2>
+satellite$ git config --get-regexp '^(remote|branch)\.' <2>
remote.origin.url mothership:frotz
remote.origin.fetch refs/heads/*:refs/remotes/origin/*
branch.master.remote origin
branch.master.merge refs/heads/master
-satellite$ git repo-config remote.origin.push \
+satellite$ git config remote.origin.push \
master:refs/remotes/satellite/master <3>
satellite$ edit/compile/test/commit
satellite$ git push origin <4>
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\r
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
+<head>\r
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
+<meta name="generator" content="AsciiDoc 7.0.2" />\r
+<style type="text/css">\r
+/* Debug borders */\r
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
+/*\r
+ border: 1px solid red;\r
+*/\r
+}\r
+\r
+body {\r
+ margin: 1em 5% 1em 5%;\r
+}\r
+\r
+a { color: blue; }\r
+a:visited { color: fuchsia; }\r
+\r
+em {\r
+ font-style: italic;\r
+}\r
+\r
+strong {\r
+ font-weight: bold;\r
+}\r
+\r
+tt {\r
+ color: navy;\r
+}\r
+\r
+h1, h2, h3, h4, h5, h6 {\r
+ color: #527bbd;\r
+ font-family: sans-serif;\r
+ margin-top: 1.2em;\r
+ margin-bottom: 0.5em;\r
+ line-height: 1.3;\r
+}\r
+\r
+h1 {\r
+ border-bottom: 2px solid silver;\r
+}\r
+h2 {\r
+ border-bottom: 2px solid silver;\r
+ padding-top: 0.5em;\r
+}\r
+\r
+div.sectionbody {\r
+ font-family: serif;\r
+ margin-left: 0;\r
+}\r
+\r
+hr {\r
+ border: 1px solid silver;\r
+}\r
+\r
+p {\r
+ margin-top: 0.5em;\r
+ margin-bottom: 0.5em;\r
+}\r
+\r
+pre {\r
+ padding: 0;\r
+ margin: 0;\r
+}\r
+\r
+span#author {\r
+ color: #527bbd;\r
+ font-family: sans-serif;\r
+ font-weight: bold;\r
+ font-size: 1.2em;\r
+}\r
+span#email {\r
+}\r
+span#revision {\r
+ font-family: sans-serif;\r
+}\r
+\r
+div#footer {\r
+ font-family: sans-serif;\r
+ font-size: small;\r
+ border-top: 2px solid silver;\r
+ padding-top: 0.5em;\r
+ margin-top: 4.0em;\r
+}\r
+div#footer-text {\r
+ float: left;\r
+ padding-bottom: 0.5em;\r
+}\r
+div#footer-badges {\r
+ float: right;\r
+ padding-bottom: 0.5em;\r
+}\r
+\r
+div#preamble,\r
+div.tableblock, div.imageblock, div.exampleblock, div.verseblock,\r
+div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,\r
+div.admonitionblock {\r
+ margin-right: 10%;\r
+ margin-top: 1.5em;\r
+ margin-bottom: 1.5em;\r
+}\r
+div.admonitionblock {\r
+ margin-top: 2.5em;\r
+ margin-bottom: 2.5em;\r
+}\r
+\r
+div.content { /* Block element content. */\r
+ padding: 0;\r
+}\r
+\r
+/* Block element titles. */\r
+div.title, caption.title {\r
+ font-family: sans-serif;\r
+ font-weight: bold;\r
+ text-align: left;\r
+ margin-top: 1.0em;\r
+ margin-bottom: 0.5em;\r
+}\r
+div.title + * {\r
+ margin-top: 0;\r
+}\r
+\r
+td div.title:first-child {\r
+ margin-top: 0.0em;\r
+}\r
+div.content div.title:first-child {\r
+ margin-top: 0.0em;\r
+}\r
+div.content + div.title {\r
+ margin-top: 0.0em;\r
+}\r
+\r
+div.sidebarblock > div.content {\r
+ background: #ffffee;\r
+ border: 1px solid silver;\r
+ padding: 0.5em;\r
+}\r
+\r
+div.listingblock > div.content {\r
+ border: 1px solid silver;\r
+ background: #f4f4f4;\r
+ padding: 0.5em;\r
+}\r
+\r
+div.quoteblock > div.content {\r
+ padding-left: 2.0em;\r
+}\r
+div.quoteblock .attribution {\r
+ text-align: right;\r
+}\r
+\r
+div.admonitionblock .icon {\r
+ vertical-align: top;\r
+ font-size: 1.1em;\r
+ font-weight: bold;\r
+ text-decoration: underline;\r
+ color: #527bbd;\r
+ padding-right: 0.5em;\r
+}\r
+div.admonitionblock td.content {\r
+ padding-left: 0.5em;\r
+ border-left: 2px solid silver;\r
+}\r
+\r
+div.exampleblock > div.content {\r
+ border-left: 2px solid silver;\r
+ padding: 0.5em;\r
+}\r
+\r
+div.verseblock div.content {\r
+ white-space: pre;\r
+}\r
+\r
+div.imageblock div.content { padding-left: 0; }\r
+div.imageblock img { border: 1px solid silver; }\r
+span.image img { border-style: none; }\r
+\r
+dl {\r
+ margin-top: 0.8em;\r
+ margin-bottom: 0.8em;\r
+}\r
+dt {\r
+ margin-top: 0.5em;\r
+ margin-bottom: 0;\r
+ font-style: italic;\r
+}\r
+dd > *:first-child {\r
+ margin-top: 0;\r
+}\r
+\r
+ul, ol {\r
+ list-style-position: outside;\r
+}\r
+ol.olist2 {\r
+ list-style-type: lower-alpha;\r
+}\r
+\r
+div.tableblock > table {\r
+ border-color: #527bbd;\r
+ border-width: 3px;\r
+}\r
+thead {\r
+ font-family: sans-serif;\r
+ font-weight: bold;\r
+}\r
+tfoot {\r
+ font-weight: bold;\r
+}\r
+\r
+div.hlist {\r
+ margin-top: 0.8em;\r
+ margin-bottom: 0.8em;\r
+}\r
+td.hlist1 {\r
+ vertical-align: top;\r
+ font-style: italic;\r
+ padding-right: 0.8em;\r
+}\r
+td.hlist2 {\r
+ vertical-align: top;\r
+}\r
+\r
+@media print {\r
+ div#footer-badges { display: none; }\r
+}\r
+include::./stylesheets/xhtml11-manpage.css[]\r
+/* Workarounds for IE6's broken and incomplete CSS2. */\r
+\r
+div.sidebar-content {\r
+ background: #ffffee;\r
+ border: 1px solid silver;\r
+ padding: 0.5em;\r
+}\r
+div.sidebar-title, div.image-title {\r
+ font-family: sans-serif;\r
+ font-weight: bold;\r
+ margin-top: 0.0em;\r
+ margin-bottom: 0.5em;\r
+}\r
+\r
+div.listingblock div.content {\r
+ border: 1px solid silver;\r
+ background: #f4f4f4;\r
+ padding: 0.5em;\r
+}\r
+\r
+div.quoteblock-content {\r
+ padding-left: 2.0em;\r
+}\r
+\r
+div.exampleblock-content {\r
+ border-left: 2px solid silver;\r
+ padding-left: 0.5em;\r
+}\r
+</style>\r
+<title>git-config(1)</title>\r
+</head>\r
+<body>\r
+<div id="header">\r
+<h1>\r
+git-config(1) Manual Page\r
+</h1>\r
+<h2>NAME</h2>\r
+<div class="sectionbody">\r
+<p>git-config -\r
+ Get and set repository or global options\r
+</p>\r
+</div>\r
+</div>\r
+<h2>SYNOPSIS</h2>\r
+<div class="sectionbody">\r
+<div class="verseblock">\r
+<div class="content"><em>git-config</em> [--global] [type] name [value [value_regex]]\r
+<em>git-config</em> [--global] [type] --add name value\r
+<em>git-config</em> [--global] [type] --replace-all name [value [value_regex]]\r
+<em>git-config</em> [--global] [type] --get name [value_regex]\r
+<em>git-config</em> [--global] [type] --get-all name [value_regex]\r
+<em>git-config</em> [--global] [type] --unset name [value_regex]\r
+<em>git-config</em> [--global] [type] --unset-all name [value_regex]\r
+<em>git-config</em> [--global] -l | --list</div></div>\r
+</div>\r
+<h2>DESCRIPTION</h2>\r
+<div class="sectionbody">\r
+<p>You can query/set/replace/unset options with this command. The name is\r
+actually the section and the key separated by a dot, and the value will be\r
+escaped.</p>\r
+<p>Multiple lines can be added to an option by using the <em>--add</em> option.\r
+If you want to update or unset an option which can occur on multiple\r
+lines, a POSIX regexp <tt>value_regex</tt> needs to be given. Only the\r
+existing values that match the regexp are updated or unset. If\r
+you want to handle the lines that do <strong>not</strong> match the regex, just\r
+prepend a single exclamation mark in front (see EXAMPLES).</p>\r
+<p>The type specifier can be either <em>--int</em> or <em>--bool</em>, which will make\r
+<em>git-config</em> ensure that the variable(s) are of the given type and\r
+convert the value to the canonical form (simple decimal number for int,\r
+a "true" or "false" string for bool). If no type specifier is passed,\r
+no checks or transformations are performed on the value.</p>\r
+<p>This command will fail if:</p>\r
+<ol>\r
+<li>\r
+<p>\r
+The .git/config file is invalid,\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Can not write to .git/config,\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+no section was provided,\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+the section or key is invalid,\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+you try to unset an option which does not exist,\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+you try to unset/set an option for which multiple lines match, or\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+you use --global option without $HOME being properly set.\r
+</p>\r
+</li>\r
+</ol>\r
+</div>\r
+<h2>OPTIONS</h2>\r
+<div class="sectionbody">\r
+<dl>\r
+<dt>\r
+--replace-all\r
+</dt>\r
+<dd>\r
+<p>\r
+ Default behavior is to replace at most one line. This replaces\r
+ all lines matching the key (and optionally the value_regex).\r
+</p>\r
+</dd>\r
+<dt>\r
+--add\r
+</dt>\r
+<dd>\r
+<p>\r
+ Adds a new line to the option without altering any existing\r
+ values. This is the same as providing <em>^$</em> as the value_regex.\r
+</p>\r
+</dd>\r
+<dt>\r
+--get\r
+</dt>\r
+<dd>\r
+<p>\r
+ Get the value for a given key (optionally filtered by a regex\r
+ matching the value). Returns error code 1 if the key was not\r
+ found and error code 2 if multiple key values were found.\r
+</p>\r
+</dd>\r
+<dt>\r
+--get-all\r
+</dt>\r
+<dd>\r
+<p>\r
+ Like get, but does not fail if the number of values for the key\r
+ is not exactly one.\r
+</p>\r
+</dd>\r
+<dt>\r
+--get-regexp\r
+</dt>\r
+<dd>\r
+<p>\r
+ Like --get-all, but interprets the name as a regular expression.\r
+</p>\r
+</dd>\r
+<dt>\r
+--global\r
+</dt>\r
+<dd>\r
+<p>\r
+ Use global ~/.gitconfig file rather than the repository .git/config.\r
+</p>\r
+</dd>\r
+<dt>\r
+--unset\r
+</dt>\r
+<dd>\r
+<p>\r
+ Remove the line matching the key from config file.\r
+</p>\r
+</dd>\r
+<dt>\r
+--unset-all\r
+</dt>\r
+<dd>\r
+<p>\r
+ Remove all matching lines from config file.\r
+</p>\r
+</dd>\r
+<dt>\r
+-l, --list\r
+</dt>\r
+<dd>\r
+<p>\r
+ List all variables set in config file.\r
+</p>\r
+</dd>\r
+<dt>\r
+--bool\r
+</dt>\r
+<dd>\r
+<p>\r
+ git-config will ensure that the output is "true" or "false"\r
+</p>\r
+</dd>\r
+<dt>\r
+--int\r
+</dt>\r
+<dd>\r
+<p>\r
+ git-config will ensure that the output is a simple\r
+ decimal number. An optional value suffix of <em>k</em>, <em>m</em>, or <em>g</em>\r
+ in the config file will cause the value to be multiplied\r
+ by 1024, 1048576, or 1073741824 prior to output.\r
+</p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>ENVIRONMENT</h2>\r
+<div class="sectionbody">\r
+<dl>\r
+<dt>\r
+GIT_CONFIG\r
+</dt>\r
+<dd>\r
+<p>\r
+ Take the configuration from the given file instead of .git/config.\r
+ Using the "--global" option forces this to ~/.gitconfig.\r
+</p>\r
+</dd>\r
+<dt>\r
+GIT_CONFIG_LOCAL\r
+</dt>\r
+<dd>\r
+<p>\r
+ Currently the same as $GIT_CONFIG; when Git will support global\r
+ configuration files, this will cause it to take the configuration\r
+ from the global configuration file in addition to the given file.\r
+</p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>EXAMPLE</h2>\r
+<div class="sectionbody">\r
+<p>Given a .git/config like this:</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>#\r
+# This is the config file, and\r
+# a '#' or ';' character indicates\r
+# a comment\r
+#</tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>; core variables\r
+[core]\r
+ ; Don't trust file modes\r
+ filemode = false</tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>; Our diff algorithm\r
+[diff]\r
+ external = "/usr/local/bin/gnu-diff -u"\r
+ renames = true</tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>; Proxy settings\r
+[core]\r
+ gitproxy="ssh" for "ssh://kernel.org/"\r
+ gitproxy="proxy-command" for kernel.org\r
+ gitproxy="myprotocol-command" for "my://"\r
+ gitproxy=default-proxy ; for all the rest</tt></pre>\r
+</div></div>\r
+<p>you can set the filemode to true with</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config core.filemode true</tt></pre>\r
+</div></div>\r
+<p>The hypothetical proxy command entries actually have a postfix to discern\r
+what URL they apply to. Here is how to change the entry for kernel.org\r
+to "ssh".</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config core.gitproxy '"ssh" for kernel.org' 'for kernel.org$'</tt></pre>\r
+</div></div>\r
+<p>This makes sure that only the key/value pair for kernel.org is replaced.</p>\r
+<p>To delete the entry for renames, do</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config --unset diff.renames</tt></pre>\r
+</div></div>\r
+<p>If you want to delete an entry for a multivar (like core.gitproxy above),\r
+you have to provide a regex matching the value of exactly one line.</p>\r
+<p>To query the value for a given key, do</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config --get core.filemode</tt></pre>\r
+</div></div>\r
+<p>or</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config core.filemode</tt></pre>\r
+</div></div>\r
+<p>or, to query a multivar:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config --get core.gitproxy "for kernel.org$"</tt></pre>\r
+</div></div>\r
+<p>If you want to know all the values for a multivar, do:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config --get-all core.gitproxy</tt></pre>\r
+</div></div>\r
+<p>If you like to live dangerous, you can replace <strong>all</strong> core.gitproxy by a\r
+new one with</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config --replace-all core.gitproxy ssh</tt></pre>\r
+</div></div>\r
+<p>However, if you really only want to replace the line for the default proxy,\r
+i.e. the one without a "for …" postfix, do something like this:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config core.gitproxy ssh '! for '</tt></pre>\r
+</div></div>\r
+<p>To actually match only values with an exclamation mark, you have to</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config section.key value '[!]'</tt></pre>\r
+</div></div>\r
+<p>To add a new proxy, without altering any of the existing ones, use</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>% git config core.gitproxy '"proxy" for example.com'</tt></pre>\r
+</div></div>\r
+</div>\r
+<h2>CONFIGURATION FILE</h2>\r
+<div class="sectionbody">\r
+<p>The git configuration file contains a number of variables that affect\r
+the git command's behavior. <tt>.git/config</tt> file for each repository\r
+is used to store the information for that repository, and\r
+<tt>$HOME/.gitconfig</tt> is used to store per user information to give\r
+fallback values for <tt>.git/config</tt> file.</p>\r
+<p>They can be used by both the git plumbing\r
+and the porcelains. The variables are divided into sections, where\r
+in the fully qualified variable name the variable itself is the last\r
+dot-separated segment and the section name is everything before the last\r
+dot. The variable names are case-insensitive and only alphanumeric\r
+characters are allowed. Some variables may appear multiple times.</p>\r
+<h3>Syntax</h3>\r
+<p>The syntax is fairly flexible and permissive; whitespaces are mostly\r
+ignored. The <em>#</em> and <em>;</em> characters begin comments to the end of line,\r
+blank lines are ignored.</p>\r
+<p>The file consists of sections and variables. A section begins with\r
+the name of the section in square brackets and continues until the next\r
+section begins. Section names are not case sensitive. Only alphanumeric\r
+characters, <em><tt>-</tt></em> and <em><tt>.</tt></em> are allowed in section names. Each variable\r
+must belong to some section, which means that there must be section\r
+header before first setting of a variable.</p>\r
+<p>Sections can be further divided into subsections. To begin a subsection\r
+put its name in double quotes, separated by space from the section name,\r
+in the section header, like in example below:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt> [section "subsection"]\r
+</tt></pre>\r
+</div></div>\r
+<p>Subsection names can contain any characters except newline (doublequote\r
+<em><tt>"</tt></em> and backslash have to be escaped as <em><tt>\"</tt></em> and <em><tt>\\</tt></em>,\r
+respecitvely) and are case sensitive. Section header cannot span multiple\r
+lines. Variables may belong directly to a section or to a given subsection.\r
+You can have <tt>[section]</tt> if you have <tt>[section "subsection"]</tt>, but you\r
+don't need to.</p>\r
+<p>There is also (case insensitive) alternative <tt>[section.subsection]</tt> syntax.\r
+In this syntax subsection names follow the same restrictions as for section\r
+name.</p>\r
+<p>All the other lines are recognized as setting variables, in the form\r
+<em>name = value</em>. If there is no equal sign on the line, the entire line\r
+is taken as <em>name</em> and the variable is recognized as boolean "true".\r
+The variable names are case-insensitive and only alphanumeric\r
+characters and <em><tt>-</tt></em> are allowed. There can be more than one value\r
+for a given variable; we say then that variable is multivalued.</p>\r
+<p>Leading and trailing whitespace in a variable value is discarded.\r
+Internal whitespace within a variable value is retained verbatim.</p>\r
+<p>The values following the equals sign in variable assign are all either\r
+a string, an integer, or a boolean. Boolean values may be given as yes/no,\r
+0/1 or true/false. Case is not significant in boolean values, when\r
+converting value to the canonical form using <em>--bool</em> type specifier;\r
+<tt>git-config</tt> will ensure that the output is "true" or "false".</p>\r
+<p>String values may be entirely or partially enclosed in double quotes.\r
+You need to enclose variable value in double quotes if you want to\r
+preserve leading or trailing whitespace, or if variable value contains\r
+beginning of comment characters (if it contains <em>#</em> or <em>;</em>).\r
+Double quote <em><tt>"</tt></em> and backslash <em><tt>\</tt></em> characters in variable value must\r
+be escaped: use <em><tt>\"</tt></em> for <em><tt>"</tt></em> and <em><tt>\\</tt></em> for <em><tt>\</tt></em>.</p>\r
+<p>The following escape sequences (beside <em><tt>\"</tt></em> and <em><tt>\\</tt></em>) are recognized:\r
+<em><tt>\n</tt></em> for newline character (NL), <em><tt>\t</tt></em> for horizontal tabulation (HT, TAB)\r
+and <em><tt>\b</tt></em> for backspace (BS). No other char escape sequence, nor octal\r
+char sequences are valid.</p>\r
+<p>Variable value ending in a <em><tt>\</tt></em> is continued on the next line in the\r
+customary UNIX fashion.</p>\r
+<p>Some variables may require special value format.</p>\r
+<h3>Example</h3>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt># Core variables\r
+[core]\r
+ ; Don't trust file modes\r
+ filemode = false</tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt># Our diff algorithm\r
+[diff]\r
+ external = "/usr/local/bin/gnu-diff -u"\r
+ renames = true</tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>[branch "devel"]\r
+ remote = origin\r
+ merge = refs/heads/devel</tt></pre>\r
+</div></div>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt># Proxy settings\r
+[core]\r
+ gitProxy="ssh" for "ssh://kernel.org/"\r
+ gitProxy=default-proxy ; for the rest</tt></pre>\r
+</div></div>\r
+<h3>Variables</h3>\r
+<p>Note that this list is non-comprehensive and not necessarily complete.\r
+For command-specific variables, you will find a more detailed description\r
+in the appropriate manual page. You will find a description of non-core\r
+porcelain configuration variables in the respective porcelain documentation.</p>\r
+<dl>\r
+<dt>\r
+core.fileMode\r
+</dt>\r
+<dd>\r
+<p>\r
+ If false, the executable bit differences between the index and\r
+ the working copy are ignored; useful on broken filesystems like FAT.\r
+ See <a href="git-update-index.html">git-update-index(1)</a>. True by default.\r
+</p>\r
+</dd>\r
+<dt>\r
+core.gitProxy\r
+</dt>\r
+<dd>\r
+<p>\r
+ A "proxy command" to execute (as <em>command host port</em>) instead\r
+ of establishing direct connection to the remote server when\r
+ using the git protocol for fetching. If the variable value is\r
+ in the "COMMAND for DOMAIN" format, the command is applied only\r
+ on hostnames ending with the specified domain string. This variable\r
+ may be set multiple times and is matched in the given order;\r
+ the first match wins.\r
+</p>\r
+<p>Can be overridden by the <em>GIT_PROXY_COMMAND</em> environment variable\r
+(which always applies universally, without the special "for"\r
+handling).</p>\r
+</dd>\r
+<dt>\r
+core.ignoreStat\r
+</dt>\r
+<dd>\r
+<p>\r
+ The working copy files are assumed to stay unchanged until you\r
+ mark them otherwise manually - Git will not detect the file changes\r
+ by lstat() calls. This is useful on systems where those are very\r
+ slow, such as Microsoft Windows. See <a href="git-update-index.html">git-update-index(1)</a>.\r
+ False by default.\r
+</p>\r
+</dd>\r
+<dt>\r
+core.preferSymlinkRefs\r
+</dt>\r
+<dd>\r
+<p>\r
+ Instead of the default "symref" format for HEAD\r
+ and other symbolic reference files, use symbolic links.\r
+ This is sometimes needed to work with old scripts that\r
+ expect HEAD to be a symbolic link.\r
+</p>\r
+</dd>\r
+<dt>\r
+core.logAllRefUpdates\r
+</dt>\r
+<dd>\r
+<p>\r
+ Updates to a ref <ref> is logged to the file\r
+ "$GIT_DIR/logs/<ref>", by appending the new and old\r
+ SHA1, the date/time and the reason of the update, but\r
+ only when the file exists. If this configuration\r
+ variable is set to true, missing "$GIT_DIR/logs/<ref>"\r
+ file is automatically created for branch heads.\r
+</p>\r
+<p>This information can be used to determine what commit\r
+was the tip of a branch "2 days ago".</p>\r
+<p>This value is true by default in a repository that has\r
+a working directory associated with it, and false by\r
+default in a bare repository.</p>\r
+</dd>\r
+<dt>\r
+core.repositoryFormatVersion\r
+</dt>\r
+<dd>\r
+<p>\r
+ Internal variable identifying the repository format and layout\r
+ version.\r
+</p>\r
+</dd>\r
+<dt>\r
+core.sharedRepository\r
+</dt>\r
+<dd>\r
+<p>\r
+ When <em>group</em> (or <em>true</em>), the repository is made shareable between\r
+ several users in a group (making sure all the files and objects are\r
+ group-writable). When <em>all</em> (or <em>world</em> or <em>everybody</em>), the\r
+ repository will be readable by all users, additionally to being\r
+ group-shareable. When <em>umask</em> (or <em>false</em>), git will use permissions\r
+ reported by umask(2). See <a href="git-init.html">git-init(1)</a>. False by default.\r
+</p>\r
+</dd>\r
+<dt>\r
+core.warnAmbiguousRefs\r
+</dt>\r
+<dd>\r
+<p>\r
+ If true, git will warn you if the ref name you passed it is ambiguous\r
+ and might match multiple refs in the .git/refs/ tree. True by default.\r
+</p>\r
+</dd>\r
+<dt>\r
+core.compression\r
+</dt>\r
+<dd>\r
+<p>\r
+ An integer -1..9, indicating the compression level for objects that\r
+ are not in a pack file. -1 is the zlib and git default. 0 means no\r
+ compression, and 1..9 are various speed/size tradeoffs, 9 being\r
+ slowest.\r
+</p>\r
+</dd>\r
+<dt>\r
+core.legacyheaders\r
+</dt>\r
+<dd>\r
+<p>\r
+ A boolean which enables the legacy object header format in case\r
+ you want to interoperate with old clients accessing the object\r
+ database directly (where the "http://" and "rsync://" protocols\r
+ count as direct access).\r
+</p>\r
+</dd>\r
+<dt>\r
+core.packedGitWindowSize\r
+</dt>\r
+<dd>\r
+<p>\r
+ Number of bytes of a pack file to map into memory in a\r
+ single mapping operation. Larger window sizes may allow\r
+ your system to process a smaller number of large pack files\r
+ more quickly. Smaller window sizes will negatively affect\r
+ performance due to increased calls to the operating system's\r
+ memory manager, but may improve performance when accessing\r
+ a large number of large pack files.\r
+</p>\r
+<p>Default is 1 MiB if NO_MMAP was set at compile time, otherwise 32\r
+MiB on 32 bit platforms and 1 GiB on 64 bit platforms. This should\r
+be reasonable for all users/operating systems. You probably do\r
+not need to adjust this value.</p>\r
+<p>Common unit suffixes of <em>k</em>, <em>m</em>, or <em>g</em> are supported.</p>\r
+</dd>\r
+<dt>\r
+core.packedGitLimit\r
+</dt>\r
+<dd>\r
+<p>\r
+ Maximum number of bytes to map simultaneously into memory\r
+ from pack files. If Git needs to access more than this many\r
+ bytes at once to complete an operation it will unmap existing\r
+ regions to reclaim virtual address space within the process.\r
+</p>\r
+<p>Default is 256 MiB on 32 bit platforms and 8 GiB on 64 bit platforms.\r
+This should be reasonable for all users/operating systems, except on\r
+the largest projects. You probably do not need to adjust this value.</p>\r
+<p>Common unit suffixes of <em>k</em>, <em>m</em>, or <em>g</em> are supported.</p>\r
+</dd>\r
+<dt>\r
+alias.*\r
+</dt>\r
+<dd>\r
+<p>\r
+ Command aliases for the <a href="git.html">git(1)</a> command wrapper - e.g.\r
+ after defining "alias.last = cat-file commit HEAD", the invocation\r
+ "git last" is equivalent to "git cat-file commit HEAD". To avoid\r
+ confusion and troubles with script usage, aliases that\r
+ hide existing git commands are ignored. Arguments are split by\r
+ spaces, the usual shell quoting and escaping is supported.\r
+ quote pair and a backslash can be used to quote them.\r
+</p>\r
+</dd>\r
+<dt>\r
+apply.whitespace\r
+</dt>\r
+<dd>\r
+<p>\r
+ Tells <tt>git-apply</tt> how to handle whitespaces, in the same way\r
+ as the <em>--whitespace</em> option. See <a href="git-apply.html">git-apply(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+branch.<name>.remote\r
+</dt>\r
+<dd>\r
+<p>\r
+ When in branch <name>, it tells <tt>git fetch</tt> which remote to fetch.\r
+ If this option is not given, <tt>git fetch</tt> defaults to remote "origin".\r
+</p>\r
+</dd>\r
+<dt>\r
+branch.<name>.merge\r
+</dt>\r
+<dd>\r
+<p>\r
+ When in branch <name>, it tells <tt>git fetch</tt> the default refspec to\r
+ be marked for merging in FETCH_HEAD. The value has exactly to match\r
+ a remote part of one of the refspecs which are fetched from the remote\r
+ given by "branch.<name>.remote".\r
+ The merge information is used by <tt>git pull</tt> (which at first calls\r
+ <tt>git fetch</tt>) to lookup the default branch for merging. Without\r
+ this option, <tt>git pull</tt> defaults to merge the first refspec fetched.\r
+ Specify multiple values to get an octopus merge.\r
+</p>\r
+</dd>\r
+<dt>\r
+color.branch\r
+</dt>\r
+<dd>\r
+<p>\r
+ A boolean to enable/disable color in the output of\r
+ <a href="git-branch.html">git-branch(1)</a>. May be set to <tt>true</tt> (or <tt>always</tt>),\r
+ <tt>false</tt> (or <tt>never</tt>) or <tt>auto</tt>, in which case colors are used\r
+ only when the output is to a terminal. Defaults to false.\r
+</p>\r
+</dd>\r
+<dt>\r
+color.branch.<slot>\r
+</dt>\r
+<dd>\r
+<p>\r
+ Use customized color for branch coloration. <tt><slot></tt> is one of\r
+ <tt>current</tt> (the current branch), <tt>local</tt> (a local branch),\r
+ <tt>remote</tt> (a tracking branch in refs/remotes/), <tt>plain</tt> (other\r
+ refs).\r
+</p>\r
+<p>The value for these configuration variables is a list of colors (at most\r
+two) and attributes (at most one), separated by spaces. The colors\r
+accepted are <tt>normal</tt>, <tt>black</tt>, <tt>red</tt>, <tt>green</tt>, <tt>yellow</tt>, <tt>blue</tt>,\r
+<tt>magenta</tt>, <tt>cyan</tt> and <tt>white</tt>; the attributes are <tt>bold</tt>, <tt>dim</tt>, <tt>ul</tt>,\r
+<tt>blink</tt> and <tt>reverse</tt>. The first color given is the foreground; the\r
+second is the background. The position of the attribute, if any,\r
+doesn't matter.</p>\r
+</dd>\r
+<dt>\r
+color.diff\r
+</dt>\r
+<dd>\r
+<p>\r
+ When true (or <tt>always</tt>), always use colors in patch.\r
+ When false (or <tt>never</tt>), never. When set to <tt>auto</tt>, use\r
+ colors only when the output is to the terminal.\r
+</p>\r
+</dd>\r
+<dt>\r
+color.diff.<slot>\r
+</dt>\r
+<dd>\r
+<p>\r
+ Use customized color for diff colorization. <tt><slot></tt> specifies\r
+ which part of the patch to use the specified color, and is one\r
+ of <tt>plain</tt> (context text), <tt>meta</tt> (metainformation), <tt>frag</tt>\r
+ (hunk header), <tt>old</tt> (removed lines), <tt>new</tt> (added lines),\r
+ <tt>commit</tt> (commit headers), or <tt>whitespace</tt> (highlighting dubious\r
+ whitespace). The values of these variables may be specified as\r
+ in color.branch.<slot>.\r
+</p>\r
+</dd>\r
+<dt>\r
+color.pager\r
+</dt>\r
+<dd>\r
+<p>\r
+ A boolean to enable/disable colored output when the pager is in\r
+ use (default is true).\r
+</p>\r
+</dd>\r
+<dt>\r
+color.status\r
+</dt>\r
+<dd>\r
+<p>\r
+ A boolean to enable/disable color in the output of\r
+ <a href="git-status.html">git-status(1)</a>. May be set to <tt>true</tt> (or <tt>always</tt>),\r
+ <tt>false</tt> (or <tt>never</tt>) or <tt>auto</tt>, in which case colors are used\r
+ only when the output is to a terminal. Defaults to false.\r
+</p>\r
+</dd>\r
+<dt>\r
+color.status.<slot>\r
+</dt>\r
+<dd>\r
+<p>\r
+ Use customized color for status colorization. <tt><slot></tt> is\r
+ one of <tt>header</tt> (the header text of the status message),\r
+ <tt>added</tt> or <tt>updated</tt> (files which are added but not committed),\r
+ <tt>changed</tt> (files which are changed but not added in the index),\r
+ or <tt>untracked</tt> (files which are not tracked by git). The values of\r
+ these variables may be specified as in color.branch.<slot>.\r
+</p>\r
+</dd>\r
+<dt>\r
+diff.renameLimit\r
+</dt>\r
+<dd>\r
+<p>\r
+ The number of files to consider when performing the copy/rename\r
+ detection; equivalent to the git diff option <em>-l</em>.\r
+</p>\r
+</dd>\r
+<dt>\r
+diff.renames\r
+</dt>\r
+<dd>\r
+<p>\r
+ Tells git to detect renames. If set to any boolean value, it\r
+ will enable basic rename detection. If set to "copies" or\r
+ "copy", it will detect copies, as well.\r
+</p>\r
+</dd>\r
+<dt>\r
+fetch.unpackLimit\r
+</dt>\r
+<dd>\r
+<p>\r
+ If the number of objects fetched over the git native\r
+ transfer is below this\r
+ limit, then the objects will be unpacked into loose object\r
+ files. However if the number of received objects equals or\r
+ exceeds this limit then the received pack will be stored as\r
+ a pack, after adding any missing delta bases. Storing the\r
+ pack from a push can make the push operation complete faster,\r
+ especially on slow filesystems.\r
+</p>\r
+</dd>\r
+<dt>\r
+format.headers\r
+</dt>\r
+<dd>\r
+<p>\r
+ Additional email headers to include in a patch to be submitted\r
+ by mail. See <a href="git-format-patch.html">git-format-patch(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+gc.reflogexpire\r
+</dt>\r
+<dd>\r
+<p>\r
+ <tt>git reflog expire</tt> removes reflog entries older than\r
+ this time; defaults to 90 days.\r
+</p>\r
+</dd>\r
+<dt>\r
+gc.reflogexpireunreachable\r
+</dt>\r
+<dd>\r
+<p>\r
+ <tt>git reflog expire</tt> removes reflog entries older than\r
+ this time and are not reachable from the current tip;\r
+ defaults to 30 days.\r
+</p>\r
+</dd>\r
+<dt>\r
+gc.rerereresolved\r
+</dt>\r
+<dd>\r
+<p>\r
+ Records of conflicted merge you resolved earlier are\r
+ kept for this many days when <tt>git rerere gc</tt> is run.\r
+ The default is 60 days. See <a href="git-rerere.html">git-rerere(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+gc.rerereunresolved\r
+</dt>\r
+<dd>\r
+<p>\r
+ Records of conflicted merge you have not resolved are\r
+ kept for this many days when <tt>git rerere gc</tt> is run.\r
+ The default is 15 days. See <a href="git-rerere.html">git-rerere(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+gitcvs.enabled\r
+</dt>\r
+<dd>\r
+<p>\r
+ Whether the cvs pserver interface is enabled for this repository.\r
+ See <a href="git-cvsserver.html">git-cvsserver(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+gitcvs.logfile\r
+</dt>\r
+<dd>\r
+<p>\r
+ Path to a log file where the cvs pserver interface well… logs\r
+ various stuff. See <a href="git-cvsserver.html">git-cvsserver(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+http.sslVerify\r
+</dt>\r
+<dd>\r
+<p>\r
+ Whether to verify the SSL certificate when fetching or pushing\r
+ over HTTPS. Can be overridden by the <em>GIT_SSL_NO_VERIFY</em> environment\r
+ variable.\r
+</p>\r
+</dd>\r
+<dt>\r
+http.sslCert\r
+</dt>\r
+<dd>\r
+<p>\r
+ File containing the SSL certificate when fetching or pushing\r
+ over HTTPS. Can be overridden by the <em>GIT_SSL_CERT</em> environment\r
+ variable.\r
+</p>\r
+</dd>\r
+<dt>\r
+http.sslKey\r
+</dt>\r
+<dd>\r
+<p>\r
+ File containing the SSL private key when fetching or pushing\r
+ over HTTPS. Can be overridden by the <em>GIT_SSL_KEY</em> environment\r
+ variable.\r
+</p>\r
+</dd>\r
+<dt>\r
+http.sslCAInfo\r
+</dt>\r
+<dd>\r
+<p>\r
+ File containing the certificates to verify the peer with when\r
+ fetching or pushing over HTTPS. Can be overridden by the\r
+ <em>GIT_SSL_CAINFO</em> environment variable.\r
+</p>\r
+</dd>\r
+<dt>\r
+http.sslCAPath\r
+</dt>\r
+<dd>\r
+<p>\r
+ Path containing files with the CA certificates to verify the peer\r
+ with when fetching or pushing over HTTPS. Can be overridden\r
+ by the <em>GIT_SSL_CAPATH</em> environment variable.\r
+</p>\r
+</dd>\r
+<dt>\r
+http.maxRequests\r
+</dt>\r
+<dd>\r
+<p>\r
+ How many HTTP requests to launch in parallel. Can be overridden\r
+ by the <em>GIT_HTTP_MAX_REQUESTS</em> environment variable. Default is 5.\r
+</p>\r
+</dd>\r
+<dt>\r
+http.lowSpeedLimit, http.lowSpeedTime\r
+</dt>\r
+<dd>\r
+<p>\r
+ If the HTTP transfer speed is less than <em>http.lowSpeedLimit</em>\r
+ for longer than <em>http.lowSpeedTime</em> seconds, the transfer is aborted.\r
+ Can be overridden by the <em>GIT_HTTP_LOW_SPEED_LIMIT</em> and\r
+ <em>GIT_HTTP_LOW_SPEED_TIME</em> environment variables.\r
+</p>\r
+</dd>\r
+<dt>\r
+http.noEPSV\r
+</dt>\r
+<dd>\r
+<p>\r
+ A boolean which disables using of EPSV ftp command by curl.\r
+ This can helpful with some "poor" ftp servers which doesn't\r
+ support EPSV mode. Can be overridden by the <em>GIT_CURL_FTP_NO_EPSV</em>\r
+ environment variable. Default is false (curl will use EPSV).\r
+</p>\r
+</dd>\r
+<dt>\r
+i18n.commitEncoding\r
+</dt>\r
+<dd>\r
+<p>\r
+ Character encoding the commit messages are stored in; git itself\r
+ does not care per se, but this information is necessary e.g. when\r
+ importing commits from emails or in the gitk graphical history\r
+ browser (and possibly at other places in the future or in other\r
+ porcelains). See e.g. <a href="git-mailinfo.html">git-mailinfo(1)</a>. Defaults to <em>utf-8</em>.\r
+</p>\r
+</dd>\r
+<dt>\r
+i18n.logOutputEncoding\r
+</dt>\r
+<dd>\r
+<p>\r
+ Character encoding the commit messages are converted to when\r
+ running <tt>git-log</tt> and friends.\r
+</p>\r
+</dd>\r
+<dt>\r
+log.showroot\r
+</dt>\r
+<dd>\r
+<p>\r
+ If true, the initial commit will be shown as a big creation event.\r
+ This is equivalent to a diff against an empty tree.\r
+ Tools like <a href="git-log.html">git-log(1)</a> or <a href="git-whatchanged.html">git-whatchanged(1)</a>, which\r
+ normally hide the root commit will now show it. True by default.\r
+</p>\r
+</dd>\r
+<dt>\r
+merge.summary\r
+</dt>\r
+<dd>\r
+<p>\r
+ Whether to include summaries of merged commits in newly created\r
+ merge commit messages. False by default.\r
+</p>\r
+</dd>\r
+<dt>\r
+merge.verbosity\r
+</dt>\r
+<dd>\r
+<p>\r
+ Controls the amount of output shown by the recursive merge\r
+ strategy. Level 0 outputs nothing except a final error\r
+ message if conflicts were detected. Level 1 outputs only\r
+ conflicts, 2 outputs conflicts and file changes. Level 5 and\r
+ above outputs debugging information. The default is level 2.\r
+</p>\r
+</dd>\r
+<dt>\r
+pack.window\r
+</dt>\r
+<dd>\r
+<p>\r
+ The size of the window used by <a href="git-pack-objects.html">git-pack-objects(1)</a> when no\r
+ window size is given on the command line. Defaults to 10.\r
+</p>\r
+</dd>\r
+<dt>\r
+pull.octopus\r
+</dt>\r
+<dd>\r
+<p>\r
+ The default merge strategy to use when pulling multiple branches\r
+ at once.\r
+</p>\r
+</dd>\r
+<dt>\r
+pull.twohead\r
+</dt>\r
+<dd>\r
+<p>\r
+ The default merge strategy to use when pulling a single branch.\r
+</p>\r
+</dd>\r
+<dt>\r
+remote.<name>.url\r
+</dt>\r
+<dd>\r
+<p>\r
+ The URL of a remote repository. See <a href="git-fetch.html">git-fetch(1)</a> or\r
+ <a href="git-push.html">git-push(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+remote.<name>.fetch\r
+</dt>\r
+<dd>\r
+<p>\r
+ The default set of "refspec" for <a href="git-fetch.html">git-fetch(1)</a>. See\r
+ <a href="git-fetch.html">git-fetch(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+remote.<name>.push\r
+</dt>\r
+<dd>\r
+<p>\r
+ The default set of "refspec" for <a href="git-push.html">git-push(1)</a>. See\r
+ <a href="git-push.html">git-push(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+remote.<name>.receivepack\r
+</dt>\r
+<dd>\r
+<p>\r
+ The default program to execute on the remote side when pushing. See\r
+ option --exec of <a href="git-push.html">git-push(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+remote.<name>.uploadpack\r
+</dt>\r
+<dd>\r
+<p>\r
+ The default program to execute on the remote side when fetching. See\r
+ option --exec of <a href="git-fetch-pack.html">git-fetch-pack(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+repack.usedeltabaseoffset\r
+</dt>\r
+<dd>\r
+<p>\r
+ Allow <a href="git-repack.html">git-repack(1)</a> to create packs that uses\r
+ delta-base offset. Defaults to false.\r
+</p>\r
+</dd>\r
+<dt>\r
+show.difftree\r
+</dt>\r
+<dd>\r
+<p>\r
+ The default <a href="git-diff-tree.html">git-diff-tree(1)</a> arguments to be used\r
+ for <a href="git-show.html">git-show(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+showbranch.default\r
+</dt>\r
+<dd>\r
+<p>\r
+ The default set of branches for <a href="git-show-branch.html">git-show-branch(1)</a>.\r
+ See <a href="git-show-branch.html">git-show-branch(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+tar.umask\r
+</dt>\r
+<dd>\r
+<p>\r
+ By default, <a href="git-tar-tree.html">git-tar-tree(1)</a> sets file and directories modes\r
+ to 0666 or 0777. While this is both useful and acceptable for projects\r
+ such as the Linux Kernel, it might be excessive for other projects.\r
+ With this variable, it becomes possible to tell\r
+ <a href="git-tar-tree.html">git-tar-tree(1)</a> to apply a specific umask to the modes above.\r
+ The special value "user" indicates that the user's current umask will\r
+ be used. This should be enough for most projects, as it will lead to\r
+ the same permissions as <a href="git-checkout.html">git-checkout(1)</a> would use. The default\r
+ value remains 0, which means world read-write.\r
+</p>\r
+</dd>\r
+<dt>\r
+user.email\r
+</dt>\r
+<dd>\r
+<p>\r
+ Your email address to be recorded in any newly created commits.\r
+ Can be overridden by the <em>GIT_AUTHOR_EMAIL</em> and <em>GIT_COMMITTER_EMAIL</em>\r
+ environment variables. See <a href="git-commit-tree.html">git-commit-tree(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+user.name\r
+</dt>\r
+<dd>\r
+<p>\r
+ Your full name to be recorded in any newly created commits.\r
+ Can be overridden by the <em>GIT_AUTHOR_NAME</em> and <em>GIT_COMMITTER_NAME</em>\r
+ environment variables. See <a href="git-commit-tree.html">git-commit-tree(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+user.signingkey\r
+</dt>\r
+<dd>\r
+<p>\r
+ If <a href="git-tag.html">git-tag(1)</a> is not selecting the key you want it to\r
+ automatically when creating a signed tag, you can override the\r
+ default selection with this variable. This option is passed\r
+ unchanged to gpg's --local-user parameter, so you may specify a key\r
+ using any method that gpg supports.\r
+</p>\r
+</dd>\r
+<dt>\r
+whatchanged.difftree\r
+</dt>\r
+<dd>\r
+<p>\r
+ The default <a href="git-diff-tree.html">git-diff-tree(1)</a> arguments to be used\r
+ for <a href="git-whatchanged.html">git-whatchanged(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+imap\r
+</dt>\r
+<dd>\r
+<p>\r
+ The configuration variables in the <em>imap</em> section are described\r
+ in <a href="git-imap-send.html">git-imap-send(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
+receive.unpackLimit\r
+</dt>\r
+<dd>\r
+<p>\r
+ If the number of objects received in a push is below this\r
+ limit then the objects will be unpacked into loose object\r
+ files. However if the number of received objects equals or\r
+ exceeds this limit then the received pack will be stored as\r
+ a pack, after adding any missing delta bases. Storing the\r
+ pack from a push can make the push operation complete faster,\r
+ especially on slow filesystems.\r
+</p>\r
+</dd>\r
+<dt>\r
+receive.denyNonFastForwards\r
+</dt>\r
+<dd>\r
+<p>\r
+ If set to true, git-receive-pack will deny a ref update which is\r
+ not a fast forward. Use this to prevent such an update via a push,\r
+ even if that push is forced. This configuration variable is\r
+ set when initializing a shared repository.\r
+</p>\r
+</dd>\r
+<dt>\r
+transfer.unpackLimit\r
+</dt>\r
+<dd>\r
+<p>\r
+ When <tt>fetch.unpackLimit</tt> or <tt>receive.unpackLimit</tt> are\r
+ not set, the value of this variable is used instead.\r
+</p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>Author</h2>\r
+<div class="sectionbody">\r
+<p>Written by Johannes Schindelin <Johannes.Schindelin@gmx.de></p>\r
+</div>\r
+<h2>Documentation</h2>\r
+<div class="sectionbody">\r
+<p>Documentation by Johannes Schindelin, Petr Baudis and the git-list <git@vger.kernel.org>.</p>\r
+</div>\r
+<h2>GIT</h2>\r
+<div class="sectionbody">\r
+<p>Part of the <a href="git.html">git(7)</a> suite</p>\r
+</div>\r
+<div id="footer">\r
+<div id="footer-text">\r
+Last updated 29-Jan-2007 02:55:06 UTC\r
+</div>\r
+</div>\r
+</body>\r
+</html>\r
--- /dev/null
+git-config(1)
+=============
+
+NAME
+----
+git-config - Get and set repository or global options
+
+
+SYNOPSIS
+--------
+[verse]
+'git-config' [--global] [type] name [value [value_regex]]
+'git-config' [--global] [type] --add name value
+'git-config' [--global] [type] --replace-all name [value [value_regex]]
+'git-config' [--global] [type] --get name [value_regex]
+'git-config' [--global] [type] --get-all name [value_regex]
+'git-config' [--global] [type] --unset name [value_regex]
+'git-config' [--global] [type] --unset-all name [value_regex]
+'git-config' [--global] -l | --list
+
+DESCRIPTION
+-----------
+You can query/set/replace/unset options with this command. The name is
+actually the section and the key separated by a dot, and the value will be
+escaped.
+
+Multiple lines can be added to an option by using the '--add' option.
+If you want to update or unset an option which can occur on multiple
+lines, a POSIX regexp `value_regex` needs to be given. Only the
+existing values that match the regexp are updated or unset. If
+you want to handle the lines that do *not* match the regex, just
+prepend a single exclamation mark in front (see EXAMPLES).
+
+The type specifier can be either '--int' or '--bool', which will make
+'git-config' ensure that the variable(s) are of the given type and
+convert the value to the canonical form (simple decimal number for int,
+a "true" or "false" string for bool). If no type specifier is passed,
+no checks or transformations are performed on the value.
+
+This command will fail if:
+
+. The .git/config file is invalid,
+. Can not write to .git/config,
+. no section was provided,
+. the section or key is invalid,
+. you try to unset an option which does not exist,
+. you try to unset/set an option for which multiple lines match, or
+. you use --global option without $HOME being properly set.
+
+
+OPTIONS
+-------
+
+--replace-all::
+ Default behavior is to replace at most one line. This replaces
+ all lines matching the key (and optionally the value_regex).
+
+--add::
+ Adds a new line to the option without altering any existing
+ values. This is the same as providing '^$' as the value_regex.
+
+--get::
+ Get the value for a given key (optionally filtered by a regex
+ matching the value). Returns error code 1 if the key was not
+ found and error code 2 if multiple key values were found.
+
+--get-all::
+ Like get, but does not fail if the number of values for the key
+ is not exactly one.
+
+--get-regexp::
+ Like --get-all, but interprets the name as a regular expression.
+
+--global::
+ Use global ~/.gitconfig file rather than the repository .git/config.
+
+--unset::
+ Remove the line matching the key from config file.
+
+--unset-all::
+ Remove all matching lines from config file.
+
+-l, --list::
+ List all variables set in config file.
+
+--bool::
+ git-config will ensure that the output is "true" or "false"
+
+--int::
+ git-config will ensure that the output is a simple
+ decimal number. An optional value suffix of 'k', 'm', or 'g'
+ in the config file will cause the value to be multiplied
+ by 1024, 1048576, or 1073741824 prior to output.
+
+
+ENVIRONMENT
+-----------
+
+GIT_CONFIG::
+ Take the configuration from the given file instead of .git/config.
+ Using the "--global" option forces this to ~/.gitconfig.
+
+GIT_CONFIG_LOCAL::
+ Currently the same as $GIT_CONFIG; when Git will support global
+ configuration files, this will cause it to take the configuration
+ from the global configuration file in addition to the given file.
+
+
+EXAMPLE
+-------
+
+Given a .git/config like this:
+
+ #
+ # This is the config file, and
+ # a '#' or ';' character indicates
+ # a comment
+ #
+
+ ; core variables
+ [core]
+ ; Don't trust file modes
+ filemode = false
+
+ ; Our diff algorithm
+ [diff]
+ external = "/usr/local/bin/gnu-diff -u"
+ renames = true
+
+ ; Proxy settings
+ [core]
+ gitproxy="ssh" for "ssh://kernel.org/"
+ gitproxy="proxy-command" for kernel.org
+ gitproxy="myprotocol-command" for "my://"
+ gitproxy=default-proxy ; for all the rest
+
+you can set the filemode to true with
+
+------------
+% git config core.filemode true
+------------
+
+The hypothetical proxy command entries actually have a postfix to discern
+what URL they apply to. Here is how to change the entry for kernel.org
+to "ssh".
+
+------------
+% git config core.gitproxy '"ssh" for kernel.org' 'for kernel.org$'
+------------
+
+This makes sure that only the key/value pair for kernel.org is replaced.
+
+To delete the entry for renames, do
+
+------------
+% git config --unset diff.renames
+------------
+
+If you want to delete an entry for a multivar (like core.gitproxy above),
+you have to provide a regex matching the value of exactly one line.
+
+To query the value for a given key, do
+
+------------
+% git config --get core.filemode
+------------
+
+or
+
+------------
+% git config core.filemode
+------------
+
+or, to query a multivar:
+
+------------
+% git config --get core.gitproxy "for kernel.org$"
+------------
+
+If you want to know all the values for a multivar, do:
+
+------------
+% git config --get-all core.gitproxy
+------------
+
+If you like to live dangerous, you can replace *all* core.gitproxy by a
+new one with
+
+------------
+% git config --replace-all core.gitproxy ssh
+------------
+
+However, if you really only want to replace the line for the default proxy,
+i.e. the one without a "for ..." postfix, do something like this:
+
+------------
+% git config core.gitproxy ssh '! for '
+------------
+
+To actually match only values with an exclamation mark, you have to
+
+------------
+% git config section.key value '[!]'
+------------
+
+To add a new proxy, without altering any of the existing ones, use
+
+------------
+% git config core.gitproxy '"proxy" for example.com'
+------------
+
+
+include::config.txt[]
+
+
+Author
+------
+Written by Johannes Schindelin <Johannes.Schindelin@gmx.de>
+
+Documentation
+--------------
+Documentation by Johannes Schindelin, Petr Baudis and the git-list <git@vger.kernel.org>.
+
+GIT
+---
+Part of the gitlink:git[7] suite
+
</div>\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
-<p><em>git-for-each-ref</em> [--count=<count>]* [--shell|--perl|--python] [--sort=<key>]* [--format=<format>] [<pattern>]</p>\r
+<p><em>git-for-each-ref</em> [--count=<count>]* [--shell|--perl|--python|--tcl] [--sort=<key>]* [--format=<format>] [<pattern>]</p>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
</p>\r
</dd>\r
<dt>\r
---shell, --perl, --python\r
+--shell, --perl, --python, --tcl\r
</dt>\r
<dd>\r
<p>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 17-Jan-2007 17:42:14 UTC\r
+Last updated 29-Jan-2007 02:55:07 UTC\r
</div>\r
</div>\r
</body>\r
SYNOPSIS
--------
-'git-for-each-ref' [--count=<count>]\* [--shell|--perl|--python] [--sort=<key>]\* [--format=<format>] [<pattern>]
+'git-for-each-ref' [--count=<count>]\* [--shell|--perl|--python|--tcl] [--sort=<key>]\* [--format=<format>] [<pattern>]
DESCRIPTION
-----------
using fnmatch(3). Refs that do not match the pattern
are not shown.
---shell, --perl, --python::
+--shell, --perl, --python, --tcl::
If given, strings that substitute `%(fieldname)`
placeholders are quoted as string literals suitable for
the specified host language. This is meant to produce
</div>\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
-<div class="verseblock">\r
-<div class="content"><em>git-fsck-objects</em> [--tags] [--root] [--unreachable] [--cache]\r
- [--full] [--strict] [<object>*]</div></div>\r
+<p><em>git-fsck-objects</em> …</p>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
-<p>Verifies the connectivity and validity of the objects in the database.</p>\r
-</div>\r
-<h2>OPTIONS</h2>\r
-<div class="sectionbody">\r
-<dl>\r
-<dt>\r
-<object>\r
-</dt>\r
-<dd>\r
-<p>\r
- An object to treat as the head of an unreachability trace.\r
-</p>\r
-<p>If no objects are given, git-fsck-objects defaults to using the\r
-index file and all SHA1 references in .git/refs/* as heads.</p>\r
-</dd>\r
-<dt>\r
---unreachable\r
-</dt>\r
-<dd>\r
-<p>\r
- Print out objects that exist but that aren't readable from any\r
- of the reference nodes.\r
-</p>\r
-</dd>\r
-<dt>\r
---root\r
-</dt>\r
-<dd>\r
-<p>\r
- Report root nodes.\r
-</p>\r
-</dd>\r
-<dt>\r
---tags\r
-</dt>\r
-<dd>\r
-<p>\r
- Report tags.\r
-</p>\r
-</dd>\r
-<dt>\r
---cache\r
-</dt>\r
-<dd>\r
-<p>\r
- Consider any object recorded in the index also as a head node for\r
- an unreachability trace.\r
-</p>\r
-</dd>\r
-<dt>\r
---full\r
-</dt>\r
-<dd>\r
-<p>\r
- Check not just objects in GIT_OBJECT_DIRECTORY\r
- ($GIT_DIR/objects), but also the ones found in alternate\r
- object pools listed in GIT_ALTERNATE_OBJECT_DIRECTORIES\r
- or $GIT_DIR/objects/info/alternates,\r
- and in packed git archives found in $GIT_DIR/objects/pack\r
- and corresponding pack subdirectories in alternate\r
- object pools.\r
-</p>\r
-</dd>\r
-<dt>\r
---strict\r
-</dt>\r
-<dd>\r
-<p>\r
- Enable more strict checking, namely to catch a file mode\r
- recorded with g+w bit set, which was created by older\r
- versions of git. Existing repositories, including the\r
- Linux kernel, git itself, and sparse repository have old\r
- objects that triggers this check, but it is recommended\r
- to check new projects with this flag.\r
-</p>\r
-</dd>\r
-</dl>\r
-<p>It tests SHA1 and general object sanity, and it does full tracking of\r
-the resulting reachability and everything else. It prints out any\r
-corruption it finds (missing or bad objects), and if you use the\r
-<em>--unreachable</em> flag it will also print out objects that exist but\r
-that aren't readable from any of the specified head nodes.</p>\r
-<p>So for example</p>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>git-fsck-objects --unreachable HEAD $(cat .git/refs/heads/*)</tt></pre>\r
-</div></div>\r
-<p>will do quite a _lot_ of verification on the tree. There are a few\r
-extra validity tests to be added (make sure that tree objects are\r
-sorted properly etc), but on the whole if "git-fsck-objects" is happy, you\r
-do have a valid tree.</p>\r
-<p>Any corrupt objects you will have to find in backups or other archives\r
-(i.e., you can just remove them and do an "rsync" with some other site in\r
-the hopes that somebody else has the object you have corrupted).</p>\r
-<p>Of course, "valid tree" doesn't mean that it wasn't generated by some\r
-evil person, and the end result might be crap. git is a revision\r
-tracking system, not a quality assurance system ;)</p>\r
-</div>\r
-<h2>Extracted Diagnostics</h2>\r
-<div class="sectionbody">\r
-<dl>\r
-<dt>\r
-expect dangling commits - potential heads - due to lack of head information\r
-</dt>\r
-<dd>\r
-<p>\r
- You haven't specified any nodes as heads so it won't be\r
- possible to differentiate between un-parented commits and\r
- root nodes.\r
-</p>\r
-</dd>\r
-<dt>\r
-missing sha1 directory <em><dir></em>\r
-</dt>\r
-<dd>\r
-<p>\r
- The directory holding the sha1 objects is missing.\r
-</p>\r
-</dd>\r
-<dt>\r
-unreachable <type> <object>\r
-</dt>\r
-<dd>\r
-<p>\r
- The <type> object <object>, isn't actually referred to directly\r
- or indirectly in any of the trees or commits seen. This can\r
- mean that there's another root node that you're not specifying\r
- or that the tree is corrupt. If you haven't missed a root node\r
- then you might as well delete unreachable nodes since they\r
- can't be used.\r
-</p>\r
-</dd>\r
-<dt>\r
-missing <type> <object>\r
-</dt>\r
-<dd>\r
-<p>\r
- The <type> object <object>, is referred to but isn't present in\r
- the database.\r
-</p>\r
-</dd>\r
-<dt>\r
-dangling <type> <object>\r
-</dt>\r
-<dd>\r
-<p>\r
- The <type> object <object>, is present in the database but never\r
- <em>directly</em> used. A dangling commit could be a root node.\r
-</p>\r
-</dd>\r
-<dt>\r
-warning: git-fsck-objects: tree <tree> has full pathnames in it\r
-</dt>\r
-<dd>\r
-<p>\r
- And it shouldn't…\r
-</p>\r
-</dd>\r
-<dt>\r
-sha1 mismatch <object>\r
-</dt>\r
-<dd>\r
-<p>\r
- The database has an object who's sha1 doesn't match the\r
- database value.\r
- This indicates a serious data integrity problem.\r
-</p>\r
-</dd>\r
-</dl>\r
-</div>\r
-<h2>Environment Variables</h2>\r
-<div class="sectionbody">\r
-<dl>\r
-<dt>\r
-GIT_OBJECT_DIRECTORY\r
-</dt>\r
-<dd>\r
-<p>\r
- used to specify the object database root (usually $GIT_DIR/objects)\r
-</p>\r
-</dd>\r
-<dt>\r
-GIT_INDEX_FILE\r
-</dt>\r
-<dd>\r
-<p>\r
- used to specify the index file of the index\r
-</p>\r
-</dd>\r
-<dt>\r
-GIT_ALTERNATE_OBJECT_DIRECTORIES\r
-</dt>\r
-<dd>\r
-<p>\r
- used to specify additional object database roots (usually unset)\r
-</p>\r
-</dd>\r
-</dl>\r
-</div>\r
-<h2>Author</h2>\r
-<div class="sectionbody">\r
-<p>Written by Linus Torvalds <torvalds@osdl.org></p>\r
-</div>\r
-<h2>Documentation</h2>\r
-<div class="sectionbody">\r
-<p>Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.</p>\r
-</div>\r
-<h2>GIT</h2>\r
-<div class="sectionbody">\r
-<p>Part of the <a href="git.html">git(7)</a> suite</p>\r
+<p>This is a synonym for <a href="git-fsck.html">git-fsck(1)</a>. Please refer to the\r
+documentation of that command.</p>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 03-Oct-2006 08:41:05 UTC\r
+Last updated 29-Jan-2007 02:55:08 UTC\r
</div>\r
</div>\r
</body>\r
SYNOPSIS
--------
-[verse]
-'git-fsck-objects' [--tags] [--root] [--unreachable] [--cache]
- [--full] [--strict] [<object>*]
+'git-fsck-objects' ...
DESCRIPTION
-----------
-Verifies the connectivity and validity of the objects in the database.
-
-OPTIONS
--------
-<object>::
- An object to treat as the head of an unreachability trace.
-+
-If no objects are given, git-fsck-objects defaults to using the
-index file and all SHA1 references in .git/refs/* as heads.
-
---unreachable::
- Print out objects that exist but that aren't readable from any
- of the reference nodes.
-
---root::
- Report root nodes.
-
---tags::
- Report tags.
-
---cache::
- Consider any object recorded in the index also as a head node for
- an unreachability trace.
-
---full::
- Check not just objects in GIT_OBJECT_DIRECTORY
- ($GIT_DIR/objects), but also the ones found in alternate
- object pools listed in GIT_ALTERNATE_OBJECT_DIRECTORIES
- or $GIT_DIR/objects/info/alternates,
- and in packed git archives found in $GIT_DIR/objects/pack
- and corresponding pack subdirectories in alternate
- object pools.
-
---strict::
- Enable more strict checking, namely to catch a file mode
- recorded with g+w bit set, which was created by older
- versions of git. Existing repositories, including the
- Linux kernel, git itself, and sparse repository have old
- objects that triggers this check, but it is recommended
- to check new projects with this flag.
-
-It tests SHA1 and general object sanity, and it does full tracking of
-the resulting reachability and everything else. It prints out any
-corruption it finds (missing or bad objects), and if you use the
-'--unreachable' flag it will also print out objects that exist but
-that aren't readable from any of the specified head nodes.
-
-So for example
-
- git-fsck-objects --unreachable HEAD $(cat .git/refs/heads/*)
-
-will do quite a _lot_ of verification on the tree. There are a few
-extra validity tests to be added (make sure that tree objects are
-sorted properly etc), but on the whole if "git-fsck-objects" is happy, you
-do have a valid tree.
-
-Any corrupt objects you will have to find in backups or other archives
-(i.e., you can just remove them and do an "rsync" with some other site in
-the hopes that somebody else has the object you have corrupted).
-
-Of course, "valid tree" doesn't mean that it wasn't generated by some
-evil person, and the end result might be crap. git is a revision
-tracking system, not a quality assurance system ;)
-
-Extracted Diagnostics
----------------------
-
-expect dangling commits - potential heads - due to lack of head information::
- You haven't specified any nodes as heads so it won't be
- possible to differentiate between un-parented commits and
- root nodes.
-
-missing sha1 directory '<dir>'::
- The directory holding the sha1 objects is missing.
-
-unreachable <type> <object>::
- The <type> object <object>, isn't actually referred to directly
- or indirectly in any of the trees or commits seen. This can
- mean that there's another root node that you're not specifying
- or that the tree is corrupt. If you haven't missed a root node
- then you might as well delete unreachable nodes since they
- can't be used.
-
-missing <type> <object>::
- The <type> object <object>, is referred to but isn't present in
- the database.
-
-dangling <type> <object>::
- The <type> object <object>, is present in the database but never
- 'directly' used. A dangling commit could be a root node.
-
-warning: git-fsck-objects: tree <tree> has full pathnames in it::
- And it shouldn't...
-
-sha1 mismatch <object>::
- The database has an object who's sha1 doesn't match the
- database value.
- This indicates a serious data integrity problem.
-
-Environment Variables
----------------------
-
-GIT_OBJECT_DIRECTORY::
- used to specify the object database root (usually $GIT_DIR/objects)
-
-GIT_INDEX_FILE::
- used to specify the index file of the index
-
-GIT_ALTERNATE_OBJECT_DIRECTORIES::
- used to specify additional object database roots (usually unset)
-
-Author
-------
-Written by Linus Torvalds <torvalds@osdl.org>
-
-Documentation
---------------
-Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
-
-GIT
----
-Part of the gitlink:git[7] suite
+This is a synonym for gitlink:git-fsck[1]. Please refer to the
+documentation of that command.
--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\r
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
+<head>\r
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
+<meta name="generator" content="AsciiDoc 7.0.2" />\r
+<style type="text/css">\r
+/* Debug borders */\r
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
+/*\r
+ border: 1px solid red;\r
+*/\r
+}\r
+\r
+body {\r
+ margin: 1em 5% 1em 5%;\r
+}\r
+\r
+a { color: blue; }\r
+a:visited { color: fuchsia; }\r
+\r
+em {\r
+ font-style: italic;\r
+}\r
+\r
+strong {\r
+ font-weight: bold;\r
+}\r
+\r
+tt {\r
+ color: navy;\r
+}\r
+\r
+h1, h2, h3, h4, h5, h6 {\r
+ color: #527bbd;\r
+ font-family: sans-serif;\r
+ margin-top: 1.2em;\r
+ margin-bottom: 0.5em;\r
+ line-height: 1.3;\r
+}\r
+\r
+h1 {\r
+ border-bottom: 2px solid silver;\r
+}\r
+h2 {\r
+ border-bottom: 2px solid silver;\r
+ padding-top: 0.5em;\r
+}\r
+\r
+div.sectionbody {\r
+ font-family: serif;\r
+ margin-left: 0;\r
+}\r
+\r
+hr {\r
+ border: 1px solid silver;\r
+}\r
+\r
+p {\r
+ margin-top: 0.5em;\r
+ margin-bottom: 0.5em;\r
+}\r
+\r
+pre {\r
+ padding: 0;\r
+ margin: 0;\r
+}\r
+\r
+span#author {\r
+ color: #527bbd;\r
+ font-family: sans-serif;\r
+ font-weight: bold;\r
+ font-size: 1.2em;\r
+}\r
+span#email {\r
+}\r
+span#revision {\r
+ font-family: sans-serif;\r
+}\r
+\r
+div#footer {\r
+ font-family: sans-serif;\r
+ font-size: small;\r
+ border-top: 2px solid silver;\r
+ padding-top: 0.5em;\r
+ margin-top: 4.0em;\r
+}\r
+div#footer-text {\r
+ float: left;\r
+ padding-bottom: 0.5em;\r
+}\r
+div#footer-badges {\r
+ float: right;\r
+ padding-bottom: 0.5em;\r
+}\r
+\r
+div#preamble,\r
+div.tableblock, div.imageblock, div.exampleblock, div.verseblock,\r
+div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,\r
+div.admonitionblock {\r
+ margin-right: 10%;\r
+ margin-top: 1.5em;\r
+ margin-bottom: 1.5em;\r
+}\r
+div.admonitionblock {\r
+ margin-top: 2.5em;\r
+ margin-bottom: 2.5em;\r
+}\r
+\r
+div.content { /* Block element content. */\r
+ padding: 0;\r
+}\r
+\r
+/* Block element titles. */\r
+div.title, caption.title {\r
+ font-family: sans-serif;\r
+ font-weight: bold;\r
+ text-align: left;\r
+ margin-top: 1.0em;\r
+ margin-bottom: 0.5em;\r
+}\r
+div.title + * {\r
+ margin-top: 0;\r
+}\r
+\r
+td div.title:first-child {\r
+ margin-top: 0.0em;\r
+}\r
+div.content div.title:first-child {\r
+ margin-top: 0.0em;\r
+}\r
+div.content + div.title {\r
+ margin-top: 0.0em;\r
+}\r
+\r
+div.sidebarblock > div.content {\r
+ background: #ffffee;\r
+ border: 1px solid silver;\r
+ padding: 0.5em;\r
+}\r
+\r
+div.listingblock > div.content {\r
+ border: 1px solid silver;\r
+ background: #f4f4f4;\r
+ padding: 0.5em;\r
+}\r
+\r
+div.quoteblock > div.content {\r
+ padding-left: 2.0em;\r
+}\r
+div.quoteblock .attribution {\r
+ text-align: right;\r
+}\r
+\r
+div.admonitionblock .icon {\r
+ vertical-align: top;\r
+ font-size: 1.1em;\r
+ font-weight: bold;\r
+ text-decoration: underline;\r
+ color: #527bbd;\r
+ padding-right: 0.5em;\r
+}\r
+div.admonitionblock td.content {\r
+ padding-left: 0.5em;\r
+ border-left: 2px solid silver;\r
+}\r
+\r
+div.exampleblock > div.content {\r
+ border-left: 2px solid silver;\r
+ padding: 0.5em;\r
+}\r
+\r
+div.verseblock div.content {\r
+ white-space: pre;\r
+}\r
+\r
+div.imageblock div.content { padding-left: 0; }\r
+div.imageblock img { border: 1px solid silver; }\r
+span.image img { border-style: none; }\r
+\r
+dl {\r
+ margin-top: 0.8em;\r
+ margin-bottom: 0.8em;\r
+}\r
+dt {\r
+ margin-top: 0.5em;\r
+ margin-bottom: 0;\r
+ font-style: italic;\r
+}\r
+dd > *:first-child {\r
+ margin-top: 0;\r
+}\r
+\r
+ul, ol {\r
+ list-style-position: outside;\r
+}\r
+ol.olist2 {\r
+ list-style-type: lower-alpha;\r
+}\r
+\r
+div.tableblock > table {\r
+ border-color: #527bbd;\r
+ border-width: 3px;\r
+}\r
+thead {\r
+ font-family: sans-serif;\r
+ font-weight: bold;\r
+}\r
+tfoot {\r
+ font-weight: bold;\r
+}\r
+\r
+div.hlist {\r
+ margin-top: 0.8em;\r
+ margin-bottom: 0.8em;\r
+}\r
+td.hlist1 {\r
+ vertical-align: top;\r
+ font-style: italic;\r
+ padding-right: 0.8em;\r
+}\r
+td.hlist2 {\r
+ vertical-align: top;\r
+}\r
+\r
+@media print {\r
+ div#footer-badges { display: none; }\r
+}\r
+include::./stylesheets/xhtml11-manpage.css[]\r
+/* Workarounds for IE6's broken and incomplete CSS2. */\r
+\r
+div.sidebar-content {\r
+ background: #ffffee;\r
+ border: 1px solid silver;\r
+ padding: 0.5em;\r
+}\r
+div.sidebar-title, div.image-title {\r
+ font-family: sans-serif;\r
+ font-weight: bold;\r
+ margin-top: 0.0em;\r
+ margin-bottom: 0.5em;\r
+}\r
+\r
+div.listingblock div.content {\r
+ border: 1px solid silver;\r
+ background: #f4f4f4;\r
+ padding: 0.5em;\r
+}\r
+\r
+div.quoteblock-content {\r
+ padding-left: 2.0em;\r
+}\r
+\r
+div.exampleblock-content {\r
+ border-left: 2px solid silver;\r
+ padding-left: 0.5em;\r
+}\r
+</style>\r
+<title>git-fsck(1)</title>\r
+</head>\r
+<body>\r
+<div id="header">\r
+<h1>\r
+git-fsck(1) Manual Page\r
+</h1>\r
+<h2>NAME</h2>\r
+<div class="sectionbody">\r
+<p>git-fsck -\r
+ Verifies the connectivity and validity of the objects in the database\r
+</p>\r
+</div>\r
+</div>\r
+<h2>SYNOPSIS</h2>\r
+<div class="sectionbody">\r
+<div class="verseblock">\r
+<div class="content"><em>git-fsck</em> [--tags] [--root] [--unreachable] [--cache]\r
+ [--full] [--strict] [<object>*]</div></div>\r
+</div>\r
+<h2>DESCRIPTION</h2>\r
+<div class="sectionbody">\r
+<p>Verifies the connectivity and validity of the objects in the database.</p>\r
+</div>\r
+<h2>OPTIONS</h2>\r
+<div class="sectionbody">\r
+<dl>\r
+<dt>\r
+<object>\r
+</dt>\r
+<dd>\r
+<p>\r
+ An object to treat as the head of an unreachability trace.\r
+</p>\r
+<p>If no objects are given, git-fsck defaults to using the\r
+index file and all SHA1 references in .git/refs/* as heads.</p>\r
+</dd>\r
+<dt>\r
+--unreachable\r
+</dt>\r
+<dd>\r
+<p>\r
+ Print out objects that exist but that aren't readable from any\r
+ of the reference nodes.\r
+</p>\r
+</dd>\r
+<dt>\r
+--root\r
+</dt>\r
+<dd>\r
+<p>\r
+ Report root nodes.\r
+</p>\r
+</dd>\r
+<dt>\r
+--tags\r
+</dt>\r
+<dd>\r
+<p>\r
+ Report tags.\r
+</p>\r
+</dd>\r
+<dt>\r
+--cache\r
+</dt>\r
+<dd>\r
+<p>\r
+ Consider any object recorded in the index also as a head node for\r
+ an unreachability trace.\r
+</p>\r
+</dd>\r
+<dt>\r
+--full\r
+</dt>\r
+<dd>\r
+<p>\r
+ Check not just objects in GIT_OBJECT_DIRECTORY\r
+ ($GIT_DIR/objects), but also the ones found in alternate\r
+ object pools listed in GIT_ALTERNATE_OBJECT_DIRECTORIES\r
+ or $GIT_DIR/objects/info/alternates,\r
+ and in packed git archives found in $GIT_DIR/objects/pack\r
+ and corresponding pack subdirectories in alternate\r
+ object pools.\r
+</p>\r
+</dd>\r
+<dt>\r
+--strict\r
+</dt>\r
+<dd>\r
+<p>\r
+ Enable more strict checking, namely to catch a file mode\r
+ recorded with g+w bit set, which was created by older\r
+ versions of git. Existing repositories, including the\r
+ Linux kernel, git itself, and sparse repository have old\r
+ objects that triggers this check, but it is recommended\r
+ to check new projects with this flag.\r
+</p>\r
+</dd>\r
+</dl>\r
+<p>It tests SHA1 and general object sanity, and it does full tracking of\r
+the resulting reachability and everything else. It prints out any\r
+corruption it finds (missing or bad objects), and if you use the\r
+<em>--unreachable</em> flag it will also print out objects that exist but\r
+that aren't readable from any of the specified head nodes.</p>\r
+<p>So for example</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>git-fsck --unreachable HEAD $(cat .git/refs/heads/*)</tt></pre>\r
+</div></div>\r
+<p>will do quite a _lot_ of verification on the tree. There are a few\r
+extra validity tests to be added (make sure that tree objects are\r
+sorted properly etc), but on the whole if "git-fsck" is happy, you\r
+do have a valid tree.</p>\r
+<p>Any corrupt objects you will have to find in backups or other archives\r
+(i.e., you can just remove them and do an "rsync" with some other site in\r
+the hopes that somebody else has the object you have corrupted).</p>\r
+<p>Of course, "valid tree" doesn't mean that it wasn't generated by some\r
+evil person, and the end result might be crap. git is a revision\r
+tracking system, not a quality assurance system ;)</p>\r
+</div>\r
+<h2>Extracted Diagnostics</h2>\r
+<div class="sectionbody">\r
+<dl>\r
+<dt>\r
+expect dangling commits - potential heads - due to lack of head information\r
+</dt>\r
+<dd>\r
+<p>\r
+ You haven't specified any nodes as heads so it won't be\r
+ possible to differentiate between un-parented commits and\r
+ root nodes.\r
+</p>\r
+</dd>\r
+<dt>\r
+missing sha1 directory <em><dir></em>\r
+</dt>\r
+<dd>\r
+<p>\r
+ The directory holding the sha1 objects is missing.\r
+</p>\r
+</dd>\r
+<dt>\r
+unreachable <type> <object>\r
+</dt>\r
+<dd>\r
+<p>\r
+ The <type> object <object>, isn't actually referred to directly\r
+ or indirectly in any of the trees or commits seen. This can\r
+ mean that there's another root node that you're not specifying\r
+ or that the tree is corrupt. If you haven't missed a root node\r
+ then you might as well delete unreachable nodes since they\r
+ can't be used.\r
+</p>\r
+</dd>\r
+<dt>\r
+missing <type> <object>\r
+</dt>\r
+<dd>\r
+<p>\r
+ The <type> object <object>, is referred to but isn't present in\r
+ the database.\r
+</p>\r
+</dd>\r
+<dt>\r
+dangling <type> <object>\r
+</dt>\r
+<dd>\r
+<p>\r
+ The <type> object <object>, is present in the database but never\r
+ <em>directly</em> used. A dangling commit could be a root node.\r
+</p>\r
+</dd>\r
+<dt>\r
+warning: git-fsck: tree <tree> has full pathnames in it\r
+</dt>\r
+<dd>\r
+<p>\r
+ And it shouldn't…\r
+</p>\r
+</dd>\r
+<dt>\r
+sha1 mismatch <object>\r
+</dt>\r
+<dd>\r
+<p>\r
+ The database has an object who's sha1 doesn't match the\r
+ database value.\r
+ This indicates a serious data integrity problem.\r
+</p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>Environment Variables</h2>\r
+<div class="sectionbody">\r
+<dl>\r
+<dt>\r
+GIT_OBJECT_DIRECTORY\r
+</dt>\r
+<dd>\r
+<p>\r
+ used to specify the object database root (usually $GIT_DIR/objects)\r
+</p>\r
+</dd>\r
+<dt>\r
+GIT_INDEX_FILE\r
+</dt>\r
+<dd>\r
+<p>\r
+ used to specify the index file of the index\r
+</p>\r
+</dd>\r
+<dt>\r
+GIT_ALTERNATE_OBJECT_DIRECTORIES\r
+</dt>\r
+<dd>\r
+<p>\r
+ used to specify additional object database roots (usually unset)\r
+</p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>Author</h2>\r
+<div class="sectionbody">\r
+<p>Written by Linus Torvalds <torvalds@osdl.org></p>\r
+</div>\r
+<h2>Documentation</h2>\r
+<div class="sectionbody">\r
+<p>Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.</p>\r
+</div>\r
+<h2>GIT</h2>\r
+<div class="sectionbody">\r
+<p>Part of the <a href="git.html">git(7)</a> suite</p>\r
+</div>\r
+<div id="footer">\r
+<div id="footer-text">\r
+Last updated 29-Jan-2007 02:55:08 UTC\r
+</div>\r
+</div>\r
+</body>\r
+</html>\r
--- /dev/null
+git-fsck(1)
+===========
+
+NAME
+----
+git-fsck - Verifies the connectivity and validity of the objects in the database
+
+
+SYNOPSIS
+--------
+[verse]
+'git-fsck' [--tags] [--root] [--unreachable] [--cache]
+ [--full] [--strict] [<object>*]
+
+DESCRIPTION
+-----------
+Verifies the connectivity and validity of the objects in the database.
+
+OPTIONS
+-------
+<object>::
+ An object to treat as the head of an unreachability trace.
++
+If no objects are given, git-fsck defaults to using the
+index file and all SHA1 references in .git/refs/* as heads.
+
+--unreachable::
+ Print out objects that exist but that aren't readable from any
+ of the reference nodes.
+
+--root::
+ Report root nodes.
+
+--tags::
+ Report tags.
+
+--cache::
+ Consider any object recorded in the index also as a head node for
+ an unreachability trace.
+
+--full::
+ Check not just objects in GIT_OBJECT_DIRECTORY
+ ($GIT_DIR/objects), but also the ones found in alternate
+ object pools listed in GIT_ALTERNATE_OBJECT_DIRECTORIES
+ or $GIT_DIR/objects/info/alternates,
+ and in packed git archives found in $GIT_DIR/objects/pack
+ and corresponding pack subdirectories in alternate
+ object pools.
+
+--strict::
+ Enable more strict checking, namely to catch a file mode
+ recorded with g+w bit set, which was created by older
+ versions of git. Existing repositories, including the
+ Linux kernel, git itself, and sparse repository have old
+ objects that triggers this check, but it is recommended
+ to check new projects with this flag.
+
+It tests SHA1 and general object sanity, and it does full tracking of
+the resulting reachability and everything else. It prints out any
+corruption it finds (missing or bad objects), and if you use the
+'--unreachable' flag it will also print out objects that exist but
+that aren't readable from any of the specified head nodes.
+
+So for example
+
+ git-fsck --unreachable HEAD $(cat .git/refs/heads/*)
+
+will do quite a _lot_ of verification on the tree. There are a few
+extra validity tests to be added (make sure that tree objects are
+sorted properly etc), but on the whole if "git-fsck" is happy, you
+do have a valid tree.
+
+Any corrupt objects you will have to find in backups or other archives
+(i.e., you can just remove them and do an "rsync" with some other site in
+the hopes that somebody else has the object you have corrupted).
+
+Of course, "valid tree" doesn't mean that it wasn't generated by some
+evil person, and the end result might be crap. git is a revision
+tracking system, not a quality assurance system ;)
+
+Extracted Diagnostics
+---------------------
+
+expect dangling commits - potential heads - due to lack of head information::
+ You haven't specified any nodes as heads so it won't be
+ possible to differentiate between un-parented commits and
+ root nodes.
+
+missing sha1 directory '<dir>'::
+ The directory holding the sha1 objects is missing.
+
+unreachable <type> <object>::
+ The <type> object <object>, isn't actually referred to directly
+ or indirectly in any of the trees or commits seen. This can
+ mean that there's another root node that you're not specifying
+ or that the tree is corrupt. If you haven't missed a root node
+ then you might as well delete unreachable nodes since they
+ can't be used.
+
+missing <type> <object>::
+ The <type> object <object>, is referred to but isn't present in
+ the database.
+
+dangling <type> <object>::
+ The <type> object <object>, is present in the database but never
+ 'directly' used. A dangling commit could be a root node.
+
+warning: git-fsck: tree <tree> has full pathnames in it::
+ And it shouldn't...
+
+sha1 mismatch <object>::
+ The database has an object who's sha1 doesn't match the
+ database value.
+ This indicates a serious data integrity problem.
+
+Environment Variables
+---------------------
+
+GIT_OBJECT_DIRECTORY::
+ used to specify the object database root (usually $GIT_DIR/objects)
+
+GIT_INDEX_FILE::
+ used to specify the index file of the index
+
+GIT_ALTERNATE_OBJECT_DIRECTORIES::
+ used to specify additional object database roots (usually unset)
+
+Author
+------
+Written by Linus Torvalds <torvalds@osdl.org>
+
+Documentation
+--------------
+Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
+
+GIT
+---
+Part of the gitlink:git[7] suite
+
given will be ignored when checking which packs are required. This makes the\r
following command useful when wanting to remove packs which contain unreachable\r
objects.</p>\r
-<p>git-fsck-objects --full --unreachable | cut -d <em> </em> -f3 | git-pack-redundant --all | xargs rm</p>\r
+<p>git-fsck --full --unreachable | cut -d <em> </em> -f3 | git-pack-redundant --all | xargs rm</p>\r
</div>\r
<h2>OPTIONS</h2>\r
<div class="sectionbody">\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 19-Jan-2007 00:37:26 UTC\r
+Last updated 29-Jan-2007 02:55:09 UTC\r
</div>\r
</div>\r
</body>\r
following command useful when wanting to remove packs which contain unreachable
objects.
-git-fsck-objects --full --unreachable | cut -d ' ' -f3 | \
+git-fsck --full --unreachable | cut -d ' ' -f3 | \
git-pack-redundant --all | xargs rm
OPTIONS
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
-<p>This runs <tt>git-fsck-objects --unreachable</tt> using all the refs\r
+<p>This runs <tt>git-fsck --unreachable</tt> using all the refs\r
available in <tt>$GIT_DIR/refs</tt>, optionally with additional set of\r
objects specified on the command line, and prunes all\r
objects unreachable from any of these head objects from the object database.\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 22-Jan-2007 08:59:53 UTC\r
+Last updated 29-Jan-2007 02:55:09 UTC\r
</div>\r
</div>\r
</body>\r
DESCRIPTION
-----------
-This runs `git-fsck-objects --unreachable` using all the refs
+This runs `git-fsck --unreachable` using all the refs
available in `$GIT_DIR/refs`, optionally with additional set of
objects specified on the command line, and prunes all
objects unreachable from any of these head objects from the object database.
current branch. Normally the branch merged in is\r
the HEAD of the remote repository, but the choice is\r
determined by the branch.<name>.remote and\r
- branch.<name>.merge options; see <a href="git-repo-config.html">git-repo-config(1)</a>\r
+ branch.<name>.merge options; see <a href="git-config.html">git-config(1)</a>\r
for details.\r
</p>\r
</dd>\r
</div>\r
<h2>SEE ALSO</h2>\r
<div class="sectionbody">\r
-<p><a href="git-fetch.html">git-fetch(1)</a>, <a href="git-merge.html">git-merge(1)</a>, <a href="git-repo-config.html">git-repo-config(1)</a></p>\r
+<p><a href="git-fetch.html">git-fetch(1)</a>, <a href="git-merge.html">git-merge(1)</a>, <a href="git-config.html">git-config(1)</a></p>\r
</div>\r
<h2>Author</h2>\r
<div class="sectionbody">\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 19-Jan-2007 00:37:28 UTC\r
+Last updated 29-Jan-2007 02:55:09 UTC\r
</div>\r
</div>\r
</body>\r
current branch. Normally the branch merged in is
the HEAD of the remote repository, but the choice is
determined by the branch.<name>.remote and
- branch.<name>.merge options; see gitlink:git-repo-config[1]
+ branch.<name>.merge options; see gitlink:git-config[1]
for details.
git pull origin next::
SEE ALSO
--------
-gitlink:git-fetch[1], gitlink:git-merge[1], gitlink:git-repo-config[1]
+gitlink:git-fetch[1], gitlink:git-merge[1], gitlink:git-config[1]
Author
<p>In the third form, gives some information about the remote <name>.</p>\r
<p>The remote configuration is achieved using the <tt>remote.origin.url</tt> and\r
<tt>remote.origin.fetch</tt> configuration variables. (See\r
-<a href="git-repo-config.html">git-repo-config(1)</a>).</p>\r
+<a href="git-config.html">git-config(1)</a>).</p>\r
</div>\r
<h2>Examples</h2>\r
<div class="sectionbody">\r
<div class="sectionbody">\r
<p><a href="git-fetch.html">git-fetch(1)</a>\r
<a href="git-branch.html">git-branch(1)</a>\r
-<a href="git-repo-config.html">git-repo-config(1)</a></p>\r
+<a href="git-config.html">git-config(1)</a></p>\r
</div>\r
<h2>Author</h2>\r
<div class="sectionbody">\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 09-Jan-2007 11:13:41 UTC\r
+Last updated 29-Jan-2007 02:55:10 UTC\r
</div>\r
</div>\r
</body>\r
The remote configuration is achieved using the `remote.origin.url` and
`remote.origin.fetch` configuration variables. (See
-gitlink:git-repo-config[1]).
+gitlink:git-config[1]).
Examples
--------
--------
gitlink:git-fetch[1]
gitlink:git-branch[1]
-gitlink:git-repo-config[1]
+gitlink:git-config[1]
Author
------
</div>\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
-<div class="verseblock">\r
-<div class="content"><em>git-repo-config</em> [--global] [type] name [value [value_regex]]\r
-<em>git-repo-config</em> [--global] [type] --add name value\r
-<em>git-repo-config</em> [--global] [type] --replace-all name [value [value_regex]]\r
-<em>git-repo-config</em> [--global] [type] --get name [value_regex]\r
-<em>git-repo-config</em> [--global] [type] --get-all name [value_regex]\r
-<em>git-repo-config</em> [--global] [type] --unset name [value_regex]\r
-<em>git-repo-config</em> [--global] [type] --unset-all name [value_regex]\r
-<em>git-repo-config</em> [--global] -l | --list</div></div>\r
+<p><em>git-repo-config</em> …</p>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
-<p>You can query/set/replace/unset options with this command. The name is\r
-actually the section and the key separated by a dot, and the value will be\r
-escaped.</p>\r
-<p>Multiple lines can be added to an option by using the <em>--add</em> option.\r
-If you want to update or unset an option which can occur on multiple\r
-lines, a POSIX regexp <tt>value_regex</tt> needs to be given. Only the\r
-existing values that match the regexp are updated or unset. If\r
-you want to handle the lines that do <strong>not</strong> match the regex, just\r
-prepend a single exclamation mark in front (see EXAMPLES).</p>\r
-<p>The type specifier can be either <em>--int</em> or <em>--bool</em>, which will make\r
-<em>git-repo-config</em> ensure that the variable(s) are of the given type and\r
-convert the value to the canonical form (simple decimal number for int,\r
-a "true" or "false" string for bool). If no type specifier is passed,\r
-no checks or transformations are performed on the value.</p>\r
-<p>This command will fail if:</p>\r
-<ol>\r
-<li>\r
-<p>\r
-The .git/config file is invalid,\r
-</p>\r
-</li>\r
-<li>\r
-<p>\r
-Can not write to .git/config,\r
-</p>\r
-</li>\r
-<li>\r
-<p>\r
-no section was provided,\r
-</p>\r
-</li>\r
-<li>\r
-<p>\r
-the section or key is invalid,\r
-</p>\r
-</li>\r
-<li>\r
-<p>\r
-you try to unset an option which does not exist,\r
-</p>\r
-</li>\r
-<li>\r
-<p>\r
-you try to unset/set an option for which multiple lines match, or\r
-</p>\r
-</li>\r
-<li>\r
-<p>\r
-you use --global option without $HOME being properly set.\r
-</p>\r
-</li>\r
-</ol>\r
-</div>\r
-<h2>OPTIONS</h2>\r
-<div class="sectionbody">\r
-<dl>\r
-<dt>\r
---replace-all\r
-</dt>\r
-<dd>\r
-<p>\r
- Default behavior is to replace at most one line. This replaces\r
- all lines matching the key (and optionally the value_regex).\r
-</p>\r
-</dd>\r
-<dt>\r
---add\r
-</dt>\r
-<dd>\r
-<p>\r
- Adds a new line to the option without altering any existing\r
- values. This is the same as providing <em>^$</em> as the value_regex.\r
-</p>\r
-</dd>\r
-<dt>\r
---get\r
-</dt>\r
-<dd>\r
-<p>\r
- Get the value for a given key (optionally filtered by a regex\r
- matching the value). Returns error code 1 if the key was not\r
- found and error code 2 if multiple key values were found.\r
-</p>\r
-</dd>\r
-<dt>\r
---get-all\r
-</dt>\r
-<dd>\r
-<p>\r
- Like get, but does not fail if the number of values for the key\r
- is not exactly one.\r
-</p>\r
-</dd>\r
-<dt>\r
---get-regexp\r
-</dt>\r
-<dd>\r
-<p>\r
- Like --get-all, but interprets the name as a regular expression.\r
-</p>\r
-</dd>\r
-<dt>\r
---global\r
-</dt>\r
-<dd>\r
-<p>\r
- Use global ~/.gitconfig file rather than the repository .git/config.\r
-</p>\r
-</dd>\r
-<dt>\r
---unset\r
-</dt>\r
-<dd>\r
-<p>\r
- Remove the line matching the key from config file.\r
-</p>\r
-</dd>\r
-<dt>\r
---unset-all\r
-</dt>\r
-<dd>\r
-<p>\r
- Remove all matching lines from config file.\r
-</p>\r
-</dd>\r
-<dt>\r
--l, --list\r
-</dt>\r
-<dd>\r
-<p>\r
- List all variables set in config file.\r
-</p>\r
-</dd>\r
-<dt>\r
---bool\r
-</dt>\r
-<dd>\r
-<p>\r
- git-repo-config will ensure that the output is "true" or "false"\r
-</p>\r
-</dd>\r
-<dt>\r
---int\r
-</dt>\r
-<dd>\r
-<p>\r
- git-repo-config will ensure that the output is a simple\r
- decimal number. An optional value suffix of <em>k</em>, <em>m</em>, or <em>g</em>\r
- in the config file will cause the value to be multiplied\r
- by 1024, 1048576, or 1073741824 prior to output.\r
-</p>\r
-</dd>\r
-</dl>\r
-</div>\r
-<h2>ENVIRONMENT</h2>\r
-<div class="sectionbody">\r
-<dl>\r
-<dt>\r
-GIT_CONFIG\r
-</dt>\r
-<dd>\r
-<p>\r
- Take the configuration from the given file instead of .git/config.\r
- Using the "--global" option forces this to ~/.gitconfig.\r
-</p>\r
-</dd>\r
-<dt>\r
-GIT_CONFIG_LOCAL\r
-</dt>\r
-<dd>\r
-<p>\r
- Currently the same as $GIT_CONFIG; when Git will support global\r
- configuration files, this will cause it to take the configuration\r
- from the global configuration file in addition to the given file.\r
-</p>\r
-</dd>\r
-</dl>\r
-</div>\r
-<h2>EXAMPLE</h2>\r
-<div class="sectionbody">\r
-<p>Given a .git/config like this:</p>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>#\r
-# This is the config file, and\r
-# a '#' or ';' character indicates\r
-# a comment\r
-#</tt></pre>\r
-</div></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>; core variables\r
-[core]\r
- ; Don't trust file modes\r
- filemode = false</tt></pre>\r
-</div></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>; Our diff algorithm\r
-[diff]\r
- external = "/usr/local/bin/gnu-diff -u"\r
- renames = true</tt></pre>\r
-</div></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>; Proxy settings\r
-[core]\r
- gitproxy="ssh" for "ssh://kernel.org/"\r
- gitproxy="proxy-command" for kernel.org\r
- gitproxy="myprotocol-command" for "my://"\r
- gitproxy=default-proxy ; for all the rest</tt></pre>\r
-</div></div>\r
-<p>you can set the filemode to true with</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config core.filemode true</tt></pre>\r
-</div></div>\r
-<p>The hypothetical proxy command entries actually have a postfix to discern\r
-what URL they apply to. Here is how to change the entry for kernel.org\r
-to "ssh".</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config core.gitproxy '"ssh" for kernel.org' 'for kernel.org$'</tt></pre>\r
-</div></div>\r
-<p>This makes sure that only the key/value pair for kernel.org is replaced.</p>\r
-<p>To delete the entry for renames, do</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config --unset diff.renames</tt></pre>\r
-</div></div>\r
-<p>If you want to delete an entry for a multivar (like core.gitproxy above),\r
-you have to provide a regex matching the value of exactly one line.</p>\r
-<p>To query the value for a given key, do</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config --get core.filemode</tt></pre>\r
-</div></div>\r
-<p>or</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config core.filemode</tt></pre>\r
-</div></div>\r
-<p>or, to query a multivar:</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config --get core.gitproxy "for kernel.org$"</tt></pre>\r
-</div></div>\r
-<p>If you want to know all the values for a multivar, do:</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config --get-all core.gitproxy</tt></pre>\r
-</div></div>\r
-<p>If you like to live dangerous, you can replace <strong>all</strong> core.gitproxy by a\r
-new one with</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config --replace-all core.gitproxy ssh</tt></pre>\r
-</div></div>\r
-<p>However, if you really only want to replace the line for the default proxy,\r
-i.e. the one without a "for …" postfix, do something like this:</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config core.gitproxy ssh '! for '</tt></pre>\r
-</div></div>\r
-<p>To actually match only values with an exclamation mark, you have to</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config section.key value '[!]'</tt></pre>\r
-</div></div>\r
-<p>To add a new proxy, without altering any of the existing ones, use</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt>% git repo-config core.gitproxy '"proxy" for example.com'</tt></pre>\r
-</div></div>\r
-</div>\r
-<h2>CONFIGURATION FILE</h2>\r
-<div class="sectionbody">\r
-<p>The git configuration file contains a number of variables that affect\r
-the git command's behavior. <tt>.git/config</tt> file for each repository\r
-is used to store the information for that repository, and\r
-<tt>$HOME/.gitconfig</tt> is used to store per user information to give\r
-fallback values for <tt>.git/config</tt> file.</p>\r
-<p>They can be used by both the git plumbing\r
-and the porcelains. The variables are divided into sections, where\r
-in the fully qualified variable name the variable itself is the last\r
-dot-separated segment and the section name is everything before the last\r
-dot. The variable names are case-insensitive and only alphanumeric\r
-characters are allowed. Some variables may appear multiple times.</p>\r
-<h3>Syntax</h3>\r
-<p>The syntax is fairly flexible and permissive; whitespaces are mostly\r
-ignored. The <em>#</em> and <em>;</em> characters begin comments to the end of line,\r
-blank lines are ignored.</p>\r
-<p>The file consists of sections and variables. A section begins with\r
-the name of the section in square brackets and continues until the next\r
-section begins. Section names are not case sensitive. Only alphanumeric\r
-characters, <em><tt>-</tt></em> and <em><tt>.</tt></em> are allowed in section names. Each variable\r
-must belong to some section, which means that there must be section\r
-header before first setting of a variable.</p>\r
-<p>Sections can be further divided into subsections. To begin a subsection\r
-put its name in double quotes, separated by space from the section name,\r
-in the section header, like in example below:</p>\r
-<div class="listingblock">\r
-<div class="content">\r
-<pre><tt> [section "subsection"]\r
-</tt></pre>\r
-</div></div>\r
-<p>Subsection names can contain any characters except newline (doublequote\r
-<em><tt>"</tt></em> and backslash have to be escaped as <em><tt>\"</tt></em> and <em><tt>\\</tt></em>,\r
-respecitvely) and are case sensitive. Section header cannot span multiple\r
-lines. Variables may belong directly to a section or to a given subsection.\r
-You can have <tt>[section]</tt> if you have <tt>[section "subsection"]</tt>, but you\r
-don't need to.</p>\r
-<p>There is also (case insensitive) alternative <tt>[section.subsection]</tt> syntax.\r
-In this syntax subsection names follow the same restrictions as for section\r
-name.</p>\r
-<p>All the other lines are recognized as setting variables, in the form\r
-<em>name = value</em>. If there is no equal sign on the line, the entire line\r
-is taken as <em>name</em> and the variable is recognized as boolean "true".\r
-The variable names are case-insensitive and only alphanumeric\r
-characters and <em><tt>-</tt></em> are allowed. There can be more than one value\r
-for a given variable; we say then that variable is multivalued.</p>\r
-<p>Leading and trailing whitespace in a variable value is discarded.\r
-Internal whitespace within a variable value is retained verbatim.</p>\r
-<p>The values following the equals sign in variable assign are all either\r
-a string, an integer, or a boolean. Boolean values may be given as yes/no,\r
-0/1 or true/false. Case is not significant in boolean values, when\r
-converting value to the canonical form using <em>--bool</em> type specifier;\r
-<tt>git-repo-config</tt> will ensure that the output is "true" or "false".</p>\r
-<p>String values may be entirely or partially enclosed in double quotes.\r
-You need to enclose variable value in double quotes if you want to\r
-preserve leading or trailing whitespace, or if variable value contains\r
-beginning of comment characters (if it contains <em>#</em> or <em>;</em>).\r
-Double quote <em><tt>"</tt></em> and backslash <em><tt>\</tt></em> characters in variable value must\r
-be escaped: use <em><tt>\"</tt></em> for <em><tt>"</tt></em> and <em><tt>\\</tt></em> for <em><tt>\</tt></em>.</p>\r
-<p>The following escape sequences (beside <em><tt>\"</tt></em> and <em><tt>\\</tt></em>) are recognized:\r
-<em><tt>\n</tt></em> for newline character (NL), <em><tt>\t</tt></em> for horizontal tabulation (HT, TAB)\r
-and <em><tt>\b</tt></em> for backspace (BS). No other char escape sequence, nor octal\r
-char sequences are valid.</p>\r
-<p>Variable value ending in a <em><tt>\</tt></em> is continued on the next line in the\r
-customary UNIX fashion.</p>\r
-<p>Some variables may require special value format.</p>\r
-<h3>Example</h3>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt># Core variables\r
-[core]\r
- ; Don't trust file modes\r
- filemode = false</tt></pre>\r
-</div></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt># Our diff algorithm\r
-[diff]\r
- external = "/usr/local/bin/gnu-diff -u"\r
- renames = true</tt></pre>\r
-</div></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>[branch "devel"]\r
- remote = origin\r
- merge = refs/heads/devel</tt></pre>\r
-</div></div>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt># Proxy settings\r
-[core]\r
- gitProxy="ssh" for "ssh://kernel.org/"\r
- gitProxy=default-proxy ; for the rest</tt></pre>\r
-</div></div>\r
-<h3>Variables</h3>\r
-<p>Note that this list is non-comprehensive and not necessarily complete.\r
-For command-specific variables, you will find a more detailed description\r
-in the appropriate manual page. You will find a description of non-core\r
-porcelain configuration variables in the respective porcelain documentation.</p>\r
-<dl>\r
-<dt>\r
-core.fileMode\r
-</dt>\r
-<dd>\r
-<p>\r
- If false, the executable bit differences between the index and\r
- the working copy are ignored; useful on broken filesystems like FAT.\r
- See <a href="git-update-index.html">git-update-index(1)</a>. True by default.\r
-</p>\r
-</dd>\r
-<dt>\r
-core.gitProxy\r
-</dt>\r
-<dd>\r
-<p>\r
- A "proxy command" to execute (as <em>command host port</em>) instead\r
- of establishing direct connection to the remote server when\r
- using the git protocol for fetching. If the variable value is\r
- in the "COMMAND for DOMAIN" format, the command is applied only\r
- on hostnames ending with the specified domain string. This variable\r
- may be set multiple times and is matched in the given order;\r
- the first match wins.\r
-</p>\r
-<p>Can be overridden by the <em>GIT_PROXY_COMMAND</em> environment variable\r
-(which always applies universally, without the special "for"\r
-handling).</p>\r
-</dd>\r
-<dt>\r
-core.ignoreStat\r
-</dt>\r
-<dd>\r
-<p>\r
- The working copy files are assumed to stay unchanged until you\r
- mark them otherwise manually - Git will not detect the file changes\r
- by lstat() calls. This is useful on systems where those are very\r
- slow, such as Microsoft Windows. See <a href="git-update-index.html">git-update-index(1)</a>.\r
- False by default.\r
-</p>\r
-</dd>\r
-<dt>\r
-core.preferSymlinkRefs\r
-</dt>\r
-<dd>\r
-<p>\r
- Instead of the default "symref" format for HEAD\r
- and other symbolic reference files, use symbolic links.\r
- This is sometimes needed to work with old scripts that\r
- expect HEAD to be a symbolic link.\r
-</p>\r
-</dd>\r
-<dt>\r
-core.logAllRefUpdates\r
-</dt>\r
-<dd>\r
-<p>\r
- Updates to a ref <ref> is logged to the file\r
- "$GIT_DIR/logs/<ref>", by appending the new and old\r
- SHA1, the date/time and the reason of the update, but\r
- only when the file exists. If this configuration\r
- variable is set to true, missing "$GIT_DIR/logs/<ref>"\r
- file is automatically created for branch heads.\r
-</p>\r
-<p>This information can be used to determine what commit\r
-was the tip of a branch "2 days ago".</p>\r
-<p>This value is true by default in a repository that has\r
-a working directory associated with it, and false by\r
-default in a bare repository.</p>\r
-</dd>\r
-<dt>\r
-core.repositoryFormatVersion\r
-</dt>\r
-<dd>\r
-<p>\r
- Internal variable identifying the repository format and layout\r
- version.\r
-</p>\r
-</dd>\r
-<dt>\r
-core.sharedRepository\r
-</dt>\r
-<dd>\r
-<p>\r
- When <em>group</em> (or <em>true</em>), the repository is made shareable between\r
- several users in a group (making sure all the files and objects are\r
- group-writable). When <em>all</em> (or <em>world</em> or <em>everybody</em>), the\r
- repository will be readable by all users, additionally to being\r
- group-shareable. When <em>umask</em> (or <em>false</em>), git will use permissions\r
- reported by umask(2). See <a href="git-init.html">git-init(1)</a>. False by default.\r
-</p>\r
-</dd>\r
-<dt>\r
-core.warnAmbiguousRefs\r
-</dt>\r
-<dd>\r
-<p>\r
- If true, git will warn you if the ref name you passed it is ambiguous\r
- and might match multiple refs in the .git/refs/ tree. True by default.\r
-</p>\r
-</dd>\r
-<dt>\r
-core.compression\r
-</dt>\r
-<dd>\r
-<p>\r
- An integer -1..9, indicating the compression level for objects that\r
- are not in a pack file. -1 is the zlib and git default. 0 means no\r
- compression, and 1..9 are various speed/size tradeoffs, 9 being\r
- slowest.\r
-</p>\r
-</dd>\r
-<dt>\r
-core.legacyheaders\r
-</dt>\r
-<dd>\r
-<p>\r
- A boolean which enables the legacy object header format in case\r
- you want to interoperate with old clients accessing the object\r
- database directly (where the "http://" and "rsync://" protocols\r
- count as direct access).\r
-</p>\r
-</dd>\r
-<dt>\r
-core.packedGitWindowSize\r
-</dt>\r
-<dd>\r
-<p>\r
- Number of bytes of a pack file to map into memory in a\r
- single mapping operation. Larger window sizes may allow\r
- your system to process a smaller number of large pack files\r
- more quickly. Smaller window sizes will negatively affect\r
- performance due to increased calls to the operating system's\r
- memory manager, but may improve performance when accessing\r
- a large number of large pack files.\r
-</p>\r
-<p>Default is 1 MiB if NO_MMAP was set at compile time, otherwise 32\r
-MiB on 32 bit platforms and 1 GiB on 64 bit platforms. This should\r
-be reasonable for all users/operating systems. You probably do\r
-not need to adjust this value.</p>\r
-<p>Common unit suffixes of <em>k</em>, <em>m</em>, or <em>g</em> are supported.</p>\r
-</dd>\r
-<dt>\r
-core.packedGitLimit\r
-</dt>\r
-<dd>\r
-<p>\r
- Maximum number of bytes to map simultaneously into memory\r
- from pack files. If Git needs to access more than this many\r
- bytes at once to complete an operation it will unmap existing\r
- regions to reclaim virtual address space within the process.\r
-</p>\r
-<p>Default is 256 MiB on 32 bit platforms and 8 GiB on 64 bit platforms.\r
-This should be reasonable for all users/operating systems, except on\r
-the largest projects. You probably do not need to adjust this value.</p>\r
-<p>Common unit suffixes of <em>k</em>, <em>m</em>, or <em>g</em> are supported.</p>\r
-</dd>\r
-<dt>\r
-alias.*\r
-</dt>\r
-<dd>\r
-<p>\r
- Command aliases for the <a href="git.html">git(1)</a> command wrapper - e.g.\r
- after defining "alias.last = cat-file commit HEAD", the invocation\r
- "git last" is equivalent to "git cat-file commit HEAD". To avoid\r
- confusion and troubles with script usage, aliases that\r
- hide existing git commands are ignored. Arguments are split by\r
- spaces, the usual shell quoting and escaping is supported.\r
- quote pair and a backslash can be used to quote them.\r
-</p>\r
-</dd>\r
-<dt>\r
-apply.whitespace\r
-</dt>\r
-<dd>\r
-<p>\r
- Tells <tt>git-apply</tt> how to handle whitespaces, in the same way\r
- as the <em>--whitespace</em> option. See <a href="git-apply.html">git-apply(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-branch.<name>.remote\r
-</dt>\r
-<dd>\r
-<p>\r
- When in branch <name>, it tells <tt>git fetch</tt> which remote to fetch.\r
- If this option is not given, <tt>git fetch</tt> defaults to remote "origin".\r
-</p>\r
-</dd>\r
-<dt>\r
-branch.<name>.merge\r
-</dt>\r
-<dd>\r
-<p>\r
- When in branch <name>, it tells <tt>git fetch</tt> the default refspec to\r
- be marked for merging in FETCH_HEAD. The value has exactly to match\r
- a remote part of one of the refspecs which are fetched from the remote\r
- given by "branch.<name>.remote".\r
- The merge information is used by <tt>git pull</tt> (which at first calls\r
- <tt>git fetch</tt>) to lookup the default branch for merging. Without\r
- this option, <tt>git pull</tt> defaults to merge the first refspec fetched.\r
- Specify multiple values to get an octopus merge.\r
-</p>\r
-</dd>\r
-<dt>\r
-color.branch\r
-</dt>\r
-<dd>\r
-<p>\r
- A boolean to enable/disable color in the output of\r
- <a href="git-branch.html">git-branch(1)</a>. May be set to <tt>true</tt> (or <tt>always</tt>),\r
- <tt>false</tt> (or <tt>never</tt>) or <tt>auto</tt>, in which case colors are used\r
- only when the output is to a terminal. Defaults to false.\r
-</p>\r
-</dd>\r
-<dt>\r
-color.branch.<slot>\r
-</dt>\r
-<dd>\r
-<p>\r
- Use customized color for branch coloration. <tt><slot></tt> is one of\r
- <tt>current</tt> (the current branch), <tt>local</tt> (a local branch),\r
- <tt>remote</tt> (a tracking branch in refs/remotes/), <tt>plain</tt> (other\r
- refs).\r
-</p>\r
-<p>The value for these configuration variables is a list of colors (at most\r
-two) and attributes (at most one), separated by spaces. The colors\r
-accepted are <tt>normal</tt>, <tt>black</tt>, <tt>red</tt>, <tt>green</tt>, <tt>yellow</tt>, <tt>blue</tt>,\r
-<tt>magenta</tt>, <tt>cyan</tt> and <tt>white</tt>; the attributes are <tt>bold</tt>, <tt>dim</tt>, <tt>ul</tt>,\r
-<tt>blink</tt> and <tt>reverse</tt>. The first color given is the foreground; the\r
-second is the background. The position of the attribute, if any,\r
-doesn't matter.</p>\r
-</dd>\r
-<dt>\r
-color.diff\r
-</dt>\r
-<dd>\r
-<p>\r
- When true (or <tt>always</tt>), always use colors in patch.\r
- When false (or <tt>never</tt>), never. When set to <tt>auto</tt>, use\r
- colors only when the output is to the terminal.\r
-</p>\r
-</dd>\r
-<dt>\r
-color.diff.<slot>\r
-</dt>\r
-<dd>\r
-<p>\r
- Use customized color for diff colorization. <tt><slot></tt> specifies\r
- which part of the patch to use the specified color, and is one\r
- of <tt>plain</tt> (context text), <tt>meta</tt> (metainformation), <tt>frag</tt>\r
- (hunk header), <tt>old</tt> (removed lines), <tt>new</tt> (added lines),\r
- <tt>commit</tt> (commit headers), or <tt>whitespace</tt> (highlighting dubious\r
- whitespace). The values of these variables may be specified as\r
- in color.branch.<slot>.\r
-</p>\r
-</dd>\r
-<dt>\r
-color.pager\r
-</dt>\r
-<dd>\r
-<p>\r
- A boolean to enable/disable colored output when the pager is in\r
- use (default is true).\r
-</p>\r
-</dd>\r
-<dt>\r
-color.status\r
-</dt>\r
-<dd>\r
-<p>\r
- A boolean to enable/disable color in the output of\r
- <a href="git-status.html">git-status(1)</a>. May be set to <tt>true</tt> (or <tt>always</tt>),\r
- <tt>false</tt> (or <tt>never</tt>) or <tt>auto</tt>, in which case colors are used\r
- only when the output is to a terminal. Defaults to false.\r
-</p>\r
-</dd>\r
-<dt>\r
-color.status.<slot>\r
-</dt>\r
-<dd>\r
-<p>\r
- Use customized color for status colorization. <tt><slot></tt> is\r
- one of <tt>header</tt> (the header text of the status message),\r
- <tt>added</tt> or <tt>updated</tt> (files which are added but not committed),\r
- <tt>changed</tt> (files which are changed but not added in the index),\r
- or <tt>untracked</tt> (files which are not tracked by git). The values of\r
- these variables may be specified as in color.branch.<slot>.\r
-</p>\r
-</dd>\r
-<dt>\r
-diff.renameLimit\r
-</dt>\r
-<dd>\r
-<p>\r
- The number of files to consider when performing the copy/rename\r
- detection; equivalent to the git diff option <em>-l</em>.\r
-</p>\r
-</dd>\r
-<dt>\r
-diff.renames\r
-</dt>\r
-<dd>\r
-<p>\r
- Tells git to detect renames. If set to any boolean value, it\r
- will enable basic rename detection. If set to "copies" or\r
- "copy", it will detect copies, as well.\r
-</p>\r
-</dd>\r
-<dt>\r
-fetch.unpackLimit\r
-</dt>\r
-<dd>\r
-<p>\r
- If the number of objects fetched over the git native\r
- transfer is below this\r
- limit, then the objects will be unpacked into loose object\r
- files. However if the number of received objects equals or\r
- exceeds this limit then the received pack will be stored as\r
- a pack, after adding any missing delta bases. Storing the\r
- pack from a push can make the push operation complete faster,\r
- especially on slow filesystems.\r
-</p>\r
-</dd>\r
-<dt>\r
-format.headers\r
-</dt>\r
-<dd>\r
-<p>\r
- Additional email headers to include in a patch to be submitted\r
- by mail. See <a href="git-format-patch.html">git-format-patch(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-gc.reflogexpire\r
-</dt>\r
-<dd>\r
-<p>\r
- <tt>git reflog expire</tt> removes reflog entries older than\r
- this time; defaults to 90 days.\r
-</p>\r
-</dd>\r
-<dt>\r
-gc.reflogexpireunreachable\r
-</dt>\r
-<dd>\r
-<p>\r
- <tt>git reflog expire</tt> removes reflog entries older than\r
- this time and are not reachable from the current tip;\r
- defaults to 30 days.\r
-</p>\r
-</dd>\r
-<dt>\r
-gc.rerereresolved\r
-</dt>\r
-<dd>\r
-<p>\r
- Records of conflicted merge you resolved earlier are\r
- kept for this many days when <tt>git rerere gc</tt> is run.\r
- The default is 60 days. See <a href="git-rerere.html">git-rerere(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-gc.rerereunresolved\r
-</dt>\r
-<dd>\r
-<p>\r
- Records of conflicted merge you have not resolved are\r
- kept for this many days when <tt>git rerere gc</tt> is run.\r
- The default is 15 days. See <a href="git-rerere.html">git-rerere(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-gitcvs.enabled\r
-</dt>\r
-<dd>\r
-<p>\r
- Whether the cvs pserver interface is enabled for this repository.\r
- See <a href="git-cvsserver.html">git-cvsserver(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-gitcvs.logfile\r
-</dt>\r
-<dd>\r
-<p>\r
- Path to a log file where the cvs pserver interface well… logs\r
- various stuff. See <a href="git-cvsserver.html">git-cvsserver(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-http.sslVerify\r
-</dt>\r
-<dd>\r
-<p>\r
- Whether to verify the SSL certificate when fetching or pushing\r
- over HTTPS. Can be overridden by the <em>GIT_SSL_NO_VERIFY</em> environment\r
- variable.\r
-</p>\r
-</dd>\r
-<dt>\r
-http.sslCert\r
-</dt>\r
-<dd>\r
-<p>\r
- File containing the SSL certificate when fetching or pushing\r
- over HTTPS. Can be overridden by the <em>GIT_SSL_CERT</em> environment\r
- variable.\r
-</p>\r
-</dd>\r
-<dt>\r
-http.sslKey\r
-</dt>\r
-<dd>\r
-<p>\r
- File containing the SSL private key when fetching or pushing\r
- over HTTPS. Can be overridden by the <em>GIT_SSL_KEY</em> environment\r
- variable.\r
-</p>\r
-</dd>\r
-<dt>\r
-http.sslCAInfo\r
-</dt>\r
-<dd>\r
-<p>\r
- File containing the certificates to verify the peer with when\r
- fetching or pushing over HTTPS. Can be overridden by the\r
- <em>GIT_SSL_CAINFO</em> environment variable.\r
-</p>\r
-</dd>\r
-<dt>\r
-http.sslCAPath\r
-</dt>\r
-<dd>\r
-<p>\r
- Path containing files with the CA certificates to verify the peer\r
- with when fetching or pushing over HTTPS. Can be overridden\r
- by the <em>GIT_SSL_CAPATH</em> environment variable.\r
-</p>\r
-</dd>\r
-<dt>\r
-http.maxRequests\r
-</dt>\r
-<dd>\r
-<p>\r
- How many HTTP requests to launch in parallel. Can be overridden\r
- by the <em>GIT_HTTP_MAX_REQUESTS</em> environment variable. Default is 5.\r
-</p>\r
-</dd>\r
-<dt>\r
-http.lowSpeedLimit, http.lowSpeedTime\r
-</dt>\r
-<dd>\r
-<p>\r
- If the HTTP transfer speed is less than <em>http.lowSpeedLimit</em>\r
- for longer than <em>http.lowSpeedTime</em> seconds, the transfer is aborted.\r
- Can be overridden by the <em>GIT_HTTP_LOW_SPEED_LIMIT</em> and\r
- <em>GIT_HTTP_LOW_SPEED_TIME</em> environment variables.\r
-</p>\r
-</dd>\r
-<dt>\r
-http.noEPSV\r
-</dt>\r
-<dd>\r
-<p>\r
- A boolean which disables using of EPSV ftp command by curl.\r
- This can helpful with some "poor" ftp servers which doesn't\r
- support EPSV mode. Can be overridden by the <em>GIT_CURL_FTP_NO_EPSV</em>\r
- environment variable. Default is false (curl will use EPSV).\r
-</p>\r
-</dd>\r
-<dt>\r
-i18n.commitEncoding\r
-</dt>\r
-<dd>\r
-<p>\r
- Character encoding the commit messages are stored in; git itself\r
- does not care per se, but this information is necessary e.g. when\r
- importing commits from emails or in the gitk graphical history\r
- browser (and possibly at other places in the future or in other\r
- porcelains). See e.g. <a href="git-mailinfo.html">git-mailinfo(1)</a>. Defaults to <em>utf-8</em>.\r
-</p>\r
-</dd>\r
-<dt>\r
-i18n.logOutputEncoding\r
-</dt>\r
-<dd>\r
-<p>\r
- Character encoding the commit messages are converted to when\r
- running <tt>git-log</tt> and friends.\r
-</p>\r
-</dd>\r
-<dt>\r
-log.showroot\r
-</dt>\r
-<dd>\r
-<p>\r
- If true, the initial commit will be shown as a big creation event.\r
- This is equivalent to a diff against an empty tree.\r
- Tools like <a href="git-log.html">git-log(1)</a> or <a href="git-whatchanged.html">git-whatchanged(1)</a>, which\r
- normally hide the root commit will now show it. True by default.\r
-</p>\r
-</dd>\r
-<dt>\r
-merge.summary\r
-</dt>\r
-<dd>\r
-<p>\r
- Whether to include summaries of merged commits in newly created\r
- merge commit messages. False by default.\r
-</p>\r
-</dd>\r
-<dt>\r
-merge.verbosity\r
-</dt>\r
-<dd>\r
-<p>\r
- Controls the amount of output shown by the recursive merge\r
- strategy. Level 0 outputs nothing except a final error\r
- message if conflicts were detected. Level 1 outputs only\r
- conflicts, 2 outputs conflicts and file changes. Level 5 and\r
- above outputs debugging information. The default is level 2.\r
-</p>\r
-</dd>\r
-<dt>\r
-pack.window\r
-</dt>\r
-<dd>\r
-<p>\r
- The size of the window used by <a href="git-pack-objects.html">git-pack-objects(1)</a> when no\r
- window size is given on the command line. Defaults to 10.\r
-</p>\r
-</dd>\r
-<dt>\r
-pull.octopus\r
-</dt>\r
-<dd>\r
-<p>\r
- The default merge strategy to use when pulling multiple branches\r
- at once.\r
-</p>\r
-</dd>\r
-<dt>\r
-pull.twohead\r
-</dt>\r
-<dd>\r
-<p>\r
- The default merge strategy to use when pulling a single branch.\r
-</p>\r
-</dd>\r
-<dt>\r
-remote.<name>.url\r
-</dt>\r
-<dd>\r
-<p>\r
- The URL of a remote repository. See <a href="git-fetch.html">git-fetch(1)</a> or\r
- <a href="git-push.html">git-push(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-remote.<name>.fetch\r
-</dt>\r
-<dd>\r
-<p>\r
- The default set of "refspec" for <a href="git-fetch.html">git-fetch(1)</a>. See\r
- <a href="git-fetch.html">git-fetch(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-remote.<name>.push\r
-</dt>\r
-<dd>\r
-<p>\r
- The default set of "refspec" for <a href="git-push.html">git-push(1)</a>. See\r
- <a href="git-push.html">git-push(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-remote.<name>.receivepack\r
-</dt>\r
-<dd>\r
-<p>\r
- The default program to execute on the remote side when pushing. See\r
- option --exec of <a href="git-push.html">git-push(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-remote.<name>.uploadpack\r
-</dt>\r
-<dd>\r
-<p>\r
- The default program to execute on the remote side when fetching. See\r
- option --exec of <a href="git-fetch-pack.html">git-fetch-pack(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-repack.usedeltabaseoffset\r
-</dt>\r
-<dd>\r
-<p>\r
- Allow <a href="git-repack.html">git-repack(1)</a> to create packs that uses\r
- delta-base offset. Defaults to false.\r
-</p>\r
-</dd>\r
-<dt>\r
-show.difftree\r
-</dt>\r
-<dd>\r
-<p>\r
- The default <a href="git-diff-tree.html">git-diff-tree(1)</a> arguments to be used\r
- for <a href="git-show.html">git-show(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-showbranch.default\r
-</dt>\r
-<dd>\r
-<p>\r
- The default set of branches for <a href="git-show-branch.html">git-show-branch(1)</a>.\r
- See <a href="git-show-branch.html">git-show-branch(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-tar.umask\r
-</dt>\r
-<dd>\r
-<p>\r
- By default, <a href="git-tar-tree.html">git-tar-tree(1)</a> sets file and directories modes\r
- to 0666 or 0777. While this is both useful and acceptable for projects\r
- such as the Linux Kernel, it might be excessive for other projects.\r
- With this variable, it becomes possible to tell\r
- <a href="git-tar-tree.html">git-tar-tree(1)</a> to apply a specific umask to the modes above.\r
- The special value "user" indicates that the user's current umask will\r
- be used. This should be enough for most projects, as it will lead to\r
- the same permissions as <a href="git-checkout.html">git-checkout(1)</a> would use. The default\r
- value remains 0, which means world read-write.\r
-</p>\r
-</dd>\r
-<dt>\r
-user.email\r
-</dt>\r
-<dd>\r
-<p>\r
- Your email address to be recorded in any newly created commits.\r
- Can be overridden by the <em>GIT_AUTHOR_EMAIL</em> and <em>GIT_COMMITTER_EMAIL</em>\r
- environment variables. See <a href="git-commit-tree.html">git-commit-tree(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-user.name\r
-</dt>\r
-<dd>\r
-<p>\r
- Your full name to be recorded in any newly created commits.\r
- Can be overridden by the <em>GIT_AUTHOR_NAME</em> and <em>GIT_COMMITTER_NAME</em>\r
- environment variables. See <a href="git-commit-tree.html">git-commit-tree(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-user.signingkey\r
-</dt>\r
-<dd>\r
-<p>\r
- If <a href="git-tag.html">git-tag(1)</a> is not selecting the key you want it to\r
- automatically when creating a signed tag, you can override the\r
- default selection with this variable. This option is passed\r
- unchanged to gpg's --local-user parameter, so you may specify a key\r
- using any method that gpg supports.\r
-</p>\r
-</dd>\r
-<dt>\r
-whatchanged.difftree\r
-</dt>\r
-<dd>\r
-<p>\r
- The default <a href="git-diff-tree.html">git-diff-tree(1)</a> arguments to be used\r
- for <a href="git-whatchanged.html">git-whatchanged(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-imap\r
-</dt>\r
-<dd>\r
-<p>\r
- The configuration variables in the <em>imap</em> section are described\r
- in <a href="git-imap-send.html">git-imap-send(1)</a>.\r
-</p>\r
-</dd>\r
-<dt>\r
-receive.unpackLimit\r
-</dt>\r
-<dd>\r
-<p>\r
- If the number of objects received in a push is below this\r
- limit then the objects will be unpacked into loose object\r
- files. However if the number of received objects equals or\r
- exceeds this limit then the received pack will be stored as\r
- a pack, after adding any missing delta bases. Storing the\r
- pack from a push can make the push operation complete faster,\r
- especially on slow filesystems.\r
-</p>\r
-</dd>\r
-<dt>\r
-receive.denyNonFastForwards\r
-</dt>\r
-<dd>\r
-<p>\r
- If set to true, git-receive-pack will deny a ref update which is\r
- not a fast forward. Use this to prevent such an update via a push,\r
- even if that push is forced. This configuration variable is\r
- set when initializing a shared repository.\r
-</p>\r
-</dd>\r
-<dt>\r
-transfer.unpackLimit\r
-</dt>\r
-<dd>\r
-<p>\r
- When <tt>fetch.unpackLimit</tt> or <tt>receive.unpackLimit</tt> are\r
- not set, the value of this variable is used instead.\r
-</p>\r
-</dd>\r
-</dl>\r
-</div>\r
-<h2>Author</h2>\r
-<div class="sectionbody">\r
-<p>Written by Johannes Schindelin <Johannes.Schindelin@gmx.de></p>\r
-</div>\r
-<h2>Documentation</h2>\r
-<div class="sectionbody">\r
-<p>Documentation by Johannes Schindelin, Petr Baudis and the git-list <git@vger.kernel.org>.</p>\r
-</div>\r
-<h2>GIT</h2>\r
-<div class="sectionbody">\r
-<p>Part of the <a href="git.html">git(7)</a> suite</p>\r
+<p>This is a synonym for <a href="git-config.html">git-config(1)</a>. Please refer to the\r
+documentation of that command.</p>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 28-Jan-2007 20:55:10 UTC\r
+Last updated 29-Jan-2007 02:55:11 UTC\r
</div>\r
</div>\r
</body>\r
SYNOPSIS
--------
-[verse]
-'git-repo-config' [--global] [type] name [value [value_regex]]
-'git-repo-config' [--global] [type] --add name value
-'git-repo-config' [--global] [type] --replace-all name [value [value_regex]]
-'git-repo-config' [--global] [type] --get name [value_regex]
-'git-repo-config' [--global] [type] --get-all name [value_regex]
-'git-repo-config' [--global] [type] --unset name [value_regex]
-'git-repo-config' [--global] [type] --unset-all name [value_regex]
-'git-repo-config' [--global] -l | --list
+'git-repo-config' ...
-DESCRIPTION
------------
-You can query/set/replace/unset options with this command. The name is
-actually the section and the key separated by a dot, and the value will be
-escaped.
-
-Multiple lines can be added to an option by using the '--add' option.
-If you want to update or unset an option which can occur on multiple
-lines, a POSIX regexp `value_regex` needs to be given. Only the
-existing values that match the regexp are updated or unset. If
-you want to handle the lines that do *not* match the regex, just
-prepend a single exclamation mark in front (see EXAMPLES).
-
-The type specifier can be either '--int' or '--bool', which will make
-'git-repo-config' ensure that the variable(s) are of the given type and
-convert the value to the canonical form (simple decimal number for int,
-a "true" or "false" string for bool). If no type specifier is passed,
-no checks or transformations are performed on the value.
-
-This command will fail if:
-
-. The .git/config file is invalid,
-. Can not write to .git/config,
-. no section was provided,
-. the section or key is invalid,
-. you try to unset an option which does not exist,
-. you try to unset/set an option for which multiple lines match, or
-. you use --global option without $HOME being properly set.
-
-
-OPTIONS
--------
-
---replace-all::
- Default behavior is to replace at most one line. This replaces
- all lines matching the key (and optionally the value_regex).
-
---add::
- Adds a new line to the option without altering any existing
- values. This is the same as providing '^$' as the value_regex.
-
---get::
- Get the value for a given key (optionally filtered by a regex
- matching the value). Returns error code 1 if the key was not
- found and error code 2 if multiple key values were found.
-
---get-all::
- Like get, but does not fail if the number of values for the key
- is not exactly one.
-
---get-regexp::
- Like --get-all, but interprets the name as a regular expression.
-
---global::
- Use global ~/.gitconfig file rather than the repository .git/config.
-
---unset::
- Remove the line matching the key from config file.
---unset-all::
- Remove all matching lines from config file.
-
--l, --list::
- List all variables set in config file.
-
---bool::
- git-repo-config will ensure that the output is "true" or "false"
-
---int::
- git-repo-config will ensure that the output is a simple
- decimal number. An optional value suffix of 'k', 'm', or 'g'
- in the config file will cause the value to be multiplied
- by 1024, 1048576, or 1073741824 prior to output.
-
-
-ENVIRONMENT
+DESCRIPTION
-----------
-GIT_CONFIG::
- Take the configuration from the given file instead of .git/config.
- Using the "--global" option forces this to ~/.gitconfig.
-
-GIT_CONFIG_LOCAL::
- Currently the same as $GIT_CONFIG; when Git will support global
- configuration files, this will cause it to take the configuration
- from the global configuration file in addition to the given file.
-
-
-EXAMPLE
--------
-
-Given a .git/config like this:
-
- #
- # This is the config file, and
- # a '#' or ';' character indicates
- # a comment
- #
-
- ; core variables
- [core]
- ; Don't trust file modes
- filemode = false
-
- ; Our diff algorithm
- [diff]
- external = "/usr/local/bin/gnu-diff -u"
- renames = true
-
- ; Proxy settings
- [core]
- gitproxy="ssh" for "ssh://kernel.org/"
- gitproxy="proxy-command" for kernel.org
- gitproxy="myprotocol-command" for "my://"
- gitproxy=default-proxy ; for all the rest
-
-you can set the filemode to true with
-
-------------
-% git repo-config core.filemode true
-------------
-
-The hypothetical proxy command entries actually have a postfix to discern
-what URL they apply to. Here is how to change the entry for kernel.org
-to "ssh".
-
-------------
-% git repo-config core.gitproxy '"ssh" for kernel.org' 'for kernel.org$'
-------------
-
-This makes sure that only the key/value pair for kernel.org is replaced.
-
-To delete the entry for renames, do
-
-------------
-% git repo-config --unset diff.renames
-------------
-
-If you want to delete an entry for a multivar (like core.gitproxy above),
-you have to provide a regex matching the value of exactly one line.
-
-To query the value for a given key, do
-
-------------
-% git repo-config --get core.filemode
-------------
-
-or
-
-------------
-% git repo-config core.filemode
-------------
-
-or, to query a multivar:
-
-------------
-% git repo-config --get core.gitproxy "for kernel.org$"
-------------
-
-If you want to know all the values for a multivar, do:
-
-------------
-% git repo-config --get-all core.gitproxy
-------------
-
-If you like to live dangerous, you can replace *all* core.gitproxy by a
-new one with
-
-------------
-% git repo-config --replace-all core.gitproxy ssh
-------------
-
-However, if you really only want to replace the line for the default proxy,
-i.e. the one without a "for ..." postfix, do something like this:
-
-------------
-% git repo-config core.gitproxy ssh '! for '
-------------
-
-To actually match only values with an exclamation mark, you have to
-
-------------
-% git repo-config section.key value '[!]'
-------------
-
-To add a new proxy, without altering any of the existing ones, use
-
-------------
-% git repo-config core.gitproxy '"proxy" for example.com'
-------------
-
-
-include::config.txt[]
-
-
-Author
-------
-Written by Johannes Schindelin <Johannes.Schindelin@gmx.de>
-
-Documentation
---------------
-Documentation by Johannes Schindelin, Petr Baudis and the git-list <git@vger.kernel.org>.
-
-GIT
----
-Part of the gitlink:git[7] suite
-
+This is a synonym for gitlink:git-config[1]. Please refer to the
+documentation of that command.
removed by default if there are no files left in them. git\r
cannot version empty directories. Enabling this flag will make\r
the commit to SVN act like git.</p>\r
-<p>repo-config key: svn.rmdir</p>\r
+<p>config key: svn.rmdir</p>\r
</dd>\r
<dt>\r
-e\r
<p>Edit the commit message before committing to SVN. This is off by\r
default for objects that are commits, and forced on when committing\r
tree objects.</p>\r
-<p>repo-config key: svn.edit</p>\r
+<p>config key: svn.edit</p>\r
</dd>\r
<dt>\r
-l<num>\r
<p>They are both passed directly to git-diff-tree see\r
<a href="git-diff-tree.html">git-diff-tree(1)</a> for more information.</p>\r
<div class="verseblock">\r
-<div class="content">repo-config key: svn.l\r
-repo-config key: svn.findcopiesharder</div></div>\r
+<div class="content">config key: svn.l\r
+config key: svn.findcopiesharder</div></div>\r
</dd>\r
<dt>\r
-A<filename>\r
will abort operation. The user will then have to add the\r
appropriate entry. Re-running the previous git-svn command\r
after the authors-file is modified should continue operation.</p>\r
-<p>repo-config key: svn.authorsfile</p>\r
+<p>config key: svn.authorsfile</p>\r
</dd>\r
<dt>\r
-q\r
<div class="content">\r
<pre><tt>--repack-flags are passed directly to gitlink:git-repack[1].</tt></pre>\r
</div></div>\r
-<p>repo-config key: svn.repack\r
-repo-config key: svn.repackflags</p>\r
+<p>config key: svn.repack\r
+config key: svn.repackflags</p>\r
</dd>\r
<dt>\r
-m\r
used to track branches across multiple SVN _repositories_.</p>\r
<p>This option may be specified multiple times, once for each\r
branch.</p>\r
-<p>repo-config key: svn.branch</p>\r
+<p>config key: svn.branch</p>\r
</dd>\r
<dt>\r
-i<GIT_SVN_ID>\r
started tracking a branch and never tracked the trunk it was\r
descended from.\r
</p>\r
-<p>repo-config key: svn.followparent</p>\r
+<p>config key: svn.followparent</p>\r
</dd>\r
<dt>\r
--no-metadata\r
<pre><tt>The 'git-svn log' command will not work on repositories using this,\r
either.</tt></pre>\r
</div></div>\r
-<p>repo-config key: svn.nometadata</p>\r
+<p>config key: svn.nometadata</p>\r
</dd>\r
</dl>\r
</div>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 19-Jan-2007 00:37:34 UTC\r
+Last updated 29-Jan-2007 02:55:11 UTC\r
</div>\r
</div>\r
</body>\r
cannot version empty directories. Enabling this flag will make
the commit to SVN act like git.
-repo-config key: svn.rmdir
+config key: svn.rmdir
-e::
--edit::
default for objects that are commits, and forced on when committing
tree objects.
-repo-config key: svn.edit
+config key: svn.edit
-l<num>::
--find-copies-harder::
gitlink:git-diff-tree[1] for more information.
[verse]
-repo-config key: svn.l
-repo-config key: svn.findcopiesharder
+config key: svn.l
+config key: svn.findcopiesharder
-A<filename>::
--authors-file=<filename>::
appropriate entry. Re-running the previous git-svn command
after the authors-file is modified should continue operation.
-repo-config key: svn.authorsfile
+config key: svn.authorsfile
-q::
--quiet::
--repack-flags are passed directly to gitlink:git-repack[1].
-repo-config key: svn.repack
-repo-config key: svn.repackflags
+config key: svn.repack
+config key: svn.repackflags
-m::
--merge::
This option may be specified multiple times, once for each
branch.
-repo-config key: svn.branch
+config key: svn.branch
-i<GIT_SVN_ID>::
--id <GIT_SVN_ID>::
started tracking a branch and never tracked the trunk it was
descended from.
-repo-config key: svn.followparent
+config key: svn.followparent
--no-metadata::
This gets rid of the git-svn-id: lines at the end of every commit.
The 'git-svn log' command will not work on repositories using this,
either.
-repo-config key: svn.nometadata
+config key: svn.nometadata
--
<div class="sectionbody">\r
<p>The command honors <tt>core.filemode</tt> configuration variable. If\r
your repository is on an filesystem whose executable bits are\r
-unreliable, this should be set to <em>false</em> (see <a href="git-repo-config.html">git-repo-config(1)</a>).\r
+unreliable, this should be set to <em>false</em> (see <a href="git-config.html">git-config(1)</a>).\r
This causes the command to ignore differences in file modes recorded\r
in the index and the file mode on the filesystem if they differ only on\r
executable bit. On such an unfortunate filesystem, you may\r
</div>\r
<h2>See Also</h2>\r
<div class="sectionbody">\r
-<p><a href="git-repo-config.html">git-repo-config(1)</a></p>\r
+<p><a href="git-config.html">git-config(1)</a></p>\r
</div>\r
<h2>Author</h2>\r
<div class="sectionbody">\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 19-Jan-2007 00:37:36 UTC\r
+Last updated 29-Jan-2007 02:55:12 UTC\r
</div>\r
</div>\r
</body>\r
The command honors `core.filemode` configuration variable. If
your repository is on an filesystem whose executable bits are
-unreliable, this should be set to 'false' (see gitlink:git-repo-config[1]).
+unreliable, this should be set to 'false' (see gitlink:git-config[1]).
This causes the command to ignore differences in file modes recorded
in the index and the file mode on the filesystem if they differ only on
executable bit. On such an unfortunate filesystem, you may
See Also
--------
-gitlink:git-repo-config[1]
+gitlink:git-config[1]
Author
Cause the logical variables to be listed. In addition, all the\r
variables of the git configuration file .git/config are listed\r
as well. (However, the configuration variables listing functionality\r
- is deprecated in favor of <tt>git-repo-config -l</tt>.)\r
+ is deprecated in favor of <tt>git-config -l</tt>.)\r
</p>\r
</dd>\r
</dl>\r
<div class="sectionbody">\r
<p><a href="git-commit-tree.html">git-commit-tree(1)</a>\r
<a href="git-tag.html">git-tag(1)</a>\r
-<a href="git-repo-config.html">git-repo-config(1)</a></p>\r
+<a href="git-config.html">git-config(1)</a></p>\r
</div>\r
<h2>Author</h2>\r
<div class="sectionbody">\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 19-Jan-2007 00:37:38 UTC\r
+Last updated 29-Jan-2007 02:55:12 UTC\r
</div>\r
</div>\r
</body>\r
Cause the logical variables to be listed. In addition, all the
variables of the git configuration file .git/config are listed
as well. (However, the configuration variables listing functionality
- is deprecated in favor of `git-repo-config -l`.)
+ is deprecated in favor of `git-config -l`.)
EXAMPLE
--------
--------
gitlink:git-commit-tree[1]
gitlink:git-tag[1]
-gitlink:git-repo-config[1]
+gitlink:git-config[1]
Author
------
"man git-commandname" for documentation of each command. CVS users may\r
also want to read <a href="cvs-migration.html">CVS migration</a>.</p>\r
<p>The COMMAND is either a name of a Git command (see below) or an alias\r
-as defined in the configuration file (see <a href="git-repo-config.html">git-repo-config(1)</a>).</p>\r
+as defined in the configuration file (see <a href="git-config.html">git-config(1)</a>).</p>\r
</div>\r
<h2>OPTIONS</h2>\r
<div class="sectionbody">\r
</p>\r
</dd>\r
<dt>\r
-<a href="git-repo-config.html">git-repo-config(1)</a>\r
+<a href="git-config.html">git-config(1)</a>\r
</dt>\r
<dd>\r
<p>\r
</p>\r
</dd>\r
<dt>\r
-<a href="git-fsck-objects.html">git-fsck-objects(1)</a>\r
+<a href="git-fsck.html">git-fsck(1)</a>\r
</dt>\r
<dd>\r
<p>\r
size> + <byte\0> + <binary object data>.</p>\r
<p>The structured objects can further have their structure and\r
connectivity to other objects verified. This is generally done with\r
-the <tt>git-fsck-objects</tt> program, which generates a full dependency graph\r
+the <tt>git-fsck</tt> program, which generates a full dependency graph\r
of all objects, and verifies their internal consistency (in addition\r
to just verifying their superficial consistency through the hash).</p>\r
<p>The object types in some more detail:</p>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 28-Jan-2007 20:55:12 UTC\r
+Last updated 29-Jan-2007 02:55:13 UTC\r
</div>\r
</div>\r
</body>\r
also want to read link:cvs-migration.html[CVS migration].
The COMMAND is either a name of a Git command (see below) or an alias
-as defined in the configuration file (see gitlink:git-repo-config[1]).
+as defined in the configuration file (see gitlink:git-config[1]).
OPTIONS
-------
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 26-Jan-2007 09:44:43 UTC\r
+Last updated 29-Jan-2007 02:55:18 UTC\r
</div>\r
</div>\r
</body>\r
Now, add the remote in your existing repository which contains the project
you want to export:
- $ git-repo-config remote.upload.url \
+ $ git-config remote.upload.url \
http://<username>@<servername>/my-new-repo.git/
It is important to put the last '/'; Without it, the server will send
This pushes branch 'master' (which is assumed to be the branch you
want to export) to repository called 'upload', which we previously
-defined with git-repo-config.
+defined with git-config.
Troubleshooting:
way to do so is:</p>\r
<div class="listingblock">\r
<div class="content">\r
-<pre><tt>$ git repo-config --global user.name "Your Name Comes Here"\r
-$ git repo-config --global user.email you@yourdomain.example.com</tt></pre>\r
+<pre><tt>$ git config --global user.name "Your Name Comes Here"\r
+$ git config --global user.email you@yourdomain.example.com</tt></pre>\r
</div></div>\r
</div>\r
</div>\r
used for pulls:</p>\r
<div class="listingblock">\r
<div class="content">\r
-<pre><tt>$ git repo-config --get remote.origin.url\r
+<pre><tt>$ git config --get remote.origin.url\r
/home/bob/myrepo</tt></pre>\r
</div></div>\r
<p>(The complete configuration created by git-clone is visible using\r
-"git repo-config -l", and the <a href="git-repo-config.html">git-repo-config(1)</a> man page\r
+"git config -l", and the <a href="git-config.html">git-config(1)</a> man page\r
explains the meaning of each option.)</p>\r
<p>Git also keeps a pristine copy of Alice's master branch under the\r
name "origin/master":</p>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 17-Jan-2007 05:40:14 UTC\r
+Last updated 29-Jan-2007 02:55:15 UTC\r
</div>\r
</div>\r
</body>\r
way to do so is:
------------------------------------------------
-$ git repo-config --global user.name "Your Name Comes Here"
-$ git repo-config --global user.email you@yourdomain.example.com
+$ git config --global user.name "Your Name Comes Here"
+$ git config --global user.email you@yourdomain.example.com
------------------------------------------------
used for pulls:
-------------------------------------
-$ git repo-config --get remote.origin.url
+$ git config --get remote.origin.url
/home/bob/myrepo
-------------------------------------
(The complete configuration created by git-clone is visible using
-"git repo-config -l", and the gitlink:git-repo-config[1] man page
+"git config -l", and the gitlink:git-config[1] man page
explains the meaning of each option.)
Git also keeps a pristine copy of Alice's master branch under the