git之前用得好好的,今天突然就不能用了,提示如下错误:

error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

后来,通过设置Git的http缓存大小,解决了这个问题,在当前工程目录下运行如下命令:

git config --global http.postBuffer 20M