当前位置:   article > 正文

github下载速度比较慢,加速_enumerating objects: 124, done. counting objects:

enumerating objects: 124, done. counting objects: 100% (124/124), done. delt

今天用从github上下载代码的时候,发现下载速度缓慢,我的git命令为:

  1. ➜ pythonFiles git clone https://github.com/PaddlePaddle/PaddleRec.git
  2. Cloning into 'PaddleRec'...
  3. remote: Enumerating objects: 124, done.
  4. remote: Counting objects: 100% (124/124), done.
  5. remote: Compressing objects: 100% (100/100), done.
  6. fatal: the remote end hung up unexpectedly MiB | 8.00 KiB/s
  7. fatal: early EOF
  8. fatal: index-pack failed

解决方法

可以用chrome的一个插件,我试了一下,速度很快。

https://chrome.google.com/webstore/detail/github%E5%8A%A0%E9%80%9F/mfnkflidjnladnkldfonnaicljppahpg/related?hl=zh-CN

 

  1. ➜ pythonFiles git clone https://github.com.cnpmjs.org/PaddlePaddle/PaddleRec.git
  2. Cloning into 'PaddleRec'...
  3. remote: Enumerating objects: 124, done.
  4. remote: Counting objects: 100% (124/124), done.
  5. remote: Compressing objects: 100% (100/100), done.
  6. Receiving objects: 100% (17352/17352), 76.17 MiB | 2.78 MiB/s, done.
  7. remote: Total 17352 (delta 56), reused 46 (delta 22), pack-reused 17228
  8. Resolving deltas: 100% (9898/9898), done.

速度变快了

参考文献

[1]. 解决github下载速度慢的问题(2020.08.07). https://zhuanlan.zhihu.com/p/172504883

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/406817
推荐阅读
相关标签
  

闽ICP备14008679号