Reputation: 883
So I have a project A, which uses project B. So I went ahead and marked B as a subtree for the project A and merged the changes from B into A time to time. Also there is a project that I want to use called C, C is also a subtree of the project B. But what I would like to do is add C as a subtree independently in my project and also not have 2 copies of the codebase of C in the project A. How can I go about solving this ? Any help will be appreciated. Thanks.
Upvotes: 1
Views: 68
Reputation: 1324318
The problem with subtree is that C is part of B history.
If you can reference a B without C as a subtree, then you can go the submodule route:
The idea is to:
Upvotes: 2