i'm quiet new to git and i don't know how to solve this specific problem in the best way. Hope you guys can offer me some good solutions. I searched the web but couldn't find an example like this which solved my issue. Maybe it's an design flaw? I just can't find a good solution.
I have the following projects:
- Common
- SqlApi: depends on specific Common version
- CoreLogic: depends on specific Common and SqlApi version
- Project A: depends on specific CoreLogic, SqlApi and Common version
- Project B: depends on specific CoreLogic and Common version
With submodules, the working directory of Project A looks like this:
Project A
- Common(1)
- SqlApi(1)
+ Common(2)
- CoreLogic
+ Common(3)
+ SqlApi(2)
* Common(4)
Is there an better way to get rid of the Common (2-4) and SqlApi (2) and let them all link to the same Common/SqlApi(1) version within one Project?
Maybe im just "routine-blinded" but i need some help to figure this out.