GitHub镜像

Github经常抽风,具体原因不做讨论。

Github镜像就是网站A把Github代码复制到它自己的服务器上,用户直接从网站A下载本来在Github上的代码,加快访问速度。

推荐镜像

https://kgithub.com
https://gitclone.com/github.com/
https://hub.fastgit.xyz/
https://github.ur1.fun/
https://gitclone.com
https://gh.api.99988866.xyz/
https://ghproxy.com/

方法1

直接使用镜像地址克隆

1
git clone mirror/url/UserName/RepoName

方法2

不同的镜像站访问方法可能不同

完全替换

1
2
git config --global url."https://gitclone.com/github.com/".insteadOf "https://github.com/"
git config protocol.https.allow always

无效镜像

1
2
3
hub.fastgit.org
https://github.com.cnpmjs.org/
http://github-mirror.bugkiller.org/

GitHub镜像
https://feater.top/linux/mirrors-of-github/
作者
JackeyLea
发布于
2023年6月16日
许可协议