When should a team adopt Git LFS and when should it avoid it?
IntermediateProductionMonorepos, large files and repository performance
Answer
Adopt for large binaries that change (design files, game assets, ML model weights up to a few GB) so clones stay small. Avoid for files that never change, for build artifacts (use a registry) and for huge datasets (use object storage, DVC or lakeFS). LFS adds server cost, bandwidth quotas and a migration pain if started late.
More on Monorepos, large files and repository performance
What are the main trade-offs of a monorepo?IntermediateHow do you make CI efficient in a monorepo?AdvancedHow do you onboard developers to a very large repo without a 30-minute clone?IntermediateWhat does Scalar do and when do you recommend it?Advanced`git status` takes 20 seconds in a big working tree. How do you fix it?AdvancedHow do you control LFS cost and bandwidth in CI?Intermediate