You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't think submodules are the correct solution. When trying to get a clone of a fork working for development:
Evans-MacBook-Pro:peidevs.github.io evanporter$ git submodule init
Evans-MacBook-Pro:peidevs.github.io evanporter$ git submodule update
Cloning into '/Users/evanporter/projects/peidevs.github.io/themes/mainroad'...
Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:swhalley/Mainroad.git' into submodule path '/Users/evanporter/projects/peidevs.github.io/themes/mainroad' failed
Failed to clone 'themes/mainroad'. Retry scheduled
Cloning into '/Users/evanporter/projects/peidevs.github.io/themes/mainroad'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:swhalley/Mainroad.git' into submodule path '/Users/evanporter/projects/peidevs.github.io/themes/mainroad' failed
Failed to clone 'themes/mainroad' a second time, aborting
I think the key piece of info is fatal: clone of 'git@github.com:swhalley/Mainroad.git' into submodule path .... The submodule is pointing to user swhalley's repo and appears to think I need write access to it.
Will need to think about what could achieve the same goal as git's seemingly brittle submodule system.
The text was updated successfully, but these errors were encountered:
Figured it out. We're currently using the git@github.com style URL. This uses SSH and thus needs to be authenticated and have permission to the repo. We need to use the public style URL with HTTPS.
Don't think submodules are the correct solution. When trying to get a clone of a fork working for development:
I think the key piece of info is
fatal: clone of 'git@github.com:swhalley/Mainroad.git' into submodule path ...
. The submodule is pointing to userswhalley
's repo and appears to think I need write access to it.Will need to think about what could achieve the same goal as git's seemingly brittle submodule system.
The text was updated successfully, but these errors were encountered: