git submodule update fails for private submodules
I’m trying to get a private repo which references numerous private submodules working. I’m using ssh and cannot use https to clone them due to GitHub’s new restriction. I have access to all private submodules and have added my public keys to GitHub. I can clone the repo, can initialize and sync the submodules but when I try
git submodule update --recursive
, I get fatal: clone of '[email protected]:user/repo.git' into submodule path 'path/to/main/module' failed
. Is there a solution or workaround for this?