【问题标题】:Downloading source code from Github with cURL etc使用 cURL 等从 Github 下载源代码
【发布时间】:2018-05-17 01:01:00
【问题描述】:

是否有提供比 raw.githubusercontent.com 更快的下载速度的 Github 镜像?

现在,这个命令需要很长时间:

 curl -H 'Cache-Control: no-cache' \
     "https://raw.githubusercontent.com/oresoftware/shell/master/assets/package.json?$(date +%s)" \
      --output "$dest/package.json" 2> /dev/null

【问题讨论】:

    标签: shell curl github wget


    【解决方案1】:

    如果您使用生产 URL,RawGit 可能更快。

    https://rawgit.com/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-03-04
      • 2016-05-09
      • 2017-05-09
      • 2017-08-31
      • 2014-06-14
      • 2011-08-10
      • 2011-01-21
      相关资源
      最近更新 更多