rtyley / bfg-repo-cleaner

Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala
https://rtyley.github.io/bfg-repo-cleaner/
GNU General Public License v3.0
11.05k stars 545 forks source link

Remove large LFS files from history #390

Open floschl opened 4 years ago

floschl commented 4 years ago

This is no issue but rather a question for a feature: I have a repo with LFS files that got updated multiple times. This let the git repo (so mainly the LFS part of it) grow to over 80GBs. The actual content of the LFS storage amounts to about the halve, about 40GBs. Each time I clone the repository on a different machine, the full 80GBs are downloaded. I want to avoid cloning the repo with the shallow/--depth=1 option, because I wanna keep the history of the sources.

Does the BFG tool also allow removing the LFS history? I only found an option to convert the large git repo files into LFS files.