#奇技淫巧
无需代理直接加速各种 GitHub 资源拉取
评价:好处显而易见,pull的时候速度杠杠的;坏处也很明显,push的时候心慌慌,尤其是涉及到private的东西。。。
摘要:
fastgit.org:https://doc.fastgit.org/
cnpmjs.org:https://github.com.cnpmjs.org/
gitclone.com:https://gitclone.com/
gitee:https://gitee.com/mirrors
GitHub 文件加速:https://gh.api.99988866.xyz/
Github仓库加速:https://github.zhlh6.cn/
Github仓库加速:http://toolwa.com/github/
# 方法一:手动替换地址
#改为
$ git clone https://github.com.cnpmjs.org/kubernetes/kubernetes.git
$ git clone https://gitclone.com/github.com/kubernetes/kubernetes.git
# 方法二:配置git自动替换
$ 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
无需代理直接加速各种 GitHub 资源拉取
评价:好处显而易见,pull的时候速度杠杠的;坏处也很明显,push的时候心慌慌,尤其是涉及到private的东西。。。
摘要:
fastgit.org:https://doc.fastgit.org/
cnpmjs.org:https://github.com.cnpmjs.org/
gitclone.com:https://gitclone.com/
gitee:https://gitee.com/mirrors
GitHub 文件加速:https://gh.api.99988866.xyz/
Github仓库加速:https://github.zhlh6.cn/
Github仓库加速:http://toolwa.com/github/
# 方法一:手动替换地址
#改为
$ git clone https://github.com.cnpmjs.org/kubernetes/kubernetes.git
$ git clone https://gitclone.com/github.com/kubernetes/kubernetes.git
# 方法二:配置git自动替换
$ 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