summaryrefslogtreecommitdiffstats
path: root/git-submodule.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-05-23 09:53:32 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-05-23 09:53:32 +0000
commit7ae18250dc61b6e3620aa3fac36eac9fc0a6cd07 (patch)
treea1fc5cfef637f42fcc7cb098b2c86dd4a18e2980 /git-submodule.html
parent52d5def48c07bc4d01ba4beadf533864af3b0b94 (diff)
downloadgit-htmldocs-7ae18250dc61b6e3620aa3fac36eac9fc0a6cd07.tar.gz
Autogenerated HTML docs for v1.6.3.1-145-gb74d77
Diffstat (limited to 'git-submodule.html')
-rw-r--r--git-submodule.html20
1 files changed, 17 insertions, 3 deletions
diff --git a/git-submodule.html b/git-submodule.html
index ad78d44b7..55e4dd76b 100644
--- a/git-submodule.html
+++ b/git-submodule.html
@@ -321,10 +321,12 @@ git-submodule(1) Manual Page
<h2>SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<div class="content"><em>git submodule</em> [--quiet] add [-b branch] [--] &lt;repository&gt; &lt;path&gt;
+<div class="content"><em>git submodule</em> [--quiet] add [-b branch]
+ [--reference &lt;repository&gt;] [--] &lt;repository&gt; &lt;path&gt;
<em>git submodule</em> [--quiet] status [--cached] [--] [&lt;path&gt;&#8230;]
<em>git submodule</em> [--quiet] init [--] [&lt;path&gt;&#8230;]
-<em>git submodule</em> [--quiet] update [--init] [-N|--no-fetch] [--] [&lt;path&gt;&#8230;]
+<em>git submodule</em> [--quiet] update [--init] [-N|--no-fetch]
+ [--reference &lt;repository&gt;] [--] [&lt;path&gt;&#8230;]
<em>git submodule</em> [--quiet] summary [--summary-limit &lt;n&gt;] [commit] [--] [&lt;path&gt;&#8230;]
<em>git submodule</em> [--quiet] foreach &lt;command&gt;
<em>git submodule</em> [--quiet] sync [--] [&lt;path&gt;&#8230;]</div></div>
@@ -550,6 +552,18 @@ sync
</p>
</dd>
<dt>
+--reference &lt;repository&gt;
+</dt>
+<dd>
+<p>
+ This option is only valid for add and update commands. These
+ commands sometimes need to clone a remote repository. In this case,
+ this option will be passed to the <a href="git-clone.html">git-clone(1)</a> command.
+</p>
+<div class="para"><p><strong>NOTE</strong>: Do <strong>not</strong> use this option unless you have read the note
+for <a href="git-clone.html">git-clone(1)</a>'s --reference and --shared options carefully.</p></div>
+</dd>
+<dt>
&lt;path&gt;&#8230;
</dt>
<dd>
@@ -579,7 +593,7 @@ for details.</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-04-02 06:50:05 UTC
+Last updated 2009-05-23 09:53:16 UTC
</div>
</div>
</body>