方法一 代理方案
由于网络原因,有时候需要在 github 上下载一些学习资料,但是发现下载速度非常慢,例如通过下面命令克隆一个仓库:
git clone https://github.com/open-webui/open-webui.git
可以看到,卡住不动了,这时候可以使用 proxy 地址进行加速 https://ghgo.xyz
git clone https://ghgo.xyz/https://github.com/open-webui/open-webui.git
除了 git clone 仓库之外,其他 github 资源也可以实现代理访问,例如raw.githubusercontent.com , gist.github.com , gist.githubusercontent.com 等资源也可以通过代理地址加速,使用方法与上述类似。比如访问 raw.githubusercontent.com 资源
https://ghgo.xyz/https://raw.githubusercontent.com/open-webui/open-webui/refs/heads/main/README.md
下面整理一些目前可用的加速地址,如果上述地址不可用了,可以使用下面备用地址:
github 加速备用地址
https://gh.api.99988866.xyz
https://ghp.ml1.one
https://doget.nocsdn.com
https://ghgo.xyz
https://slink.ltd
https://ghps.cc
https://gh-proxy.com
https://ghproxy.cc
https://cf.ghproxy.cc
https://github.tmby.shop
https://gh-proxy.ygxz.in
https://ghproxy.net
https://ghproxy.cn
方案二 gitee方案
注册一个gitee账号,从url(github仓库地址)创建一个新的仓库
然后 git clone https://gitee.comg/xxxxx.git 即可,简单容易!
温馨提示:代理加速只供学习使用,不要在非法用途上,多谢合作!