summaryrefslogtreecommitdiffstats
path: root/git-read-tree.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2006-12-13 21:32:17 +0000
committerJunio C Hamano <junio@hera.kernel.org>2006-12-13 21:32:17 +0000
commite7935c49199b7d60c02043382b62ce70d36017e9 (patch)
tree280d09d89444d318008e632fbb9c9d88a393cacf /git-read-tree.html
parent3f403b04bd95096f37297ab2cfbd4ad1f6dbb904 (diff)
downloadgit-htmldocs-e7935c49199b7d60c02043382b62ce70d36017e9.tar.gz
Autogenerated HTML docs for v1.4.4.2-g1d77
Diffstat (limited to 'git-read-tree.html')
-rw-r--r--git-read-tree.html24
1 files changed, 22 insertions, 2 deletions
diff --git a/git-read-tree.html b/git-read-tree.html
index bc765eade..1bdc82741 100644
--- a/git-read-tree.html
+++ b/git-read-tree.html
@@ -272,7 +272,7 @@ git-read-tree(1) Manual Page
</div>
<h2>SYNOPSIS</h2>
<div class="sectionbody">
-<p><em>git-read-tree</em> (&lt;tree-ish&gt; | [[-m [--aggressive] | --reset | --prefix=&lt;prefix&gt;] [-u | -i]] &lt;tree-ish1&gt; [&lt;tree-ish2&gt; [&lt;tree-ish3&gt;]])</p>
+<p><em>git-read-tree</em> (&lt;tree-ish&gt; | [[-m [--aggressive] | --reset | --prefix=&lt;prefix&gt;] [-u | -i]] [--exclude-per-directory=&lt;gitignore&gt;] &lt;tree-ish1&gt; [&lt;tree-ish2&gt; [&lt;tree-ish3&gt;]])</p>
</div>
<h2>DESCRIPTION</h2>
<div class="sectionbody">
@@ -377,6 +377,26 @@ when both sides adds a path identically. The resolution
</p>
</dd>
<dt>
+--exclude-per-directory=&lt;gitignore&gt;
+</dt>
+<dd>
+<p>
+ When running the command with <tt>-u</tt> and <tt>-m</tt> options, the
+ merge result may need to overwrite paths that are not
+ tracked in the current branch. The command usually
+ refuses to proceed with the merge to avoid losing such a
+ path. However this safety valve sometimes gets in the
+ way. For example, it often happens that the other
+ branch added a file that used to be a generated file in
+ your branch, and the safety valve triggers when you try
+ to switch to that branch after you ran <tt>make</tt> but before
+ running <tt>make clean</tt> to remove the generated file. This
+ option tells the command to read per-directory exclude
+ file (usually <em>.gitignore</em>) and allows such an untracked
+ but explicitly ignored file to be overwritten.
+</p>
+</dd>
+<dt>
&lt;tree-ish#&gt;
</dt>
<dd>
@@ -662,7 +682,7 @@ have finished your work-in-progress), attempt the merge again.</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 03-Oct-2006 08:41:20 UTC
+Last updated 13-Dec-2006 21:32:06 UTC
</div>
</div>
</body>