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
e322676e
Commit
e322676e
authored
Oct 08, 2021
by
John Lyttle
Committed by
Amy Qualls
Oct 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update reducing-repo-size page with more info
parent
0340c12f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
doc/user/project/repository/reducing_the_repo_size_using_git.md
...er/project/repository/reducing_the_repo_size_using_git.md
+7
-1
No files found.
doc/user/project/repository/reducing_the_repo_size_using_git.md
View file @
e322676e
...
...
@@ -63,6 +63,12 @@ To purge files from a GitLab repository:
git clone
--bare
--mirror
/path/to/project.bundle
```
1.
Navigate to the
`project.git`
directory:
```
shell
cd
project.git
```
1.
Using
`git filter-repo`
, purge any files from the history of your repository. Because we are
trying to remove internal refs, we rely on the
`commit-map`
produced by each run to tell us
which internal refs to remove.
...
...
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