git push错误:RPC失败; result = 56,HTTP代码= 0

时间:2014-02-25 05:19:03

标签: git

详细信息:

Username for 'https://xiangwan.visualstudio.com': xiangwan
Password for 'https://xiangwan@xiangwan.visualstudio.com':
Counting objects: 85, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (58/58), done.
Writing objects: 100% (63/63), 20.67 KiB | 0 bytes/s, done.
Total 63 (delta 26), reused 1 (delta 0)
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
  1. 已设置git config http.postBuffer 524288000,仍然是错误;
  2. 仅HTTPS验证,无SSH

1 个答案:

答案 0 :(得分:57)

问题很可能是因为你的git缓冲区太低了。

您需要通过设置来增加Git的HTTP缓冲区。

git config --global http.postBuffer 2M