美文网首页
git设置代理加速clone

git设置代理加速clone

作者: 术枚派 | 来源:发表于2021-08-16 14:51 被阅读0次

设置当前代理
git config http.proxy http://127.0.0.1:2333
取消当前代理
git config --unset http.proxy
取消全局代理
git config --global --unset http.proxy
设置socks5代理
git config http.proxy socks5://127.0.0.1:10809

观察127.0.0.1:2333,127.0.0.1代表本机,相当于localhost,2333是代理设置的本地监听端口。


代理

相关文章

网友评论

      本文标题:git设置代理加速clone

      本文链接:https://www.haomeiwen.com/subject/tpimbltx.html