Git LFS (Large File Storage) हा Git मध्ये मोठ्या बायनरी फाइलींना (व्हिडिओ, डेटासेट, डिজाइन अॅसेट्स, मोठ्या बायनरीज) कुशलतेने हाताळण्यासाठी एक एक्सटेंशन आहे. Git मजकूर/स्रोत कोडसाठी डिজाइन केलेला आहे आणि मोठ्या बायनरीज खराबीने हाताळतो, म्हणून LFS त्यांना वेगळ्यात संग्रहित करतो तर रिपॉजिटरीमध्ये हल्के संदर्भ ठेवतो.
समस्या: Git आणि मोठ्या बायनरीज
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.
