Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
940b5bbf
Commit
940b5bbf
authored
May 12, 2020
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention minimal Git version for partial clone
parent
911c4841
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
doc/topics/git/partial_clone.md
doc/topics/git/partial_clone.md
+4
-2
No files found.
doc/topics/git/partial_clone.md
View file @
940b5bbf
...
...
@@ -9,6 +9,8 @@ is a performance optimization that "allows Git to function without having a
complete copy of the repository. The goal of this work is to allow Git better
handle extremely large repositories."
Git 2.22.0 or later is required.
## Filter by file size
> [Introduced](https://gitlab.com/gitlab-org/gitaly/-/issues/2553) in GitLab 12.10.
...
...
@@ -118,7 +120,7 @@ enabled on the Git server:
many applications, each in a different subdirectory in the root. Create a file
`shiny-app/.filterspec`
using the GitLab web interface:
```
.gitignore
```
plaintext
# Only the paths listed in the file will be downloaded when performing a
# partial clone using `--filter=sparse:oid=shiny-app/.gitfilterspec`
...
...
@@ -136,7 +138,7 @@ enabled on the Git server:
shared-component-b/
```
1.
*
Create a new Git repository and fetch.
*
Support for
`--filter=sparse:oid`
1.
*
*Create a new Git repository and fetch.*
*
Support for
`--filter=sparse:oid`
using the clone command is incomplete, so we will emulate the clone command
by hand, using
`git init`
and
`git fetch`
. Follow
[
issue tracking support for `--filter=sparse:oid`
](
https://gitlab.com/gitlab-org/git/issues/4
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment