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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
828c52d0
Commit
828c52d0
authored
Aug 05, 2019
by
Achilleas Pipinellis
Committed by
Sean McGivern
Aug 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some Markdown lint errors
Introduced in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30295
parent
17d80557
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
33 deletions
+33
-33
doc/topics/git/partial_clone.md
doc/topics/git/partial_clone.md
+33
-33
No files found.
doc/topics/git/partial_clone.md
View file @
828c52d0
...
...
@@ -32,7 +32,7 @@ support:
Briefly, partial clone works by:
-
excluding objects from being transferred when cloning or fetching a
repository using a new
`--filter`
flag
repository using a new
`--filter`
flag
-
downloading missing objects on demand
Follow
[
Git for enormous repositories
](
https://gitlab.com/groups/gitlab-org/-/epics/773
)
for roadmap and updates.
...
...
@@ -78,8 +78,8 @@ With the `uploadpack.allowFilter` and `uploadpack.allowAnySHA1InWant` options
enabled on the Git server:
1.
**Create a filter spec.**
For example, consider a monolithic repository with
many applications, each in a different subdirectory in the root. Create a file
`shiny-app/.filterspec`
using the GitLab web interface:
many applications, each in a different subdirectory in the root. Create a file
`shiny-app/.filterspec`
using the GitLab web interface:
```
.gitignore
# Only the paths listed in the file will be downloaded when performing a
...
...
@@ -100,9 +100,9 @@ many applications, each in a different subdirectory in the root. Create a file
```
2.
*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
[
gitaly#1769
](
https://gitlab.com/gitlab-org/gitaly/issues/1769
)
for updates.
using the clone command is incomplete, so we will emulate the clone command
by hand, using
`git init`
and
`git fetch`
. Follow
[
gitaly#1769
](
https://gitlab.com/gitlab-org/gitaly/issues/1769
)
for updates.
```bash
# Create a new directory for the Git repository
...
...
@@ -132,8 +132,8 @@ by hand, using `git init` and `git fetch`. Follow
integrations.
3.
**Sparse checkout**
must be enabled and configured to prevent objects from
other paths being downloaded automatically when checking out branches. Follow
[
gitaly#1765
](
https://gitlab.com/gitlab-org/gitaly/issues/1765
)
for updates.
other paths being downloaded automatically when checking out branches. Follow
[
gitaly#1765
](
https://gitlab.com/gitlab-org/gitaly/issues/1765
)
for updates.
```bash
# Enable sparse checkout
...
...
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