summaryrefslogtreecommitdiffstats
path: root/git-submodule.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-04-25 19:12:27 +0900
committerJunio C Hamano <gitster@pobox.com>2019-04-25 19:12:27 +0900
commit2ba14716c3b8d8081480683846aefbc1d2abe0db (patch)
tree26796b7b6c67263fc7a895282813fba914033b2c /git-submodule.html
parentb551377cb5b53a9d5872eeaa46cd5b3a0a661435 (diff)
downloadgit-htmldocs-2ba14716c3b8d8081480683846aefbc1d2abe0db.tar.gz
Autogenerated HTML docs for v2.21.0-777-g83232e
Diffstat (limited to 'git-submodule.html')
-rw-r--r--git-submodule.html21
1 files changed, 17 insertions, 4 deletions
diff --git a/git-submodule.html b/git-submodule.html
index 2c88e0750..5cdf87296 100644
--- a/git-submodule.html
+++ b/git-submodule.html
@@ -755,6 +755,7 @@ git-submodule(1) Manual Page
<em>git submodule</em> [--quiet] init [--] [&lt;path&gt;&#8230;]
<em>git submodule</em> [--quiet] deinit [-f|--force] (--all|[--] &lt;path&gt;&#8230;)
<em>git submodule</em> [--quiet] update [&lt;options&gt;] [--] [&lt;path&gt;&#8230;]
+<em>git submodule</em> [--quiet] set-branch [&lt;options&gt;] [--] &lt;path&gt;
<em>git submodule</em> [--quiet] summary [&lt;options&gt;] [--] [&lt;path&gt;&#8230;]
<em>git submodule</em> [--quiet] foreach [--recursive] &lt;command&gt;
<em>git submodule</em> [--quiet] sync [--recursive] [--] [&lt;path&gt;&#8230;]
@@ -959,6 +960,17 @@ registered submodules, and update any nested submodules within.</p></div>
</div></div>
</dd>
<dt class="hdlist1">
+set-branch -d|--default)|(-b|--branch &lt;branch&gt; [--] &lt;path&gt;
+</dt>
+<dd>
+<p>
+ Sets the default remote tracking branch for the submodule. The
+ <code>--branch</code> option allows the remote branch to be specified. The
+ <code>--default</code> option removes the submodule.&lt;name&gt;.branch configuration
+ key, which causes the tracking branch to default to <em>master</em>.
+</p>
+</dd>
+<dt class="hdlist1">
summary [--cached|--files] [(-n|--summary-limit) &lt;n&gt;] [commit] [--] [&lt;path&gt;&#8230;]
</dt>
<dd>
@@ -1082,10 +1094,10 @@ embedded into the superprojects git directory.</p></div>
</p>
</dd>
<dt class="hdlist1">
--b
+-b &lt;branch&gt;
</dt>
<dt class="hdlist1">
---branch
+--branch &lt;branch&gt;
</dt>
<dd>
<p>
@@ -1093,7 +1105,8 @@ embedded into the superprojects git directory.</p></div>
The name of the branch is recorded as <code>submodule.&lt;name&gt;.branch</code> in
<code>.gitmodules</code> for <code>update --remote</code>. A special value of <code>.</code> is used to
indicate that the name of the branch in the submodule should be the
- same name as the current branch in the current repository.
+ same name as the current branch in the current repository. If the
+ option is not specified, it defaults to <em>master</em>.
</p>
</dd>
<dt class="hdlist1">
@@ -1368,7 +1381,7 @@ for details.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2019-04-22 12:35:42 JST
+ 2019-04-25 19:09:28 JST
</div>
</div>
</body>