Closed ghost closed 1 year ago
It looks like you are using https to clone from github, but the sub-repo (choc) is configured as an ssh connection. We tend to use ssh not https for our work, so you really need to setup ssh for the clone to work. We'd have the same problem the other way around if we used https and you used ssh, so there is no way around this that i'm aware of
You'll want to follow the instructions here: https://docs.github.com/en/authentication/connecting-to-github-with-ssh
I've just seen the comment on this post: https://stackoverflow.com/questions/40841882/automatically-access-git-submodules-via-ssh-or-https
`For Github I have this in my ~/.gitconfig:
[url "ssh://git@github.com/"] insteadOf = https://github.com/`
You may be able to get around this by doing the opposite - converting ssh:// into https://