git相关问题

git相关问题

error: RPC failed; curl 28 Recv failure: Connection was reset

1
git config --global http.sslVerify "false"

Failed to connect to github.com port 443 after 21042 ms: Couldn’t connect to server

参考链接

参考链接

就是要保持代理端口号和git配置的代理端口号一样:设置->网络和Internet->代理

1
2
3
4
git config --global http.proxy 127.0.0.1:上面查到的端口号
git config --global https.proxy 127.0.0.1:上面查到的端口号

git config --global -l //查看结果

cmd

1
ipconfig/flushdns 刷新dns缓存