替换 github.com 为 github.com.cnpmjs.org
如果有子模块,修改 .gitmodules,把 url 中的 github.com 做相应替换,再执行
git submodule sync
git submodule update
参考:
替换 github.com 为 github.com.cnpmjs.org
如果有子模块,修改 .gitmodules,把 url 中的 github.com 做相应替换,再执行
git submodule sync
git submodule update
参考: