安装zsh时git太慢,换代理
This_is_Y Lv6

来自之前cnblog的博客
源地址:https://www.cnblogs.com/This-is-Y/p/14170330.html

电脑用的进行科学冲浪,开启的全局(也不知道开PAC有没有用,没去测试了)

 

端口如下

 

 

 

 

来自https://gist.github.com/laispace/666dd7b27e9116faece6

给git设置代理

 git config –global http.proxy ‘socks5://127.0.0.1:10808’
 git config –global https.proxy ‘socks5://127.0.0.1:10808’

 

取消代理

git config –global –unset http.proxy

git config –global –unset https.proxy

 

 

 

 

 

 这种情况是没配置好

 

 

 有个代理git起来是真滴快

 

 Comments