summaryrefslogtreecommitdiffstats
path: root/git-submodule.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-07-03 07:05:31 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-07-03 07:05:31 +0000
commit1d90cb06fff9524ece5485f8d716da466af822d7 (patch)
treec8d3e02e22a6f7ba2a13c8bd0adce3c8d089c4e2 /git-submodule.html
parentd526ba9b47b4ea5c29f3e49e8250babef215eb37 (diff)
downloadgit-htmldocs-1d90cb06fff9524ece5485f8d716da466af822d7.tar.gz
Autogenerated HTML docs for v1.5.3-rc0
Diffstat (limited to 'git-submodule.html')
-rw-r--r--git-submodule.html25
1 files changed, 23 insertions, 2 deletions
diff --git a/git-submodule.html b/git-submodule.html
index 5aef21260..b7243732e 100644
--- a/git-submodule.html
+++ b/git-submodule.html
@@ -272,12 +272,25 @@ git-submodule(1) Manual Page
</div>
<h2>SYNOPSIS</h2>
<div class="sectionbody">
-<p><em>git-submodule</em> [--quiet] [--cached] [status|init|update] [--] [&lt;path&gt;&#8230;]</p>
+<p><em>git-submodule</em> [--quiet] [-b branch] add &lt;repository&gt; [&lt;path&gt;]
+<em>git-submodule</em> [--quiet] [--cached] [status|init|update] [--] [&lt;path&gt;&#8230;]</p>
</div>
<h2>COMMANDS</h2>
<div class="sectionbody">
<dl>
<dt>
+add
+</dt>
+<dd>
+<p>
+ Add the given repository as a submodule at the given path
+ to the changeset to be committed next. In particular, the
+ repository is cloned at the specified path, added to the
+ changeset and registered in .gitmodules. If no path is
+ specified, the path is deduced from the repository specification.
+</p>
+</dd>
+<dt>
status
</dt>
<dd>
@@ -326,6 +339,14 @@ update
</p>
</dd>
<dt>
+-b, --branch
+</dt>
+<dd>
+<p>
+ Branch of repository to add as submodule.
+</p>
+</dd>
+<dt>
--cached
</dt>
<dd>
@@ -363,7 +384,7 @@ to each submodule url is "module.$path.url".</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 16-Jun-2007 09:49:24 UTC
+Last updated 03-Jul-2007 07:03:46 UTC
</div>
</div>
</body>