Git Clone遇到的网络访问错误问题Failed connect to github.com:443

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 想要的东西即可

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章