git clone失败问题解决方案

在执行git clone 时

root@cdndev08:/media/share/webrtc-checkout# git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Cloning into ‘depot_tools’…
remote: Sending approximately 19.44 MiB …
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

解决方法:

git config --global http.postBuffer 20000000

你可能感兴趣的:(工具使用)