I am trying to clone a large project that has many submodules. I am using this command to save time:
git clone --recurse-submodules --filter=blob:none git@github.com:example/repo.git
The main project clones fine. But when it gets to the submodules, it stops and says: "Fatal: clone of submodule failed with exit code 128"
It does not give any other error message.
My SSH keys are working fine. If I remove the --filter=blob:none part, it works but takes too long. Plus, this only happens on slow, high-latency internet connections.
Why does this fail without a real error message, and how do I fix it?