]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/fetch-options.txt
fetch/pull: Add the --recurse-submodules option
[thirdparty/git.git] / Documentation / fetch-options.txt
index 9333c42c558464ce2430df39e9864f932e786b36..7f8d562efc2bde302ca23445a616d1a9b5802e32 100644 (file)
@@ -60,6 +60,16 @@ endif::git-pull[]
        flag lets all tags and their associated objects be
        downloaded.
 
+--recurse-submodules::
+       Use this option to fetch new commits of all populated submodules too.
+
+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