summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-25 13:12:55 -0800
committerJunio C Hamano <gitster@pobox.com>2019-12-25 13:12:55 -0800
commit2f5a9896b8a0020ce124ca87764bc91f565e48bb (patch)
tree169d2a3dbcd625aef74728e004d2d20157a5bcbd /git-clone.html
parent2267da58fbe3aef887c21a27fd6b056bf6b38fcf (diff)
downloadgit-htmldocs-2f5a9896b8a0020ce124ca87764bc91f565e48bb.tar.gz
Autogenerated HTML docs for v2.25.0-rc0
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html19
1 files changed, 15 insertions, 4 deletions
diff --git a/git-clone.html b/git-clone.html
index 09ccfd79f..df7ed4727 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -755,7 +755,7 @@ git-clone(1) Manual Page
[--dissociate] [--separate-git-dir &lt;git dir&gt;]
[--depth &lt;depth&gt;] [--[no-]single-branch] [--no-tags]
[--recurse-submodules[=&lt;pathspec&gt;]] [--[no-]shallow-submodules]
- [--[no-]remote-submodules] [--jobs &lt;n&gt;] [--] &lt;repository&gt;
+ [--[no-]remote-submodules] [--jobs &lt;n&gt;] [--sparse] [--] &lt;repository&gt;
[&lt;directory&gt;]</pre>
<div class="attribution">
</div></div>
@@ -960,6 +960,17 @@ objects from the source repository into a pack in the cloned repository.</p></di
</p>
</dd>
<dt class="hdlist1">
+--sparse
+</dt>
+<dd>
+<p>
+ Initialize the sparse-checkout file so the working
+ directory starts with only the files in the root
+ of the repository. The sparse-checkout file can be
+ modified to grow the working directory as needed.
+</p>
+</dd>
+<dt class="hdlist1">
--mirror
</dt>
<dd>
@@ -1139,9 +1150,9 @@ or <code>--mirror</code> is given)</p></div>
</dt>
<dd>
<p>
- All submodules which are cloned will use the status of the submodule’s
+ All submodules which are cloned will use the status of the submodule&#8217;s
remote-tracking branch to update the submodule, rather than the
- superproject’s recorded SHA-1. Equivalent to passing <code>--remote</code> to
+ superproject&#8217;s recorded SHA-1. Equivalent to passing <code>--remote</code> to
<code>git submodule update</code>.
</p>
</dd>
@@ -1389,7 +1400,7 @@ Create a bare repository to publish your changes to the public:
<div id="footer">
<div id="footer-text">
Last updated
- 2019-07-12 13:29:16 PDT
+ 2019-12-25 13:09:50 PST
</div>
</div>
</body>