Can't clone submodules
Closed this issue · 2 comments
casouri commented
I tried to clone the submodules but they seems to require authentication:
> git submodule update --init --recursive
Cloning into '/Users/yuan/p/cse227/veriwasm/yaxpeax-core'...
git@github.com: 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:iximeow/yaxpeax-core.git' into submodule path '/Users/yuan/p/cse227/veriwasm/yaxpeax-core' failed
Failed to clone 'yaxpeax-core'. Retry scheduled
Cloning into '/Users/yuan/p/cse227/veriwasm/yaxpeax-x86'...
git@github.com: 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:iximeow/yaxpeax-x86.git' into submodule path '/Users/yuan/p/cse227/veriwasm/yaxpeax-x86' failed
Failed to clone 'yaxpeax-x86'. Retry scheduled
Cloning into '/Users/yuan/p/cse227/veriwasm/yaxpeax-core'...
git@github.com: 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:iximeow/yaxpeax-core.git' into submodule path '/Users/yuan/p/cse227/veriwasm/yaxpeax-core' failed
Failed to clone 'yaxpeax-core' a second time, aborting
iximeow commented
hello! i'm glad to see folks are still working on veriwasm. it looks like the git submodules for yaxpeax-core
and yaxpeax-x86
use the git@ url/protocol, so yeah, github is expecting you to have some ssh credential available.
you can either get github a public key (which you'll probably need for pushing changes to PR eventually 😁) or adjust .gitmodules
to use HTTPS urls (which you can get from either repo's page).
casouri commented
Ah, I somehow thought they need special authentication. Adding ssh key works, thanks!