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/
留几句话
关于这篇文章,或是你想到的另一种可能。
留言
正在读取留言…