gitmodules: document shallow recommendation
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stefan Beller committed
Aug 2, 2016 at 16:51 UTC
f6fb30a01d2373f36cbf2054be9ae1bf65475794
1 file changed
+5
Documentation/gitmodules.txt
+5
@@ -79,6 +79,11 @@ submodule.<name>.ignore::
79
"--ignore-submodule" option. The 'git submodule' commands are not
80
affected by this setting.
81
82
+submodule.<name>.shallow::
83
+ When set to true, a clone of this submodule will be performed as a
84
+ shallow clone unless the user explicitely asks for a non-shallow
85
+ clone.
86
+
87
88
EXAMPLES
89
--------