How big should the “big file” benefit from Git LFS?

I read about Git LFS and see over and over again that it works great for "large files"

Git Large File Storage (LFS) replaces large files such as audio samples, video [...]

Versions of large files — even those that are a couple GB in size — are Git.

Git Large File Storage (LFS) is a free, open source extension that replaces large files with text pointers inside Git and stores the contents of these files on a remote server.

Unfortunately, I do not see anywhere what a "large file" is. It is clear that something that takes several gigabytes is a large file, but what about something less?

Am I benefiting from Git LFS with large files up to 50 MB? 20MB? 5MB? 1 MB? Less than 1 MB?

How big is the “big file” to benefit from Git LFS compared to regular Git?

+4
source share
2 answers

There is no exact threshold for determining what a large file is. It is up to the user. To find out if you need to store some files using Git LFS, you need to understand how Git works.

Git (perforce, svn) , Git . , , ( blob, ). .git. , "", .

, , Git LFS.

  • . IMO, 10 , Git LFS

  • . ( ), , Git LFS

  • . , , Git LFS

Git LFS " " 50 ? 20MB? 5? 1 ? 1 ?

, , . , 100 , . 20 , , , 15 , 1,5 , Git LFS.

+1

LFS - . , *.psd, . , (git , . diff .cpp , diff .). , , . , .

? , , . , , (.. ).

LFS? hash . . , , . , .

PS: lfs git. , , ... , ... , / / .

, git , , 4GB Windows.

-1

Source: https://habr.com/ru/post/1694203/


All Articles