Comment by chupasaurus
12 hours ago
> If you have depedent projects, they should either be in a monorepo, or delivered through a packaging system so they are not depend on the specific local naming of other repos.
Git submodules is a thing ...
12 hours ago
> If you have depedent projects, they should either be in a monorepo, or delivered through a packaging system so they are not depend on the specific local naming of other repos.
Git submodules is a thing ...
I'm not a fan of submodules, but indeed that also solves the problem OP described.
Our git master actually considered this, but it would have caused other issues that I can't recall right now, so we got stuck with lots of repos. The readme literally has all the git commands, all they had to do was copy/paste them into the terminal.
The problem with submodules in your scenario might be the mutual dependency of repos, everything else is just extra work with git config.
It's literally made for this specific case.
edit: removed stupid hack that wouldn't work.