4 ms·
Likely you don't have SSH configured properly for use with GitHub -- you can either configure it or switch the subproject URL from SSH to HTTPS
by PufPufPuf 5y ago
Likely you don't have SSH configured properly for use with GitHub -- you can either configure it or switch the subproject URL from SSH to HTTPS
- andybak 5y agoAs the sibling comment said, the problem is that the dev used the SSH form which requires me to authenticate with the repo (i.e. I need to be given explicit permission) whereas for public read access you want git submodule to use HTTPS Very easy to forget this when you're the dev and you already have access. Is there a way to have both? How does one say "I want submodules to authenticate people where possible but allow public read-only access if not"?
- PufPufPuf 5y agoYou can clone any public repo through SSH, though -- I do that all the time. You still need to authenticate with GitHub properly though, unlike HTTPS where you can clone anonymously. Is your public key added to your GitHub profile?