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
Git push报错,设置缓存大小解决
博客讲述了Git使用中遇到的问题,原本正常的git push突然无法使用,提示RPC失败等错误。通过设置Git的http缓存大小解决了该问题,可在当前工程目录下运行命令git config --global http.postBuffer 20M,若20M不行可尝试50M。
1616

被折叠的 条评论
为什么被折叠?



