git push报错fatal: The remote end hung up unexpectedly error: RPC failed; result=56, HTTP code = 20

网上说的方法是:

 修改提交缓存大小为500M,或者更大的数字

  在项目的路径下右击选择Git Bash Here 执行下面的命令

  git config --global http.postBuffer 524288000

  或者直接找到项目所在的.git文件夹下的config文件进行编辑

git push报错fatal: The remote end hung up unexpectedly error: RPC failed; result=56, HTTP code = 20

修改如下:

git push报错fatal: The remote end hung up unexpectedly error: RPC failed; result=56, HTTP code = 20

如果修改完能成功提交,恭喜你成功了!但是我这边还是不行

我试了连接自己的手机热点,结果成功提交了,原来是公司的局域网网速低。