Re: Should I store large text files on Git LFS?
- From
- David Lang <david@lang.hm>
- Date
- Jul 24, 2017, 04:13 UTC
- Message-ID
- <nycvar.QRO.7.76.6.1707232109480.20418@qynat-yncgbc>
- In-Reply-To
- <FF08CB42-35AC-4B97-BB02-2473BEDE66A1@gmail.com>
On Mon, 24 Jul 2017, Farshid Zavareh wrote:
Show 5 quoted lines
> I'll probably test this myself, but would modifying and committing a 4GB text > file actually add 4GB to the repository's size? I anticipate that it won't, > since Git keeps track of the changes only, instead of storing a copy of the > whole file (whereas this is not the case with binary files, hence the need for > LFS).
well, it wouldn't be 4G because text compresses well, but if the file changes drastically from version to version (say a quarterly report), the diff won't help.
David Lang