其他分享
首页 > 其他分享> > github clone很慢 解决方法

github clone很慢 解决方法

作者:互联网

有梯子的用梯子提速会很快,本文主要说一下没有梯子时处理方法

没梯子用这个

这个方法非常简单,什么都不用设置,只需要在链接的 github.com 后插入‘.cnpmjs.org’,其它不变。 用上面clone的链接做示例:

git clone https://github.com/cpselvis/geektime-webpack-course.git

# 改为

git clone https://github.com.cnpmjs.org/cpselvis/geektime-webpack-course.git

有链接,这个clone速度一般是4K/s, 将链接换为镜像链接后,速度可以上100K/s, 也是较大提升了。没梯子的同学可以试试。




 

标签:git,clone,github,很慢,com,链接,梯子
来源: https://blog.csdn.net/u013857988/article/details/110957451