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

created at 01-27-2022 views: 64

solution

This is caused by insufficient git default cache size, use the following command to increase the cache size

$ git config --global http.postBuffer 10000000000 

// 10000000000bit/1024/1024/8=1192Mbyte

The cache can be viewed with the following command.

book@100ask:~/WDS/Source$ git config --list
user.email=user@100ask.com
user.name=100ask
color.ui=auto
http.postbuffer=10000000000
created at:01-27-2022
edited at: 01-27-2022: