I'm trying to estimate the storage requirements for my project on GitHub and have a few questions about how git-lfs stores multiple versions of files:
Answering your questions:
Are multiple versions of files stored by git-lfs?
Yes. All file versions are stored by git-lfs.
If so, will every change to a file result in the complete file being replicated, or are only differences stored?
Yes. Every little change results in a new complete file stored.
Will all versions count towards the quota on github?
Yes. Every time a new version is pushed, the total file size is counted against your quota.
Is there any way to control how many versions are kept?
No. Git LFS hasn't a feature to do that yet.
See more details here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With