summaryrefslogtreecommitdiffstats
path: root/git-submodule.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-06-12 16:09:14 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-06-12 16:09:14 +0000
commit16f98874ca3e3f42ea299d3dd858f91f0122d50a (patch)
tree58548c76c4bb69c58727e79cff64e7b33640a05a /git-submodule.html
parentf614c6470329dcb81603708f9710d5dd2c3a9c43 (diff)
downloadgit-htmldocs-16f98874ca3e3f42ea299d3dd858f91f0122d50a.tar.gz
Autogenerated HTML docs for v1.5.2.1-255-gca6c0
Diffstat (limited to 'git-submodule.html')
-rw-r--r--git-submodule.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/git-submodule.html b/git-submodule.html
index 285e7bc01..0e7357c95 100644
--- a/git-submodule.html
+++ b/git-submodule.html
@@ -296,10 +296,10 @@ init
</dt>
<dd>
<p>
- Initialize the submodules, i.e. clone the git repositories specified
- in the .gitmodules file and checkout the submodule commits specified
- in the index of the containing repository. This will make the
- submodules HEAD be detached.
+ Initialize the submodules, i.e. register in .git/config each submodule
+ path and url found in .gitmodules. The key used in git/config is
+ <tt>submodule.$path.url</tt>. This command does not alter existing information
+ in .git/config.
</p>
</dd>
<dt>
@@ -307,9 +307,9 @@ update
</dt>
<dd>
<p>
- Update the initialized submodules, i.e. checkout the submodule commits
- specified in the index of the containing repository. This will make
- the submodules HEAD be detached.
+ Update the registered submodules, i.e. clone missing submodules and
+ checkout the commit specified in the index of the containing repository.
+ This will make the submodules HEAD be detached.
</p>
</dd>
</dl>
@@ -348,7 +348,7 @@ update
</div>
<h2>FILES</h2>
<div class="sectionbody">
-<p>When cloning submodules, a .gitmodules file in the top-level directory
+<p>When initializing submodules, a .gitmodules file in the top-level directory
of the containing repository is used to find the url of each submodule.
This file should be formatted in the same way as $GIR_DIR/config. The key
to each submodule url is "module.$path.url".</p>
@@ -363,7 +363,7 @@ to each submodule url is "module.$path.url".</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 08-Jun-2007 16:08:34 UTC
+Last updated 12-Jun-2007 16:08:49 UTC
</div>
</div>
</body>