git error: RPC failed; result=35, HTTP code = 0 fatal: The remote end hung up unexpectedly

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

Writing objects: 100% (10/10), 105.95 KiB | 0 bytes/s, done.
Total 10 (delta 2), reused 0 (delta 0)
error: RPC failed; result=35, 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

如果20M不行就 50M

你可能感兴趣的:(软件使用)