Last Updated:

github加速

yiliang.dong
yiliang.dong 环境配置

加速地址

  1. fastgit.org:https://doc.fastgit.org/
  2. http://cnpmjs.org:https://github.com.cnpmjs.org/
  3. http://gitclone.com:https://gitclone.com/
  4. gitee:https://gitee.com/mirrors
  5. GitHub 文件加速:https://gh.api.99988866.xyz/
  6. Github 仓库加速:https://github.zhlh6.cn/
  7. Github 仓库加速:http://toolwa.com/github/

加速 clone

# 方法一:手动替换地址 
#原地址 
$ 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 
 
# 方法二:配置git自动替换 
$ git config --global url."https://hub.fastgit.org".insteadOf https://github.com 
# 测试 
$ git clone https://github.com/kubernetes/kubernetes.git 
# 查看git配置信息 
$ git config --global --list 
# 取消设置 
$ git config --global --unset url.https://github.com/.insteadof 

加速release

# 原地址 
wget https://github.com/goharbor/harbor/releases/download/v2.0.2/harbor-offline-installer-v2.0.2.tgz 
# 加速下载方法一 
wget https://download.fastgit.org/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 

//测试1
https://hub.fastgit.org/ipfs-desktop/releases/download/v0.20.6/IPFS-Desktop-Setup-0.20.6.exe

https://github.com/ipfs-shipyard/ipfs-desktop/releases/download/v0.20.6/IPFS-Desktop-Setup-0.20.6.exe

加速 raw

# 原地址 
$ wget https://raw.githubusercontent.com/kubernetes/kubernetes/master/README.md 
# 加速下载方法一 
$ wget https://raw.staticdn.net/kubernetes/kubernetes/master/README.md 
# 加速下载方法二 
$ wget https://raw.fastgit.org/kubernetes/kubernetes/master/README.md

Comments