电信的网络,在github上clone东西太太太慢了。

解决方法
- 曲线救国: 将需要的项目fork到
https://git.oschina.net
上去,再从git.oschina上clone到本地。
- ss直接开全局代理,速度能稍微快点
- 瘦身: 使用
git clone --depth 1
- 设置SS代理: https://www.zhihu.com/question/47331407/answer/141047225# ,速度达到了几百k
SS代理
端口号以SS查看代理设置中实际为准
git config --global http.https://github.com.proxy https://127.0.0.1:1087
git config --global https.https://github.com.proxy https://127.0.0.1:1087

清掉设置:
git config --global --unset http.https://github.com.proxy
git config --global --unset https.https://github.com.proxy
查看全局已经设置的代理(git)git config --global -l
或者直接设置终端走代理(推荐)
见另一篇文章。