怎么为git设置网络代理
更新:HHH   时间:2023-1-7


这篇“怎么为git设置网络代理”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获,下面我们一起来看看这篇“怎么为git设置网络代理”文章吧。

设置http、https代理

git config --global http.proxy socks5://127.0.0.1:1080

git config --global https.proxy socks5://127.0.0.1:1080

查看http、https代理配置情况

git config --global --get http.proxy

git config --global --get https.proxy

取消http、https代理配置

git config --global --unset http.proxy

git config --global --unset https.proxy

以上就是关于“怎么为git设置网络代理”这篇文章的内容,相信大家都有了一定的了解,希望小编分享的内容对大家有帮助,若想了解更多相关的知识内容,请关注天达云行业资讯频道。

返回建站服务器教程...