How can I add all sub-repositories inside a just-initialized git repository as submodules?
I have two repositories I've been tracking separately, now I want to take those into a larger project, but still keep their respective origins.
I currently just did git init
.
Also, if possible:
- Without removing any directories temporarily
- Without using a bash script