Git LFS (Large File Storage) je razširitev za učinkovito upravljanje velike binarne datoteke (videi, nabore podatkov, oblikovalska sredstva, velike binarne datoteke) v Gitu. Git je zasnovan za besedilo/izvorno kodo in slabo upravlja velike binarne datoteke, zato LFS te shrani posebej in v repozitoriju ohrani lahkeReference.
Problem: Git in velike binarne datoteke
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.
