首先说明本博客不讨论任何fq的方法,以及宣传fq等违x的事情
在clone github上的项目很慢,用大家都会的姿势去加速一下git的速度
首先设置自己的代理端口为1080
pro.png

设置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
Last modification:September 20, 2019
If you think my article is useful to you, please feel free to appreciate