
image.png
通過官方指導(dǎo)鏈接可以看到,github最新修改了安全協(xié)議,不再支持git,需要用https進(jìn)行請求。
https://github.blog/2021-09-01-improving-git-protocol-security-github/
所以解決方式就是把git@github.com的請求都改為https://github.com
git config --global url."https://github.com/".insteadof git@github.com:
// 或(根據(jù)使用遠(yuǎn)程包的原先的地址來替換)
git config --global url."https://github.com/".insteadof git://github.com/