• fastgit.org
  • gitee:
  • GitHub 文件加速:
  • Github 仓库加速:
  • 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 
    

    加速 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

    原文地址:https://zhuanlan.zhihu.com/p/420873495