Git LFS (Large File Storage) Git में बड़ी binary files (videos, datasets, design assets, बड़े binaries) को कुशलता से संभालने के लिए एक extension है। Git को text/source code के लिए डिज़ाइन किया गया है और बड़े binaries को खराब तरीके से संभालता है, इसलिए LFS उन्हें अलग से संग्रहीत करता है जबकि repository में हल्के references रखता है।
समस्या: Git और बड़े binaries
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.
