4 ms·
The monorepo is essentially a single file system. Things like moving a file from one git submodule to another is more cumbersome than just `mv foo dir/bar`. Th
by ants_everywhere 3y ago
The monorepo is essentially a single file system.
Things like moving a file from one git submodule to another is more cumbersome than just `mv foo dir/bar`. That means your directory structure is in practice tightly coupled to the tree of git projects.
Also, since any of the git sub-repos can be branched, the chaos of merging development branches seems like it gets even more complicated in a submodule architecture.
It may be possible to put a user interface that abstracts away the submodule architecture and forces everything to live on HEAD. But at that point it might be easier to just provide a git-like UI to a centralized VCS.