aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/usage/clone-filter.en-us.md
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2024-07-10 09:46:08 +0800
committerGitHub <noreply@github.com>2024-07-10 01:46:08 +0000
commitaf1f0dfcc6366c01ee05098c34ca8457a0248f70 (patch)
tree17da03206cd974b4321e9bfe449cc3efa6014d25 /docs/content/usage/clone-filter.en-us.md
parentd6f8a60b6579c9a152d930d45e26eb91be685f0a (diff)
downloadgitea-af1f0dfcc6366c01ee05098c34ca8457a0248f70.tar.gz
gitea-af1f0dfcc6366c01ee05098c34ca8457a0248f70.zip
Remove docs sub folder since docs has been moved to https://gitea.com/gitea/docs (#31536)
Diffstat (limited to 'docs/content/usage/clone-filter.en-us.md')
-rw-r--r--docs/content/usage/clone-filter.en-us.md39
1 files changed, 0 insertions, 39 deletions
diff --git a/docs/content/usage/clone-filter.en-us.md b/docs/content/usage/clone-filter.en-us.md
deleted file mode 100644
index c3d4a43e2c..0000000000
--- a/docs/content/usage/clone-filter.en-us.md
+++ /dev/null
@@ -1,39 +0,0 @@
----
-date: "2021-02-02"
-title: "Clone filters (partial clone)"
-slug: "clone-filters"
-sidebar_position: 25
-draft: false
-toc: false
-aliases:
- - /en-us/clone-filters
-menu:
- sidebar:
- parent: "usage"
- name: "Clone filters"
- sidebar_position: 25
- identifier: "clone-filters"
----
-
-# Clone filters (partial clone)
-
-Git introduces `--filter` option to `git clone` command, which filters out
-large files and objects (such as blobs) to create partial clone of a repo.
-Clone filters are especially useful for large repo and/or metered connection,
-where full clone (without `--filter`) can be expensive (as all history data
-must be downloaded).
-
-This requires Git version 2.22 or later, both on the Gitea server and on the
-client. For clone filters to work properly, make sure that Git version
-on the client is at least the same as on the server (or later). Login to
-Gitea server as admin and head to Site Administration -> Configuration to
-see Git version of the server.
-
-By default, clone filters are enabled, unless `DISABLE_PARTIAL_CLONE` under
-`[git]` is set to `true`.
-
-See [GitHub blog post: Get up to speed with partial clone](https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/)
-for common use cases of clone filters (blobless and treeless clones), and
-[GitLab docs for partial clone](https://docs.gitlab.com/ee/topics/git/partial_clone.html)
-for more advanced use cases (such as filter by file size and remove
-filters to turn partial clone into full clone).