summaryrefslogtreecommitdiffstats
path: root/git-submodule.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-08-28 02:50:50 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-08-28 02:50:50 +0000
commitf9e04eb9a776f91e487bc56bd35c2d6cff4a4cc3 (patch)
tree7118ed41f87e65516a989041c3195980c1848fc6 /git-submodule.html
parent0551f6a8c88b739b0939e7135c4df8dd93ebf93f (diff)
downloadgit-htmldocs-f9e04eb9a776f91e487bc56bd35c2d6cff4a4cc3.tar.gz
Autogenerated HTML docs for v1.6.0.1-126-ga118
Diffstat (limited to 'git-submodule.html')
-rw-r--r--git-submodule.html18
1 files changed, 16 insertions, 2 deletions
diff --git a/git-submodule.html b/git-submodule.html
index e4037fd08..25c48a89d 100644
--- a/git-submodule.html
+++ b/git-submodule.html
@@ -326,7 +326,8 @@ git-submodule(1) Manual Page
<em>git submodule</em> [--quiet] init [--] [&lt;path&gt;&#8230;]
<em>git submodule</em> [--quiet] update [--init] [--] [&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;</div></div>
+<em>git submodule</em> [--quiet] foreach &lt;command&gt;
+<em>git submodule</em> [--quiet] sync [--] [&lt;path&gt;&#8230;]</div></div>
</div>
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
@@ -471,6 +472,19 @@ foreach
<div class="para"><p>As an example, "git submodule foreach <em>echo $path <tt>git rev-parse HEAD</tt></em> will
show the path and currently checked out commit for each submodule.</p></div>
</dd>
+<dt>
+sync
+</dt>
+<dd>
+<p>
+ Synchronizes submodules' remote URL configuration setting
+ to the value specified in .gitmodules. This is useful when
+ submodule URLs change upstream and you need to update your local
+ repositories accordingly.
+</p>
+<div class="para"><p>"git submodule sync" synchronizes all submodules while
+"git submodule sync &#8212; A" synchronizes submodule "A" only.</p></div>
+</dd>
</dl></div>
</div>
<h2 id="_options">OPTIONS</h2>
@@ -553,7 +567,7 @@ for details.</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2008-08-21 10:34:01 UTC
+Last updated 2008-08-28 02:50:34 UTC
</div>
</div>
</body>