Git Clone速度慢,原因很简单,默认的源是国外的,只需要使用国内源,速度就起飞了(当然,也没有太快,至少可以忍受了)。使用方法很简单,在clone某个项目的时候将github.com替换为github.com.cnpmjs.org即可。
//这是我们要clone的 git clone https://github.com/Hackergeek/architecture-samples //第一个可用镜像 git clone https://github.com.cnpmjs.org/Hackergeek/architecture-samples //另一个可用镜像 git clone https://git.sdut.me/Hackergeek/architecture-samples
如果对你有帮助,请点个赞吧,求求了