I'm having a problem initializing submodules after a convoluted process of setting up the repository:
The result of step six:
fatal: repository '/some/dir/foo.git' does not exist
The superproject directory was cloned into /some/dir/project/.
The process is so convoluted because: step 1 is painfully slow and machine X has no access to the original repository because of networking restrictions.
So within these constraints (I could re-do step 1, if necessary, perhaps creating a local bare repository straight away) is it possible to achieve what I'm trying to do here?
Thanks.
.gitmodules
is more what you'd call "guidelines" than actual rules.
My first attempt would be
git config submodule.modulename.url url://step-4/path/to/subrepo