DNS请求问题
需要查一下github.com
这个地址的ip,在本地dns缓存即hosts文件,具体路径为C:\Windows\System32\drivers\etc\hosts
加入映射关系。ipconfig/flushdns
再重新清一下dns缓存。
140.82.114.4 github.com
199.232.5.194 github.global.ssl.fastly.net
证书没有签署及HTTPS验证不通过
git config --global http.sslVerify "false"
常见问题之一,可能是梯子问题导致的。
重置一下代理就可以了
git config --global --unset http.proxy
远程库与本地库不一致造成的,在hint中提示把远程库同步到本地库
git pull --rebase origin main
原文:https://www.cnblogs.com/DengSchoo/p/14757200.html