Commit fe352403 authored by Evan Read's avatar Evan Read

Merge branch 'docs-emphasise-git-filter-repo' into 'master'

Docs: Clearly emphasise new filter-repo over old methods

See merge request gitlab-org/gitlab!42243
parents 182e6a1c 3d07b6f9
...@@ -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