summaryrefslogtreecommitdiffstats
path: root/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-03-30 16:00:21 -0700
committerJunio C Hamano <gitster@pobox.com>2017-03-30 16:00:21 -0700
commitdc8d0c30582dfb0c734e0999ffbb301067de92ef (patch)
treecf4262bb682df7b39006e1f33554dd9804623144 /git-submodule.txt
parent2affb96f40129de19a00a0ff8b22e31a47499c42 (diff)
downloadgit-htmldocs-dc8d0c30582dfb0c734e0999ffbb301067de92ef.tar.gz
Autogenerated HTML docs for v2.12.2-575-gb14f2
Diffstat (limited to 'git-submodule.txt')
-rw-r--r--git-submodule.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/git-submodule.txt b/git-submodule.txt
index e05d0cdde..74bc6200d 100644
--- a/git-submodule.txt
+++ b/git-submodule.txt
@@ -129,7 +129,9 @@ init [--] [<path>...]::
repository will be assumed to be upstream.
+
Optional <path> arguments limit which submodules will be initialized.
-If no path is specified, all submodules are initialized.
+If no path is specified and submodule.active has been configured, submodules
+configured to be active will be initialized, otherwise all submodules are
+initialized.
+
When present, it will also copy the value of `submodule.$name.update`.
This command does not alter existing information in .git/config.