| ▲ | mort96 9 hours ago | |||||||||||||||||||||||||||||||
They're the best way we have to reference other repositories from one repository. All other solutions don't have the benefit of being built in to git and having support built in to all git forges. Ecosystems like Yocto are built around having meta layers as submodules. And, despite the usability flaws of submodules, it works really well. I also use submodules to include dependencies into C++ projects a lot. It works fine. | ||||||||||||||||||||||||||||||||
| ▲ | bryanlarsen 9 hours ago | parent [-] | |||||||||||||||||||||||||||||||
git subtree and git subrepo are compatible with all git forges and don't require normal developers to install the extensions. Only the person/bot doing the occasional sync to the external repo has to install the extension. I prefer git subrepo for most (but not all) use cases. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||