kept for this many days when `git rerere gc` is run.
The default is 15 days. See gitlink:git-rerere[1].
+rerere.enabled::
+ Activate recording of resolved conflicts, so that identical
+ conflict hunks can be resolved automatically, should they
+ be encountered again. See gitlink:git-rerere[1].
+
gitcvs.enabled::
Whether the cvs server interface is enabled for this repository.
See gitlink:git-cvsserver[1].
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sadly, many merges aren't trivial. If there are files that have
-been added.moved or removed, or if both branches have modified the
+been added, moved or removed, or if both branches have modified the
same file, you will be left with an index tree that contains "merge
entries" in it. Such an index tree can 'NOT' be written out to a tree
object, and you will have to resolve any such merge clashes using
</p>\r
</dd>\r
<dt>\r
+rerere.enabled\r
+</dt>\r
+<dd>\r
+<p>\r
+ Activate recording of resolved conflicts, so that identical\r
+ conflict hunks can be resolved automatically, should they\r
+ be encountered again. See <a href="git-rerere.html">git-rerere(1)</a>.\r
+</p>\r
+</dd>\r
+<dt>\r
gitcvs.enabled\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 05-Jul-2007 05:51:15 UTC\r
+Last updated 07-Jul-2007 21:52:19 UTC\r
</div>\r
</div>\r
</body>\r
<td class="icon">\r
<div class="title">Note</div>\r
</td>\r
-<td class="content">You need to create <tt>$GIT_DIR/rr-cache</tt> directory to enable this\r
+<td class="content">You need to set the config variable rerere.enabled to enable this\r
command.</td>\r
</tr></table>\r
</div>\r
resolve when it is not. <tt>git-commit</tt> also invokes <tt>git-rerere</tt>\r
when recording a merge result. What this means is that you do\r
not have to do anything special yourself (Note: you still have\r
-to create <tt>$GIT_DIR/rr-cache</tt> directory to enable this command).</p>\r
+to set the config variable rerere.enabled to enable this command).</p>\r
<p>In our example, when you did the test merge, the manual\r
resolution is recorded, and it will be reused when you do the\r
actual merge later with updated master and topic branch, as long\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 16-Jun-2007 09:49:19 UTC\r
+Last updated 07-Jul-2007 21:52:19 UTC\r
</div>\r
</div>\r
</body>\r
results and applying the previously recorded hand resolution.
[NOTE]
-You need to create `$GIT_DIR/rr-cache` directory to enable this
+You need to set the config variable rerere.enabled to enable this
command.
resolve when it is not. `git-commit` also invokes `git-rerere`
when recording a merge result. What this means is that you do
not have to do anything special yourself (Note: you still have
-to create `$GIT_DIR/rr-cache` directory to enable this command).
+to set the config variable rerere.enabled to enable this command).
In our example, when you did the test merge, the manual
resolution is recorded, and it will be reused when you do the
</div>\r
<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
-<p><em>git-submodule</em> [--quiet] [-b branch] add <repository> [<path>]\r
-<em>git-submodule</em> [--quiet] [--cached] [status|init|update] [--] [<path>…]</p>\r
+<div class="verseblock">\r
+<div class="content"><em>git-submodule</em> [--quiet] [-b branch] add <repository> [<path>]\r
+<em>git-submodule</em> [--quiet] [--cached] [status|init|update] [--] [<path>…]</div></div>\r
</div>\r
<h2>COMMANDS</h2>\r
<div class="sectionbody">\r
<dd>\r
<p>\r
Initialize the submodules, i.e. register in .git/config each submodule\r
- path and url found in .gitmodules. The key used in git/config is\r
- <tt>submodule.$path.url</tt>. This command does not alter existing information\r
+ name and url found in .gitmodules. The key used in .git/config is\r
+ <tt>submodule.$name.url</tt>. This command does not alter existing information\r
in .git/config.\r
</p>\r
</dd>\r
<p>When initializing submodules, a .gitmodules file in the top-level directory\r
of the containing repository is used to find the url of each submodule.\r
This file should be formatted in the same way as $GIR_DIR/config. The key\r
-to each submodule url is "module.$path.url".</p>\r
+to each submodule url is "submodule.$name.url".</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 03-Jul-2007 07:03:46 UTC\r
+Last updated 07-Jul-2007 21:52:20 UTC\r
</div>\r
</div>\r
</body>\r
SYNOPSIS
--------
+[verse]
'git-submodule' [--quiet] [-b branch] add <repository> [<path>]
'git-submodule' [--quiet] [--cached] [status|init|update] [--] [<path>...]
init::
Initialize the submodules, i.e. register in .git/config each submodule
- path and url found in .gitmodules. The key used in git/config is
- `submodule.$path.url`. This command does not alter existing information
+ name and url found in .gitmodules. The key used in .git/config is
+ `submodule.$name.url`. This command does not alter existing information
in .git/config.
update::
When initializing submodules, a .gitmodules file in the top-level directory
of the containing repository is used to find the url of each submodule.
This file should be formatted in the same way as $GIR_DIR/config. The key
-to each submodule url is "module.$path.url".
+to each submodule url is "submodule.$name.url".
AUTHOR
paths that have been trivially merged.</p>\r
<h3>8) Merging multiple trees, continued</h3>\r
<p>Sadly, many merges aren't trivial. If there are files that have\r
-been added.moved or removed, or if both branches have modified the\r
+been added, moved or removed, or if both branches have modified the\r
same file, you will be left with an index tree that contains "merge\r
entries" in it. Such an index tree can <em>NOT</em> be written out to a tree\r
object, and you will have to resolve any such merge clashes using\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 04-Jul-2007 06:40:55 UTC\r
+Last updated 07-Jul-2007 21:52:21 UTC\r
</div>\r
</div>\r
</body>\r
known tree object, or update/compare it with a live tree that is being
developed. If you blow the directory cache away entirely, you generally
haven't lost any information as long as you have the name of the tree
-that it described.</p><p>At the same time, the index is at the same time also the
-staging area for creating new trees, and creating a new tree always
-involves a controlled modification of the index file. In particular,
-the index file can have the representation of an intermediate tree that
-has not yet been instantiated. So the index can be thought of as a
-write-back cache, which can contain dirty information that has not yet
-been written back to the backing store.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="the-workflow"></a>The Workflow</h2></div></div></div><p>Generally, all "git" operations work on the index file. Some operations
+that it described.</p><p>At the same time, the index is also the staging area for creating
+new trees, and creating a new tree always involves a controlled
+modification of the index file. In particular, the index file can
+have the representation of an intermediate tree that has not yet been
+instantiated. So the index can be thought of as a write-back cache,
+which can contain dirty information that has not yet been written back
+to the backing store.</p></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="the-workflow"></a>The Workflow</h2></div></div></div><p>Generally, all "git" operations work on the index file. Some operations
work <span class="strong"><strong>purely</strong></span> on the index file (showing the current state of the
index), but most operations move data to and from the index file. Either
from the database or from the working directory. Thus there are four
haven't lost any information as long as you have the name of the tree
that it described.
-At the same time, the index is at the same time also the
-staging area for creating new trees, and creating a new tree always
-involves a controlled modification of the index file. In particular,
-the index file can have the representation of an intermediate tree that
-has not yet been instantiated. So the index can be thought of as a
-write-back cache, which can contain dirty information that has not yet
-been written back to the backing store.
+At the same time, the index is also the staging area for creating
+new trees, and creating a new tree always involves a controlled
+modification of the index file. In particular, the index file can
+have the representation of an intermediate tree that has not yet been
+instantiated. So the index can be thought of as a write-back cache,
+which can contain dirty information that has not yet been written back
+to the backing store.