git clone速度太慢的解决办法

  git clone速度太慢是因为 github.global.ssl.fastly.net 域名被限制了。

  解决方案:

  使用github的镜像网站进行访问:github.com.cnpmjs.org

  假设我们要访问并clone一个github的repo:https://github.com/gwaldron/osgearth,

  我们只需将地址中的 github.com 替换为 github.com.cnpmjs.org,

  即:https://github.com.cnpmjs.org/gwaldron/osgearth。

  

  亲测有效。

posted @ 2021-05-04 19:34  hik_wxy  阅读(552)  评论(0)    收藏  举报