Loading... !> 前提:有socks协议的代理 <!--more--> # 设置代理 ``` git config --global http.https://github.com.proxy socks5://127.0.0.1:10808 ``` 将`10808`改为代理的端口 ![](https://cdn.jsdelivr.net/gh/Friends-A/CDN@latest/2020/05/23/e993783fa208231aef246590dabc0b6b.png) # 取消代理 ``` git config --global --unset http.https://github.com.proxy ``` # 速度对比 ![设置代理前](https://cdn.jsdelivr.net/gh/Friends-A/CDN@latest/2020/05/23/df49c96856336201ff40e22285bd68f1.png) ![设置代理后](https://cdn.jsdelivr.net/gh/Friends-A/CDN@latest/2020/05/23/e934ec57f557b9ad06611642e5bebc37.png) Last modification:May 23, 2020 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 0 如果觉得我的文章对你有用,请随意赞赏
One comment
小伙子来我们局里一趟