错误描述:

fatal: unable to access 'https://github.com/xxx': Failed to connect to github.com port 443: Operation timed out

解决方法:

(1)准备tizi,确保可以正常访问外网

(2)查看tizi工具的https端口号,比如 1234

(3)设置git https代理,本机命令行执行: git config --global https.proxy "127.0.0.1:1234"

(4)再次执行 git clone xxx,此时应该可以正常下载了

(5)取消代理,本机执行: git config --global --unset https.proxy

good luck!!!

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐