Skip to content

Anonymous Cloning

In order to make development more friendly nearly all git submodules are configured to use git over ssh via the .gitmodules. The downside of this is that github requires account keys to be configured to in order to clone the repository. If you attempt to clone without configuring your account keys you will receive the following error:

git clone git@github.com:eclipse/adore.git
Cloning into 'adore'...
The authenticity of host 'github.com (140.82.121.3)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,140.82.121.3' (ECDSA) to the list of known hosts.
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.

Anonymous Cloning Over HTTPS

You can configure git to exclusively use https. This can be done with the following commands:

git config --global url."https://github.com/".insteadOf git@github.com:
git config --global url."https://".insteadOf git://

Next, you can clone the repository as normal except use https:

git clone -recurse-submodules -j$(nproc) https://github.com/eclipse/adore.git