操作:

git clone https://github/...
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
 

更多推荐

git clone项目文件时报错解决remote: Enumerating objects: 19, done. remote: Counting object