
因為這里執行的 git --no-replace-objects ls-remote ssh://git@github.com/adobe-webplatform/eve.git
沒有可用的主機驗證秘鑰,導致拉取失敗
修改:
git config --global url."https://".insteadOf git://
作用是:把git的SSH換成HTTPS
命令行不起作用時,修改文件C:\Users\lenovo\.gitconfig
[url "https://github.com/nhn/raphael.git/"] insteadOf = git://github.com/nhn/raphael.git/
嘗試了以后還是不成功
根據文章操作了添加ssh key至guthub后,成功:
https://blog.csdn.net/sxg0205/article/details/81412921
c盤->用戶->你的用戶名->.ssh->id_rsa.pub里邊的字符添加到 github右上角頭像->settings->ssh & GPG ->Add sshKeys
最終還是使用ssh
