Do I have a project that relies on two more subprojects that have been combined using the subtree merge strategy (as described here and there )?
After some time, I noticed that one of the subprojects has its own life cycle inside the current project, so I would like to separate it from the original, but I have no idea how to achieve this.
Basically, I noticed that the subprojects are listed in the .git / config file, so I'm wondering if it's enough to remove it from there.
Following Yakub's answer / question, I will try to add more details to my question. The project I'm working on ProjectA depends on the LibraryB library, which has its own git repository and its own life cycle. When setting up ProjectA, I used the subtree merge method to add the LibraryB dependency (the steps exactly correspond to those described in the links, fortunately added by VonC). ProjectA now needs some custom changes to LibraryB that aren't universal enough to be thrown into the LibraryB repository. Thus, I would like to separate the LibraryB from ProjectA from my main repository (by decoupling, I mean that LibraryB in ProjectA will not be able to update it from its main repository and will have its own history,tracked only within ProjectA).
More: after checking my ProjectA repository, I found out that the only link to the LibraryB repository is in the ProjectA / .git / config file in the form:
[remote "gaelib"]
url = ../libraries/gaelib
fetch = +refs/heads/*:refs/remotes/gaelib/*
and there is no additional information about git in the LibraryB directory that was included in ProjectA (../libraries/gaelib)
source
share