大家好,又见面了,我是你们的朋友全栈君。
最近从github clone一些项目的时候速度极慢,完全受不了,从网上look了很多办法,都以失败告终,直到看到了一篇文章…
使用国内镜像,目前已知Github国内镜像网站有github.com.cnpmjs.org和git.sdut.me/。速度根据各地情况而定,在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
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/162517.html原文链接:https://javaforall.cn