Commit 3d07b6f9 authored by Katrin Leinweber's avatar Katrin Leinweber Committed by Evan Read

Clearly emphasise new filter-repo over old methods

In 13.0 we were still recommending BFG and filter-branch:

https://gitlab.com/gitlab-org/gitlab/-/blob/13-0-stable-ee/doc/user/project/repository/reducing_the_repo_size_using_git.md

Keeping them listed here visually highlighted them somewhat and
contradicted their qualification as "not recommended".
parent 182e6a1c
...@@ -14,11 +14,9 @@ Git repositories become larger over time. When large files are added to a Git re ...@@ -14,11 +14,9 @@ Git repositories become larger over time. When large files are added to a Git re
- Git repository storage limits [can be reached](#storage-limits). - Git repository storage limits [can be reached](#storage-limits).
Rewriting a repository can remove unwanted history to make the repository smaller. Rewriting a repository can remove unwanted history to make the repository smaller.
[`git filter-repo`](https://github.com/newren/git-filter-repo) is a tool for quickly rewriting Git We **recommend [`git filter-repo`](https://github.com/newren/git-filter-repo/blob/main/README.md)**
repository history, and is recommended over both: over [`git filter-branch`](https://git-scm.com/docs/git-filter-branch) and
[BFG](https://rtyley.github.io/bfg-repo-cleaner/).
- [`git filter-branch`](https://git-scm.com/docs/git-filter-branch).
- [BFG](https://rtyley.github.io/bfg-repo-cleaner/).
DANGER: **Danger:** 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 backup your repository before
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment