Skip to content

Clone --recurse-submodules permission denied #21659

Discussion options

You must be logged in to vote

👋 Welcome!

First - feel free to use codeblocks - that should allow a lot more freedom with sharing output. Just enclose the output in backticks or use the </> option in the formatting bar. Links formatted that way shouldn’t cause any hassle.

It looks as though the remote url for the submodule is using SSH and not HTTPS, which you are using to clone the main repository. This means that you’d need an SSH key for this to complete. It’s not finding a valid key, so this fails.

The path of least resistance here is probably creating an SSH key and cloning with SSH.

The submodule url can be changed as well, but obviously that’s easier done after you’ve cloned the project.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants