这篇文章上次修改于 185 天前,可能其部分内容已经发生变化,如有疑问可询问作者。
来自:https://www.cnblogs.com/wbzhu13/p/git-clone.html
解决Git Clone速度过慢的方法
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
没有评论