A minimal GitHub Smart HTTP proxy running on Cloudflare Workers.
支持 clone、fetch、pull、
push 和 ls-remote。
不提供 GitHub 网页代理。
把:
https://github.com/OWNER/REPO.git
改成:
https://git.laminasys.org/OWNER/REPO.git
例如:
git clone https://git.laminasys.org/torvalds/linux.git
git config --global url."https://git.laminasys.org/".insteadOf "https://github.com/"
设置后仍然可以正常使用:
git clone https://github.com/OWNER/REPO.git
git fetch
git pull
git push
git config --global --unset-all url."https://git.laminasys.org/".insteadOf
这里只代理 Git Smart HTTP。 GitHub 网页、Issues、Pull Requests、Releases 等不会被代理。
不支持 SSH remote:
git@github.com:OWNER/REPO.git