git拉取github代码超时

git拉取github代码超时,出现如下报错Failed to connect to github.com port 443 after 2110 ms: Couldn’t connect to server

网上的解决办法是
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
(注意端口是自己的代理端口,可以自行系统网络查看,一般是7890)

注意这里是https.proxy,而不是https://…,就是这个地方made,一晚上git不出来

你可能感兴趣的:(git,github)