下一步请在同意我们的服务条款和隐私协议后进行。如果是这样,我们将默认同意并遵守我们的服务条款和隐私协议。
WARNING
由于不可抗拒的因素,我们从枢纽链接到 hub.fastgit.org 更新到 hub.fastgit.xyz。
关于 FastGit 本质上和git
相关。常规方向 GitHub 的clone
命令可能如下:
git clone https://github.com/author/repo
使用 FastGit 可使用以下命令:
git clone https://hub.fastgit.xyz/author/repo
正如你所看, FastGit 仅仅是 GitHub 代理,所以我们只需要更换远程地址。
当然也可以直接修改git
配置,使用 FastGit 替换所有指向 GitHub 的链接:
git config --global url."https://hub.fastgit.xyz/".insteadOf "https://github.com/" git config protocol.https.allow always
注意
当你检查网络错误时,别忘了看 FastGit 是否宕机了,尽管我们提供高达 0% 可用性的 SLA 保障。
注意
我们暂时不支持超 2GiB 的仓库的clone
,请参阅https://github.com/FastGitORG/nginx-conf/issues/14(opens new window)与https://github.com/FastGitORG/nginx-conf/commit/61a41bc0bbb012fc9a6e54b198a10874eeaf9309(opens new window)。
我们不反对 git 修改配置以方便您的工作。
随着 FastGit 我们将有更多的资源加速增长。请参考节点列表节点章节。
Web 的使用
对于常见的 GitHub Web 操作, FastGit 基本节点也提供了最基本的支持。您可以直接访问它 Web 支持节点。为了安全起见,我们将禁止它,包括Cookie
以及Session
等待敏感权限。这意味着您无法登录操作。
Release 下载和源码存档
对于正常的clone
,push
操作,FastGit 已经提供了相当完善的操作。 Release 我们可以使用以下方法下载和源码存档。
# Release # 假设下载链接是 https://github.com/A/A/releases/download/1.0/1.0.tar.gz wget https://download.fastgit.org/A/A/releases/download/1.0/1.0.tar.gz # Codeload # 假设下载链接是 https://hub.fastgit.xyz/A/A/archive/master.zip # 或者 https://codeload.github.com/A/A/zip/master wget https://download.fastgit.org/A/A/archive/master.zip
SSH 操作
我们也支持 SSH 克隆,你只需要把地址换成 fastgit.org 即可。
由于不可抗力,我们暂时不支持 SSH 克隆。
26/06/2021 更新:由于 2FA 问题继续存在,很难通过 HTTPS 方法完成了很多事情。鉴于目前的情况,我们继续开放 SSH 操作入口。
与以前不同,我们拆分了 SSH 换句话说,服务所在的域名不能被替换为地址 FastGit.org 完成操作。
目前我们的 SSH 克隆地址为ssh.fastgit.org。加速只需修改地址即可完成。
对于 raw 的代理
我们同样对https://raw.githubusercontent.com/(opens new window)代理,地址为https://raw.fastgit.org/(opens new window)。
当遇到 FastGit 有问题时的处理方法
- 请确认您的网络和 DNS 工作正常
- 请查阅https://status.fastgit.org(opens new window)以及https://github.com/FastGitORG/uptime(opens new window)以确认 FastGit 潜在服务是否不可用?
- 更换阿里公共 DNS 避免潜在的 DNS 污染问题
- 通过 Tcpping 尝试与 FastGit IP 进行通信
反代列表
站源 | 地址 | 缓存 |
---|---|---|
github.com | hub.fastgit.xyz | 无 |
raw.githubusercontent.com | raw.fastgit.org | 无 |
github.githubassets.com | assets.fastgit.org | 无 |
customer-stories-feed.github.com | customer-stories-feed.fastgit.org | 480 分钟 |
Github Download | download.fastgit.org | 480 分钟 |
GitHub Archive | archive.fastgit.org | 无 |