summaryrefslogtreecommitdiffstats
path: root/git-submodule.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-13 14:32:04 -0800
committerJunio C Hamano <gitster@pobox.com>2012-11-13 14:32:04 -0800
commita129545d44f1f0fe9976ed87b9a7331bf239b7d8 (patch)
tree52268e539a6b33e18401455ea13cf579c615dc80 /git-submodule.html
parent3b4382b85a92a6419a8f05510a9b583e711b5071 (diff)
downloadgit-htmldocs-a129545d44f1f0fe9976ed87b9a7331bf239b7d8.tar.gz
Autogenerated HTML docs for v1.8.0-150-gb0b00
Diffstat (limited to 'git-submodule.html')
-rw-r--r--git-submodule.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/git-submodule.html b/git-submodule.html
index bd279d954..ba3d838f3 100644
--- a/git-submodule.html
+++ b/git-submodule.html
@@ -583,7 +583,7 @@ git-submodule(1) Manual Page
<h2 id="_synopsis">SYNOPSIS</h2>
<div class="sectionbody">
<div class="verseblock">
-<div class="verseblock-content"><em>git submodule</em> [--quiet] add [-b branch] [-f|--force]
+<div class="verseblock-content"><em>git submodule</em> [--quiet] add [-b branch] [-f|--force] [--name &lt;name&gt;]
[--reference &lt;repository&gt;] [--] &lt;repository&gt; [&lt;path&gt;]
<em>git submodule</em> [--quiet] status [--cached] [--recursive] [--] [&lt;path&gt;&#8230;]
<em>git submodule</em> [--quiet] init [--] [&lt;path&gt;&#8230;]
@@ -924,6 +924,16 @@ sync
</p>
</dd>
<dt class="hdlist1">
+--name
+</dt>
+<dd>
+<p>
+ This option is only valid for the add command. It sets the submodule&#8217;s
+ name to the given string instead of defaulting to its path. The name
+ must be valid as a directory name and may not end with a <em>/</em>.
+</p>
+</dd>
+<dt class="hdlist1">
--reference &lt;repository&gt;
</dt>
<dd>
@@ -974,7 +984,7 @@ for details.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2012-09-30 00:37:08 PDT
+Last updated 2012-11-13 14:31:09 PDT
</div>
</div>
</body>