summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-04-22 14:41:44 -0700
committerJunio C Hamano <gitster@pobox.com>2020-04-22 14:41:44 -0700
commit67bf224a9fb3cd34ef712113c48f3144a9bc232a (patch)
treeb3406220064904e5c16814c16b29375806646762 /git-clone.html
parent0c3c56d58eecca238d9219bfe80754e089939b99 (diff)
downloadgit-htmldocs-67bf224a9fb3cd34ef712113c48f3144a9bc232a.tar.gz
Autogenerated HTML docs for v2.26.2-266-ge8703
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html20
1 files changed, 18 insertions, 2 deletions
diff --git a/git-clone.html b/git-clone.html
index 6e8f0309c..5111e943b 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -755,7 +755,8 @@ 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;] [--sparse] [--] &lt;repository&gt;
+ [--[no-]remote-submodules] [--jobs &lt;n&gt;] [--sparse]
+ [--filter=&lt;filter&gt;] [--] &lt;repository&gt;
[&lt;directory&gt;]</pre>
<div class="attribution">
</div></div>
@@ -971,6 +972,21 @@ objects from the source repository into a pack in the cloned repository.</p></di
</p>
</dd>
<dt class="hdlist1">
+--filter=&lt;filter-spec&gt;
+</dt>
+<dd>
+<p>
+ Use the partial clone feature and request that the server sends
+ a subset of reachable objects according to a given object filter.
+ When using <code>--filter</code>, the supplied <code>&lt;filter-spec&gt;</code> is used for
+ the partial clone filter. For example, <code>--filter=blob:none</code> will
+ filter out all blobs (file contents) until needed by Git. Also,
+ <code>--filter=blob:limit=&lt;size&gt;</code> will filter out all blobs of size
+ at least <code>&lt;size&gt;</code>. For more details on filter specifications, see
+ the <code>--filter</code> option in <a href="git-rev-list.html">git-rev-list(1)</a>.
+</p>
+</dd>
+<dt class="hdlist1">
--mirror
</dt>
<dd>
@@ -1400,7 +1416,7 @@ Create a bare repository to publish your changes to the public:
<div id="footer">
<div id="footer-text">
Last updated
- 2020-03-10 08:03:13 PDT
+ 2020-04-22 14:37:28 PDT
</div>
</div>
</body>