$ git clone git@github.com:ConnectAI-E/Feishu-OpenAI.git
提示錯誤:
正克隆到 'Feishu-OpenAI'...
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:uNiVztksCsDhcc0u9e8BujQXVUpKZIDTMczCvj3tD2s.
Please contact your system administrator.
Add correct host key in /Users/tangwan/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/tangwan/.ssh/known_hosts:33
Host key for github.com has changed and you have requested strict checking.
Host key verification failed.
致命錯誤:無法讀取遠(yuǎn)程倉庫。
請確認(rèn)您有正確的訪問權(quán)限并且倉庫存在。
首先登錄github賬號,檢查本機(jī)的?~/.ssh/id_rsa.pub 是否添加到github賬號
https://github.com/settings/keys
如果沒有添加,需要先添加本機(jī)的ssh公鑰到github
然后再重試 git clone?
如果依然報錯,需要檢查?~/.ssh/known_hosts? ,找到github.com開頭的行,然后刪除
再次重試 git clone文章來源:http://www.zghlxwxcb.cn/news/detail-526757.html
此時提示需要驗證key,輸入yes后就開始正常clone了文章來源地址http://www.zghlxwxcb.cn/news/detail-526757.html
? /opt git clone git@github.com:ConnectAI-E/Feishu-OpenAI.git
正克隆到 'Feishu-OpenAI'...
The authenticity of host 'github.com (20.205.243.166)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
remote: Enumerating objects: 1793, done.
remote: Counting objects: 100% (492/492), done.
remote: Compressing objects: 100% (158/158), done.
remote: Total 1793 (delta 392), reused 365 (delta 333), pack-reused 1301
接收對象中: 100% (1793/1793), 15.66 MiB | 2.11 MiB/s, 完成.
處理 delta 中: 100% (1077/1077), 完成.
到了這里,關(guān)于git無法使用git協(xié)議clone github倉庫問題解決的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!