Commit 11e989c9 authored by Evan Read's avatar Evan Read

Merge branch '338684-lfs-problem' into 'master'

BFG is deprecated and shouldn't be recommended

See merge request gitlab-org/gitlab!69395
parents 9cc75d7a 3207d17f
...@@ -7,6 +7,11 @@ description: "How to migrate an existing Git repository to Git LFS with BFG." ...@@ -7,6 +7,11 @@ description: "How to migrate an existing Git repository to Git LFS with BFG."
# Migrate a Git repository into Git LFS with BFG # Migrate a Git repository into Git LFS with BFG
WARNING:
The following documentation is deprecated. We recommend using
[`git lfs migrate`](https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs-migrate.1.ronn)
instead of the method documented below.
Using Git LFS can help you to reduce the size of your Git Using Git LFS can help you to reduce the size of your Git
repository and improve its performance. repository and improve its performance.
......
...@@ -388,7 +388,6 @@ git filter-branch --tree-filter 'rm filename' HEAD ...@@ -388,7 +388,6 @@ git filter-branch --tree-filter 'rm filename' HEAD
The `git filter-branch` command might be slow on large repositories. The `git filter-branch` command might be slow on large repositories.
Tools are available to execute Git commands more quickly. Tools are available to execute Git commands more quickly.
An alternative is the open source community-maintained tool [BFG](https://rtyley.github.io/bfg-repo-cleaner/).
These tools are faster because they do not provide the same These tools are faster because they do not provide the same
feature set as `git filter-branch` does, but focus on specific use cases. feature set as `git filter-branch` does, but focus on specific use cases.
......
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