Hi,
We have a repo that is currently over the 2GB size limit.
But most of the large files are in a submodule and not in the parent repo itself.
So it seems the size of submodules is added to a repo's size limit, is this correct?
thanks for the info,
Thomas
(6 years later...)
I'm pretty certain that @Daniel Eads {unmonitored account} answer is not correct.
The submodule feature is a link between two repos. The feature allows the workspace of the submodule repo to appear as a folder inside the workspace of the parent repo.
A submodule repo is a repo like any other. You can use it like any other repo, independently of the referrer, if you want to. The only thing that makes it a submodule is the link from a referring repo.
Hi Thomas,
That's my understanding after reading how git stores submodules - locally they are subdirectories of the parent repo but let you have commits tracked separately. On disk though (and for Bitbucket), they would count against the size of the parent.
If you haven't already started down this road, Bitbucket supports Git LFS that should help take care of the large files. Documentation for enabling it here. Files in Git LFS don't count against the 2GB repo limit.
Cheers,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.