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
65e44728
Commit
65e44728
authored
Feb 22, 2022
by
Joseph Jose
Committed by
Evan Read
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates for
https://gitlab.com/gitlab-org/gitlab/-/issues/353232
parent
a2964e3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/user/project/repository/reducing_the_repo_size_using_git.md
...er/project/repository/reducing_the_repo_size_using_git.md
+4
-4
No files found.
doc/user/project/repository/reducing_the_repo_size_using_git.md
View file @
65e44728
...
@@ -62,7 +62,7 @@ To purge files from a GitLab repository:
...
@@ -62,7 +62,7 @@ To purge files from a GitLab repository:
git clone
--bare
--mirror
/path/to/project.bundle
git clone
--bare
--mirror
/path/to/project.bundle
```
```
1.
Navigate
to the
`project.git`
directory:
1.
Go
to the
`project.git`
directory:
```
shell
```
shell
cd
project.git
cd
project.git
...
@@ -159,7 +159,7 @@ operations before continuing.
...
@@ -159,7 +159,7 @@ operations before continuing.
To clean up a repository:
To clean up a repository:
1.
Go to the project for the repository.
1.
Go to the project for the repository.
1.
Navigate
to
**Settings > Repository**
.
1.
Go
to
**Settings > Repository**
.
1.
Upload a list of objects. For example, a
`commit-map`
file created by
`git filter-repo`
which is located in the
1.
Upload a list of objects. For example, a
`commit-map`
file created by
`git filter-repo`
which is located in the
`filter-repo`
directory.
`filter-repo`
directory.
...
@@ -169,7 +169,7 @@ To clean up a repository:
...
@@ -169,7 +169,7 @@ To clean up a repository:
split
-l
3000 filter-repo/commit-map filter-repo/commit-map-
split
-l
3000 filter-repo/commit-map filter-repo/commit-map-
```
```
1.
Click
**Start cleanup**
.
1.
Select
**Start cleanup**
.
This:
This:
...
@@ -240,7 +240,7 @@ Until `git gc` runs on the GitLab side, the "removed" commits and blobs still ex
...
@@ -240,7 +240,7 @@ Until `git gc` runs on the GitLab side, the "removed" commits and blobs still ex
must be able to push the rewritten history to GitLab, which may be impossible if you've already
must be able to push the rewritten history to GitLab, which may be impossible if you've already
exceeded the maximum size limit.
exceeded the maximum size limit.
In order to lift these restrictions, the a
dministrator of the self-managed GitLab instance must
To lift these restrictions, the A
dministrator of the self-managed GitLab instance must
increase the limit on the particular project that exceeded it. Therefore, it's always better to
increase the limit on the particular project that exceeded it. Therefore, it's always better to
proactively stay underneath the limit. If you hit the limit, and can't have it temporarily
proactively stay underneath the limit. If you hit the limit, and can't have it temporarily
increased, your only option is to:
increased, your only option is to:
...
...
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