diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-05-06 15:27:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-06 15:27:09 -0700 |
commit | ccdabcae204ead708ad13194edd370770437ee5b (patch) | |
tree | 3dcc122844c6b95c9469fd3b169a5966ad25b684 /git-clone.html | |
parent | 6c980140719aead9ebe164008949c20bee3b38a0 (diff) | |
download | git-htmldocs-ccdabcae204ead708ad13194edd370770437ee5b.tar.gz |
Autogenerated HTML docs for v2.8.2-372-g63a350
Diffstat (limited to 'git-clone.html')
-rw-r--r-- | git-clone.html | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/git-clone.html b/git-clone.html index bce9b325b..0906f2d32 100644 --- a/git-clone.html +++ b/git-clone.html @@ -753,8 +753,8 @@ git-clone(1) Manual Page [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]
[--dissociate] [--separate-git-dir <git dir>]
[--depth <depth>] [--[no-]single-branch]
- [--recursive | --recurse-submodules] [--jobs <n>] [--] <repository>
- [<directory>]</pre>
+ [--recursive | --recurse-submodules] [--[no-]shallow-submodules]
+ [--jobs <n>] [--] <repository> [<directory>]</pre>
<div class="attribution">
</div></div>
</div>
@@ -1030,7 +1030,9 @@ objects from the source repository into a pack in the cloned repository.</p></di Create a <em>shallow</em> clone with a history truncated to the
specified number of commits. Implies <code>--single-branch</code> unless
<code>--no-single-branch</code> is given to fetch the histories near the
- tips of all branches.
+ tips of all branches. This implies <code>--shallow-submodules</code>. If
+ you want to have a shallow superproject clone, but full submodules,
+ also pass <code>--no-shallow-submodules</code>.
</p>
</dd>
<dt class="hdlist1">
@@ -1065,6 +1067,14 @@ objects from the source repository into a pack in the cloned repository.</p></di </p>
</dd>
<dt class="hdlist1">
+--[no-]shallow-submodules
+</dt>
+<dd>
+<p>
+ All submodules which are cloned will be shallow with a depth of 1.
+</p>
+</dd>
+<dt class="hdlist1">
--separate-git-dir=<git dir>
</dt>
<dd>
@@ -1305,7 +1315,7 @@ Create a bare repository to publish your changes to the public: <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2016-04-06 15:57:48 PDT
+Last updated 2016-05-06 15:26:51 PDT
</div>
</div>
</body>
|