参考链接
Git报错: Failed to connect to github.com port 443 解决方案
问题描述:使用git pull 指令拉取远端指令时报错:
开着代理后发现网页访问github界面正常,但是使用git bash页面不正常。
查看vpn的http端口和sock5端口,注意:
git config --global http.proxy socks5 127.0.0.1:7890
git config --global https.proxy socks5 127.0.0.1:7890
代码中的端口需要查自己vpn的端口,不一定是7890。