3 ms·
Submodules don't allow for atomic commits that span repos, though. Atomic cross-project commits are the most compelling selling feature for monorepos IMHO. (A
by mceachen 7y ago
Submodules don't allow for atomic commits that span repos, though. Atomic cross-project commits are the most compelling selling feature for monorepos IMHO.
(A common case for this is changing a function's API, and fixing all downstream consumers, in one tidy, holistic PR).
- JoshTriplett 7y ago> Submodules don't allow for atomic commits that span repos, though. They can, but there's little tooling support to help you do so. You can make a new commit in one repo, and then in one atomic commit, you can pull that new commit into a parent repo's submodule and fix the users calling into that submodule.