Unable to update submodule (publickey error)
JonathanBhimaniBurrows opened this issue ยท 4 comments
JonathanBhimaniBurrows commented
crypdick commented
try changing the remote from an ssh url to a http url, and removing the --remote flag
sed -i "s/url.*/url=https:\/\/github.com\/shwoo93\/MinkowskiEngine.git/g" .gitmodules &&\
git submodule update --init --recursive && git submodule update --recursive
1214635079 commented
I have the same issue. Have you solved it?
DoctorLiQ commented
try changing the remote from an ssh url to a http url, and removing the --remote flag
sed -i "s/url.*/url=https:\/\/github.com\/shwoo93\/MinkowskiEngine.git/g" .gitmodules &&\ git submodule update --init --recursive && git submodule update --recursive
Not work
Cloning into '/home/ubuntu/ConvNeXt-V2/MinkowskiEngine'...
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:shwoo93/MinkowskiEngine.git' into submodule path '/home/ubuntu/ConvNeXt-V2/MinkowskiEngine' failed
Failed to clone 'MinkowskiEngine'. Retry scheduled
Cloning into '/home/ubuntu/ConvNeXt-V2/MinkowskiEngine'...
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:shwoo93/MinkowskiEngine.git' into submodule path '/home/ubuntu/ConvNeXt-V2/MinkowskiEngine' failed
Failed to clone 'MinkowskiEngine' a second time, aborting
TheLukaDragar commented
Got into .git/config and update url to
[submodule "MinkowskiEngine"] active = true url = https://github.com/shwoo93/MinkowskiEngine.git