GitHub 国内镜像

邱秋 • 2022年09月09日 • 阅读:169 • github

默认情况会限速,

source: https://github.com/aaa/bbb.git

https://gitclone.com

手动替换:

https://gitclone.com/github.com/aaa/bbb.git

cmd:

git config --global url."https://gitclone.com/".insteadOf https://

https://doc.fastgit.org

git config --global url."https://hub.fastgit.xyz/".insteadOf "https://github.com/"
git config protocol.https.allow always

使用全局参数更改以后,使用 vim ~/.gitconfig 命令即可查看当前的配置文件,看到以下配置。

[url "https://url you choose"]
        insteadOf = https://github.com/

我,秦始皇,打钱!

相关文章

禅境花园小程序

关注前沿技术开发.