例如有个仓库地址为:
https://github.com/wangdongying/MyTestDemo.git
将github.com替换为github.com.cnpmjs.org
即
https://github.com.cnpmjs.org/wangdongying/MyTestDemo.git
即可快速解决,目前在2020.7,速度可以从3k提升到500到800k左右。
转自知乎:https://www.zhihu.com/question/27159393 don.hub的回答