diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-04-25 19:12:27 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-25 19:12:27 +0900 |
commit | 2ba14716c3b8d8081480683846aefbc1d2abe0db (patch) | |
tree | 26796b7b6c67263fc7a895282813fba914033b2c /git-submodule.html | |
parent | b551377cb5b53a9d5872eeaa46cd5b3a0a661435 (diff) | |
download | git-htmldocs-2ba14716c3b8d8081480683846aefbc1d2abe0db.tar.gz |
Autogenerated HTML docs for v2.21.0-777-g83232e
Diffstat (limited to 'git-submodule.html')
-rw-r--r-- | git-submodule.html | 21 |
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 [--] [<path>…]
<em>git submodule</em> [--quiet] deinit [-f|--force] (--all|[--] <path>…)
<em>git submodule</em> [--quiet] update [<options>] [--] [<path>…]
+<em>git submodule</em> [--quiet] set-branch [<options>] [--] <path>
<em>git submodule</em> [--quiet] summary [<options>] [--] [<path>…]
<em>git submodule</em> [--quiet] foreach [--recursive] <command>
<em>git submodule</em> [--quiet] sync [--recursive] [--] [<path>…]
@@ -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 <branch> [--] <path>
+</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.<name>.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) <n>] [commit] [--] [<path>…]
</dt>
<dd>
@@ -1082,10 +1094,10 @@ embedded into the superprojects git directory.</p></div> </p>
</dd>
<dt class="hdlist1">
--b
+-b <branch>
</dt>
<dt class="hdlist1">
---branch
+--branch <branch>
</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.<name>.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>
|