Git LFS (Large File Storage) yra Git plėtinys, skirtas efektyviai tvarkyti didelius dvejetainius failus (vaizdo įrašus, duomenų rinkinius, dizaino išteklius, didelės binarines programas). Git yra skirtas tekstui ir šaltinio kodui, todėl blogai tvarko didelius dvejetainius failus. LFS jų saugoja atskirai, o repozitorijoje paliko tik lengvus nuorodas.
Problema: Git ir dideli dvejetainiai failai
Git stores every version of every file in its history (the full content):
→ LARGE BINARY files (videos, datasets, PSDs, big binaries) bloat the repo ENORMOUSLY:
- every change stores another full copy (binaries don't diff well)
- the repo and EVERY clone become huge and slow (clone/fetch download all history)
- history can't be shrunk easily (the large blobs are permanent)
→ Git is great for source code (text, diffable), POOR for large binaries.
