3 ms·
Why aren't submodules more wide spread? Building a monorepo out of submodules should solve these problems, or not? Also, there is subtree.
by k__ 9y ago
Why aren't submodules more wide spread?
Building a monorepo out of submodules should solve these problems, or not?
Also, there is subtree.
- iveqy 9y agoBecause submodules is hard to understand. They require that you understand git and that you can add one level of abstraktion. Once you done that, they är great!
- Groxx 9y agoAlso hard to deal with. Lots of operations leave submodules in unclean / out-of-date states. In general / light use, yeah, they're great. Unfortunately, they have a very large number of edge cases where they essentially require either a) everyone to be experts in the edge cases, or b) tons of new tooling (because existing tools won't take these steps for you).
- lamlam 9y agoThat is... until you try to remove a submodule. I like sobmodules, but the whole feature needs a lot more polish before it's widely adopted.