summaryrefslogtreecommitdiffstats
path: root/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-06-20 14:23:40 -0700
committerJunio C Hamano <gitster@pobox.com>2016-06-20 14:23:40 -0700
commitfedb1b428f68e8626c38f0aef57a8379e58f3241 (patch)
tree28b330ac176be350f9ff9aa58e991ffcf55ea513 /git-submodule.txt
parent5f888330ed4fbff9586a3ec63b452dd622f5ea58 (diff)
downloadgit-htmldocs-fedb1b428f68e8626c38f0aef57a8379e58f3241.tar.gz
Autogenerated HTML docs for v2.9.0-36-gab7797
Diffstat (limited to 'git-submodule.txt')
-rw-r--r--git-submodule.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/git-submodule.txt b/git-submodule.txt
index 9226c4380..bf3bb372e 100644
--- a/git-submodule.txt
+++ b/git-submodule.txt
@@ -15,8 +15,9 @@ SYNOPSIS
'git submodule' [--quiet] init [--] [<path>...]
'git submodule' [--quiet] deinit [-f|--force] (--all|[--] <path>...)
'git submodule' [--quiet] update [--init] [--remote] [-N|--no-fetch]
- [-f|--force] [--rebase|--merge] [--reference <repository>]
- [--depth <depth>] [--recursive] [--jobs <n>] [--] [<path>...]
+ [--[no-]recommend-shallow] [-f|--force] [--rebase|--merge]
+ [--reference <repository>] [--depth <depth>] [--recursive]
+ [--jobs <n>] [--] [<path>...]
'git submodule' [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]
[commit] [--] [<path>...]
'git submodule' [--quiet] foreach [--recursive] <command>
@@ -384,6 +385,12 @@ for linkgit:git-clone[1]'s `--reference` and `--shared` options carefully.
clone with a history truncated to the specified number of revisions.
See linkgit:git-clone[1]
+--[no-]recommend-shallow::
+ This option is only valid for the update command.
+ The initial clone of a submodule will use the recommended
+ `submodule.<name>.shallow` as provided by the .gitmodules file
+ by default. To ignore the suggestions use `--no-recommend-shallow`.
+
-j <n>::
--jobs <n>::
This option is only valid for the update command.