summaryrefslogtreecommitdiffstats
path: root/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-03-05 13:52:25 -0800
committerJunio C Hamano <gitster@pobox.com>2020-03-05 13:52:25 -0800
commitb082a53e847d444f274aac11769b625241a41060 (patch)
treef12288b3a22b5ee92d39b8edf626bc59c1a20466 /git-submodule.txt
parent03f8f070c294d06790c5a1f046e52afe9f54edd4 (diff)
downloadgit-htmldocs-b082a53e847d444f274aac11769b625241a41060.tar.gz
Autogenerated HTML docs for v2.26.0-rc0
Diffstat (limited to 'git-submodule.txt')
-rw-r--r--git-submodule.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/git-submodule.txt b/git-submodule.txt
index 218942acd..c9ed2bf3d 100644
--- a/git-submodule.txt
+++ b/git-submodule.txt
@@ -133,7 +133,7 @@ If you really want to remove a submodule from the repository and commit
that use linkgit:git-rm[1] instead. See linkgit:gitsubmodules[7] for removal
options.
-update [--init] [--remote] [-N|--no-fetch] [--[no-]recommend-shallow] [-f|--force] [--checkout|--rebase|--merge] [--reference <repository>] [--depth <depth>] [--recursive] [--jobs <n>] [--] [<path>...]::
+update [--init] [--remote] [-N|--no-fetch] [--[no-]recommend-shallow] [-f|--force] [--checkout|--rebase|--merge] [--reference <repository>] [--depth <depth>] [--recursive] [--jobs <n>] [--[no-]single-branch] [--] [<path>...]::
+
--
Update the registered submodules to match what the superproject
@@ -430,6 +430,10 @@ options carefully.
Clone new submodules in parallel with as many jobs.
Defaults to the `submodule.fetchJobs` option.
+--[no-]single-branch::
+ This option is only valid for the update command.
+ Clone only one branch during update: HEAD or one specified by --branch.
+
<path>...::
Paths to submodule(s). When specified this will restrict the command
to only operate on the submodules found at the specified paths.