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
4fa4abb1
Commit
4fa4abb1
authored
Sep 22, 2020
by
Evan Read
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit Reduce size of repo documentation
parent
196aeb62
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
doc/user/project/repository/reducing_the_repo_size_using_git.md
...er/project/repository/reducing_the_repo_size_using_git.md
+6
-7
No files found.
doc/user/project/repository/reducing_the_repo_size_using_git.md
View file @
4fa4abb1
...
...
@@ -19,7 +19,7 @@ over [`git filter-branch`](https://git-scm.com/docs/git-filter-branch) and
[
BFG
](
https://rtyley.github.io/bfg-repo-cleaner/
)
.
DANGER:
**Danger:**
Rewriting repository history is a destructive operation. Make sure to backup your repository before
Rewriting repository history is a destructive operation. Make sure to back
up your repository before
you begin. The best way back up a repository is to
[
export the project
](
../settings/import_export.md#exporting-a-project-and-its-data
)
.
...
...
@@ -266,21 +266,20 @@ You can still:
-
Create new issues.
-
Clone the project.
If you exceed the repository size limit, you
might try to
:
If you exceed the repository size limit, you
can
:
1.
Remove some data.
1.
Make a new commit.
1.
Push back to the repository.
Perhaps you might
also:
If these actions are insufficient, you can
also:
-
Move some blobs to LFS.
-
Remove some old dependency updates from history.
Unfortunately, this workflow won't work. Deleting files in a commit doesn't actually reduce the size
of the repository because the earlier commits and blobs still exist.
What you need to do is rewrite history. We recommend the open-source community-maintained tool
Unfortunately, this workflow doesn't work. Deleting files in a commit doesn't actually reduce the
size of the repository, because the earlier commits and blobs still exist. Instead, you must rewrite
history. We recommend the open-source community-maintained tool
[
`git filter-repo`
](
https://github.com/newren/git-filter-repo
)
.
NOTE:
**Note:**
...
...
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