Submodules: Add the "fetchRecurseSubmodules" config option
[gitweb.git] / Documentation / fetch-options.txt
index 9333c42c558464ce2430df39e9864f932e786b36..99e72d912488a73fffc816b2a006c453ab8b0e02 100644 (file)
@@ -60,6 +60,17 @@ endif::git-pull[]
        flag lets all tags and their associated objects be
        downloaded.
 
+--[no-]recurse-submodules::
+       This option controls if new commits of all populated submodules should
+       be fetched too (see linkgit:git-config[1] and linkgit:gitmodules[5]).
+
+ifndef::git-pull[]
+--submodule-prefix=<path>::
+       Prepend <path> to paths printed in informative messages
+       such as "Fetching submodule foo".  This option is used
+       internally when recursing over submodules.
+endif::git-pull[]
+
 -u::
 --update-head-ok::
        By default 'git fetch' refuses to update the head which