git error:error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/stone8761/article/details/79072148

git push时出现如下错误

Counting objects: 59722, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (58835/58835), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly MiB | 32.00 KiB/s
Writing objects: 100% (59722/59722), 157.57 MiB | 6.09 MiB/s, done.
Total 59722 (delta 4636), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Everything up-to-date

这是由于git默认缓存大小不足导致的,使用下面的命令增加缓存大小

$ git config --global http.postBuffer 2000000000

阅读更多
换一批

没有更多推荐了,返回首页