Git LFS (Large File Storage) este o extensie pentru gestionarea eficientă a fișierelor binare mari (videoclipuri, seturi de date, active de design, binare mari) în Git. Git este conceput pentru text/cod sursă și gestionează prost fișierele binare mari, deci LFS le stochează separat, păstrând doar referințe ușoare în depozit.
Problema: Git și fișierele binare mari
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.
