I've used the BFG repo cleaner in the past with great success. I've also recently started tinkering with Git LFS, although I'm still learning.
I had previously .gitignore
d many large files, and when I started tracking then with LFS, the .git/
folder became huge (due to .git/lfs/objects
, mostly).
- By tracking files with Git LFS, am I going to massively increase my repo size right off the bat? That's been my experience so far, but it seems unnecessary (perhaps).
I see that BFG now supports Git LFS. It says I can use that command to reduce the size of my repo, and track with LFS.
- Is there a way to specify the size of the file to clean with BFG then track with LFS, or does it simply perform these actions for all files matched (based on name)?
I've been experimenting to try and find the answers to these questions, but progress has been slow.