I'm trying to clone a git repository which has submodules via git submodule update --init --recursive
. These submodules all use "[email protected]:foo/bar.git" URLs. Unfortunately, my work place is preventing SSH URLs from their firewall. I can, however, clone via HTTPS, with no problems.
As mentioned, the submodule URLs are hard-coded in the repository to use SSH. Is there a way to tell git to clone these submodule repositories using HTTPS without instead of SSH making any direct modifications to the git repository?