Never use git submodules
git submodules are always the wrong solution. Yes, even the to the problem they were specifically invented to solve.
- Use git subtree
- Just have a monorepo
- Use a package management system, and explicit dependencies
- Use the multiple repository tool mr
- Have your build expect to find the dependency in .., its parent dir
- Provide an ad-hoc in-tree script to download the dependency
March 13, 2023 at 3:13:15 PM EDT
*
FILLER