自动摘要 正在生成中……
正在生成中……
fastgit.org
https://doc.fastgit.org/
gitclone.com
https://gitclone.com/
gitee
https://gitee.com/mirrors
cnpmjs.org(目前主要使用这个)
https://github.com.cnpmjs.org/
#原地址
git clone https://github.com/kubernetes/kubernetes.git
#改为
git clone https://github.com.cnpmjs.org/kubernetes/kubernetes.git
#或者
git clone https://hub.fastgit.org/kubernetes/kubernetes.git
git clone https://gitclone.com/github.com/kubernetes/kubernetes.git
wget https://github.com/goharbor/harbor/releases/download/v2.0.2/harbor-offline-installer-v2.0.2.tgz
wget https://hub.fastgit.org/goharbor/harbor/releases/download/v2.0.2/harbor-offline-installer-v2.0.2.tgz
git config --global url."https://hub.fastgit.org".insteadOf https://github.com
测试
查看git配置信息
git config --global --list
取消设置
git config --global --unset url.https://github.com/.insteadof
#原地址:
wget https://raw.githubusercontent.com/kubernetes/kubernetes/master/README.md
#替换为
wget https://raw.staticdn.net/kubernetes/kubernetes/master/README.md
GitHub 文件加速:https://gh.api.99988866.xyz/
Github仓库加速:https://github.zhlh6.cn/
Github仓库加速:http://toolwa.com/github/
原文链接: https://blog.csdn.net/networken/article/details/105122778
最流行的分布式版本管理工具,你可以称之为时间机器。