GitHub加速
提示
感谢gh-porxy项目团队的支持。平台已获得授权。请遵守项目守则。
全局配置
直接配置gh-proxy.org的为全局代理,后续所有的git操作都将通过gh-proxy.org进行加速。
bash
# 配置全局代理
git config --global url."https://gh-proxy.org/https://github.com/".insteadOf "https://github.com/"单次git clone代理
如果只需要单次git clone加速,可以在clone命令中添加代理参数。只需要将clone的地址前面添加https://gh-proxy.org/,不要用空格。
bash
# 单次git clone加速
git clone https://gh-proxy.org/https://github.com/WJQSERVER-STUDIO/ghproxy