有效提升下载速度 百分之很多。。。。。。。。。。。。
操作:
git clone https://github.com/…
1
报错:
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (19/19), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
原因:
由于git默认缓存大小不足导致的,使用下面的命令增加缓存大小
解决:
git config --global http.postBuffer 20000000
解决!
提升速度截图作证:
非常快!! 原来几百 十kb。。。。