git clone、git pull项目文件时报错解决

阅读 218

2022-03-16

git clone、git pull项目文件时报错解决


报错

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
c

原因:
由于git默认缓存大小不足导致的,使用下面的命令增加缓存大小
解决:

git config --global http.postBuffer 20000000

解决!

精彩评论(0)

0 0 举报