【Git】yarn install git 连接失败——解决了 Failed to connect to github.com port 443:connection timed out

晕了,今天不知道怎么出现了这个问题

端口号看你的代理
git config --global http.proxy http://127.0.0.1:7890
 
git config --global https.proxy http://127.0.0.1:7890

问题得到解决

取消全局代理

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

猜你喜欢

转载自blog.csdn.net/qq_28505809/article/details/125918568