Git LFS (Large File Storage) është një zgjerim për trajtimin efikas të skedarëve binarë të mëdhenj (videot, përmbledhjet e të dhënave, asetet e dizajnit, binarë të mëdhenj) në Git. Git është dizajnuar për tekst/kod burimor dhe trajton keq binarët e mëdhenj, prandaj LFS i ruajt ato ndaras duke mbajtur referenca të lehta në depo.
Problemi: Git dhe binarët e mëdhenj
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.
