diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2009-06-14 01:03:22 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2009-06-14 01:03:22 +0000 |
commit | 25e7ba6dc84805e96d73967f3182ffcb54d4022f (patch) | |
tree | 87bd8083933f1666e158fa3b9137783d21c8e3da /git-submodule.html | |
parent | b95b43d92df1ebc0d5235b3e84ba4136052b09a2 (diff) | |
download | git-htmldocs-25e7ba6dc84805e96d73967f3182ffcb54d4022f.tar.gz |
Autogenerated HTML docs for v1.6.3.2-306-g4f4fa
Diffstat (limited to 'git-submodule.html')
-rw-r--r-- | git-submodule.html | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/git-submodule.html b/git-submodule.html index 55e4dd76b..981e03372 100644 --- a/git-submodule.html +++ b/git-submodule.html @@ -325,7 +325,7 @@ git-submodule(1) Manual Page [--reference <repository>] [--] <repository> <path>
<em>git submodule</em> [--quiet] status [--cached] [--] [<path>…]
<em>git submodule</em> [--quiet] init [--] [<path>…]
-<em>git submodule</em> [--quiet] update [--init] [-N|--no-fetch]
+<em>git submodule</em> [--quiet] update [--init] [-N|--no-fetch] [--rebase]
[--reference <repository>] [--] [<path>…]
<em>git submodule</em> [--quiet] summary [--summary-limit <n>] [commit] [--] [<path>…]
<em>git submodule</em> [--quiet] foreach <command>
@@ -438,7 +438,8 @@ update <p>
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.
+ This will make the submodules HEAD be detached unless <em>--rebase</em> is
+ specified or the key <tt>submodule.$name.update</tt> is set to <tt>rebase</tt>.
</p>
<div class="para"><p>If the submodule is not yet initialized, and you just want to use the
setting as stored in .gitmodules, you can automatically initialize the
@@ -552,6 +553,20 @@ sync </p>
</dd>
<dt>
+--rebase
+</dt>
+<dd>
+<p>
+ This option is only valid for the update command.
+ Rebase the current branch onto the commit recorded in the
+ superproject. If this option is given, the submodule's HEAD will not
+ be detached. If a a merge failure prevents this process, you will have
+ to resolve these failures with <a href="git-rebase.html">git-rebase(1)</a>.
+ If the key <tt>submodule.$name.update</tt> is set to <tt>rebase</tt>, this option is
+ implicit.
+</p>
+</dd>
+<dt>
--reference <repository>
</dt>
<dd>
@@ -593,7 +608,7 @@ for details.</p></div> </div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-05-23 09:53:16 UTC
+Last updated 2009-06-14 01:03:02 UTC
</div>
</div>
</body>
|