访问 https://github.com/ 比较慢
将 gihub.com
替换为 github.com.cnpmjs.org
git clone 一样
例如
git clone https://github.com/PanJiaChen/vue-element-admin.git
很慢,将其替换为
https://github.com.cnpmjs.org
/PanJiaChen/vue-element-admin.git
多了一个cnpmjs.org
之后速度就提上来了
访问github速度也提上来了