I want to clone some github repositories to computers that have only access to github via an SSH tunnel.
I can use the ssh addresses to clone simple repositories without problems.
When a repository contains submodules, the access method is controled by .gitsubmodules which often default to https addresses (since this is the recommended way by github).
Is there a way to tell git submodules that it should always use ssh access, even when the address of a submodule is an https address?
Having to clone a repo and modify its .gitsubmodules just to be able to clone it through an ssh tunnel seems retarded. Hardcoding the access method in a .gitsubmodules file instead of letting your users choose the appropiate method seems pretty retarded too. I guess there must be a better way but I cannot find it.