diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-08-28 02:50:50 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-08-28 02:50:50 +0000 |
commit | f9e04eb9a776f91e487bc56bd35c2d6cff4a4cc3 (patch) | |
tree | 7118ed41f87e65516a989041c3195980c1848fc6 /git-submodule.html | |
parent | 0551f6a8c88b739b0939e7135c4df8dd93ebf93f (diff) | |
download | git-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.html | 18 |
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 [--] [<path>…]
<em>git submodule</em> [--quiet] update [--init] [--] [<path>…]
<em>git submodule</em> [--quiet] summary [--summary-limit <n>] [commit] [--] [<path>…]
-<em>git submodule</em> [--quiet] foreach <command></div></div>
+<em>git submodule</em> [--quiet] foreach <command>
+<em>git submodule</em> [--quiet] sync [--] [<path>…]</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 — 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>
|