将编译器设置为代理。
设置代理,将端口号改为你自己的代理端口号
git config --global http.proxy http://127.0.0.1:10887
git config --global https.proxy http://127.0.0.1:10887
取消全局代理
git config --global --unset http.proxy
git config --global --unset https.proxy
将编译器设置为代理。
设置代理,将端口号改为你自己的代理端口号
git config --global http.proxy http://127.0.0.1:10887
git config --global https.proxy http://127.0.0.1:10887
取消全局代理
git config --global --unset http.proxy
git config --global --unset https.proxy
本文标题:【Git】解决 Failed to connect to git
本文链接:https://www.haomeiwen.com/subject/zoftedtx.html
网友评论