Github加速

2021-06-09  本文已影响0人  岳麓丹枫

转载:https://blog.csdn.net/networken/article/details/105122778

#原地址
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 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.s
上一篇下一篇

猜你喜欢

热点阅读