Re:Josh: Get the advantages of a monorepo with multirepo setups
by romwell on Thursday July 15, 2021 @11:56AM
(#27846199)
That's why there's git-lfs[1] (large file storage)
Keeps the binaries out of your repo, replacing them with pointers
Re:Josh: Get the advantages of a monorepo with multirepo setups
by drjasonharrison on Thursday July 15, 2021 @11:45AM
(#27846060)
And many git repository hosting services, like bitbucket, have limits on how large your repository can be. Sometimes you can upgrade these limits. This often leads to fear of exceeding this limit and can lead to one repository per module.
And it’s less about LoC, and more about the number of files and how much binary stuff you put in your repo (and how often it changes). Git is really bad when binary data is involved.
Git has the facilities to keep monorepos clicking along (shallow clones and sparse checkout) but they aren’t along the “happy path”