Git add all repositories under a certain path as submodules recursively -
How can I add all the sub-repositories as submodules just under the initial git repository?
I have two separate repositories that I am tracking separately, now I want to take them in a big project, but still want to keep their respective origin.
I just did You can try to do something like this: This should be unsuccessful for regular folders, and may be successful for nested GIT repo folders within your main repository. You've been added once. Once added, you have to commit to your main repo, which you just created (with Note that you will still have to add yet (because their current URL will be their own folder) git init .
Find -Mexade 1-Type D-Xacit Add GIT Submissions ./ {} \;
submodule add ) to record.
Comments
Post a Comment