unable to access ‘https://github.com/.git/‘: Failed to conne拒绝连接

98 阅读1分钟

有可能你的gitbub之前设置过代理,只需分别执行如下代码即可:

git config --global --unset http.proxy 
git config --global --unset https.proxy

如果还没有解决,可以尝试如下解决方式

git config --global url.git://github.com/.insteadOf https://github.com/