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.
