使用github的镜像网站
原地址:https://github.com/xxx.git
替换为:https://github.com.cnpmjs.org/xxx.git
git clone https://github.com.cnpmjs.org/xxx.git
ps:如果是私有仓库会提示登录,输入github账号密码即可
实测效果:
使用github的镜像网站
原地址:https://github.com/xxx.git
替换为:https://github.com.cnpmjs.org/xxx.git
git clone https://github.com.cnpmjs.org/xxx.git
ps:如果是私有仓库会提示登录,输入github账号密码即可
实测效果: