GitHub加速访问、克隆和下载

436 阅读1分钟

GitHub加速访问、克隆和下载


如需转载请标明出处
QQ技术交流群:129518033

### 文章目录* GitHub加速访问、克隆和下载

前言

github克隆代码是不可避免的,但是由于github网络不稳定,经常导致下载异常。

1.github加速clone

1.1 gitee

gitee.com 可以同步github的工程,同步到gitee之后,再clone速度比较快

1.2 修改host

修改host文件

2.github加速release文件下载

还是由于网络原因,github release文件有时不能下载。

2.1 github镜像

我们可以使用github的镜像进行release文件的下载
github-mirror.bugkiller.org/

例如,我们要下载cmake

github.com/Kitware/CMa…

将地址替换为镜像地址:
github-mirror.bugkiller.org/Kitware/CMa…

镜像:

https://github.com.cnpmjs.org
https://hub.fastgit.org
https://github.wuyanzheshui.workers.dev
https://github.bajins.com
https://download.fastgit.org
https://github.rc1844.workers.dev
https://gitclone.com/github.com

2.2 offcloud

www.offcloud.com

3.浏览器插件

油猴中搜索github加速访问


License

License under CC BY-NC-ND 4.0: 署名-非商业使用-禁止演绎


Reference:
NULL