diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-04-22 14:41:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-22 14:41:44 -0700 |
commit | 67bf224a9fb3cd34ef712113c48f3144a9bc232a (patch) | |
tree | b3406220064904e5c16814c16b29375806646762 /git-clone.html | |
parent | 0c3c56d58eecca238d9219bfe80754e089939b99 (diff) | |
download | git-htmldocs-67bf224a9fb3cd34ef712113c48f3144a9bc232a.tar.gz |
Autogenerated HTML docs for v2.26.2-266-ge8703
Diffstat (limited to 'git-clone.html')
-rw-r--r-- | git-clone.html | 20 |
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 <git dir>]
[--depth <depth>] [--[no-]single-branch] [--no-tags]
[--recurse-submodules[=<pathspec>]] [--[no-]shallow-submodules]
- [--[no-]remote-submodules] [--jobs <n>] [--sparse] [--] <repository>
+ [--[no-]remote-submodules] [--jobs <n>] [--sparse]
+ [--filter=<filter>] [--] <repository>
[<directory>]</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=<filter-spec>
+</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><filter-spec></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=<size></code> will filter out all blobs of size
+ at least <code><size></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>
|