facebookresearch/ConvNeXt-V2

Unable to update submodule (publickey error)

JonathanBhimaniBurrows opened this issue ยท 4 comments

Following the instructions listed in install.md
Under 'Install Minkowski Engine'
image
I assume there's some permissions that must be changed ?
Thanks

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

I have the same issue. Have you solved it?

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

Got into .git/config and update url to

[submodule "MinkowskiEngine"] active = true url = https://github.com/shwoo93/MinkowskiEngine.git