解决方案
这里推荐使用github的镜像网站进行下载
https://github.com.cnpmjs.org/
替换规则如下:
原 → https://github.com/代码库地址
新 → https://github.com.cnpmjs.org/代码库地址
我们对上面链接地址进行替换:
git clone https://github.com/lipengjun92/platform-wxshop.git --- 原本的
git clone https://github.com.cnpmjs.org/lipengjun92/platform-wxshop.git --- 替换后的