-
问题:
从github上git clone失败:Failed to connect to github.com port 443: Connection timed out -
解决办法:
网页上使用VPN可以打开github,说明在拉取代码时没有使用VPN进行代理。使用客户端的VPN,设置服务器使用客户端的VPN。
# 设置代理
git config --global http.proxy x.x.x.x:7890
git config --global https.proxy x.x.x.x:7890
# 查看代理
git config --global --get http.proxy
git config

最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



