Question

If I have a few projects, say A, B, C, that build on top each other. For example, B and C depend on A. And, C depends on B and A. A has no dependancies.

I want to also make sure that people downloading a project dont have to worry about downloading the dependancies separately. So if someone downloads B, A is automatically included with it. It is OK if it contains duplicate code in each repository as long as that can be deduped if the downloader downloads all of them.

What is the best way to organize projects like this? Thanks

Was it helpful?

Solution

You want the submodules from git, this is the term for what you are looking for .

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top