I am trying to download learninglocker with these command lines but I have the error access denied (public key) (at git statement)
How can I fix it?
git clone -b master email@example.com:LearningLocker/learninglocker.git learninglocker
C:\xampp\php\php.exe -r “readfile(‘https://getcomposer.org/installer’);” | php
C:\xampp\php\php.exe C:\composer\composer.phar install --no-interaction --no-dev
To clone using ssh (which is what you’re doing) you need a github account with a public key registered.
For now the easiest thing to do would be start using https instead of ssh to clone the repository, i.e.,
git clone -b master https://github.com/LearningLocker/learninglocker.git learninglocker
If you want to know how to register a public key with github see here: https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.