GitHub 加速

GitHub 文件加速

快速下载 GitHub 上的文件与仓库,解决国内访问速度慢的问题。

快捷示例:
● 支持 Release / Raw / Archive / Gist / API ● 支持 git clone ● 支持 Range 断点续传

拼接规则

把完整 GitHub 链接拼接到加速域名之后即可,查询参数会被完整保留。

格式
https://gh-proxy.cn/github/<完整的 GitHub 链接>

示例

Release 下载
wget "https://gh-proxy.cn/github/https://github.com/cli/cli/releases/download/v2.62.0/gh_2.62.0_linux_amd64.tar.gz"

Git 配置

让所有 GitHub 克隆自动走加速,支持 Git HTTP Smart Protocol。

全局配置
git config --global url."https://gh-proxy.cn/github/https://github.com/".insteadOf "https://github.com/"
单次克隆
git clone https://gh-proxy.cn/github/https://github.com/git/git.git
使用文档 →
支持的资源

支持的资源类型

Release

Release Asset 大文件下载,支持续传。

Raw

原始文件内容,blob 链接自动转换。

Archive

分支与标签的 tar.gz / zip 归档。

Clone

GET 与 POST 的 smart protocol 转发。

免责声明

本站仅提供公开开源资源的访问加速服务。本站不存储第三方 GitHub 资源,不修改第三方资源,不绕过第三方访问控制。