解决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

 如果对你有帮助,请点个赞吧,求求了

posted @ 2021-07-16 20:04  买菜不买挂  阅读(1854)  评论(0)    收藏  举报