fatal: unable to access 'https://github.com/kimiyoung/transfer/': Failed connect to github.com:443

如果是新安装的git没有任何配置的话:
配置代理访问

git config -l

查看配置列表

git config --global http.proxy "localhost:1080"
git config --global https.proxy "localhost:1080"

再次查看git config -l
会看到多出了两个配置,一个是http.proxy,另一个是https.proxy
在这里插入图片描述

然后git clone 想要的东西即可

Logo

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

更多推荐