Loading... > 首先说明本博客不讨论任何fq的方法,以及宣传fq等违x的事情 在clone github上的项目很慢,用大家都会的姿势去加速一下git的速度 首先设置自己的代理端口为1080 ![pro.png][1] ## 设置Socks5代理 ``` git config --global http.proxy 'socks5://127.0.0.1:1080' && git config --global https.proxy 'socks5://127.0.0.1:1080' ``` ## 取消代理 ``` git config --global --unset http.proxy && git config --global --unset https.proxy ``` [1]: https://www.wumao.org/usr/uploads/2019/09/2612102666.png Last modification:September 20th, 2019 at 03:22 pm © 允许规范转载 Support If you think my article is useful to you, please feel free to appreciate ×Close Appreciate the author Sweeping payments Pay by AliPay Pay by WeChat
给git 设置http代理和socks5代理有什么区别吗。
socks5比http快且稳定