git 配置 shadowsocks

有时候从github里clone代码速度很慢,尤其是项目很大的时候,配置代理会快很多.
git config –global http.postBuffer 524288000

git config –global http.proxy socks5://127.0.0.1:10800
其中10800为 shadowsocks 服务器->编辑服务器 中配置的代理端口

git取消代理
git config –global –unset http.proxy