克隆發(fā)生錯誤了,求解決。
C:\Users\kw>git clone git@github.com:kanlidy/hellogit.git
Cloning into 'hellogit'...
The authenticity of host 'github.com (52.74.223.119)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,52.74.223.119' (RSA) 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.
2019-04-02
?使用SSH來克隆,請參考:github使用ssh密鑰
hello-git這個項目已經被我刪除了,可以clone這個項目https://github.com/kanlidy/LearmGit
clone的項目必須擁有以下權限之一(公有權限——針對公開項目,或者參與者權限——由創(chuàng)建者添加,所有者權限——由自己創(chuàng)建)
如果不使用SSH的方式,還可以使用https的方式,會提示你輸入賬號與密碼。