git efrror: RPC failed

来源:互联网 发布:深圳网络诈骗案 编辑:程序博客网 时间:2024/05/16 16:58

公司新电脑,git 上传时执行命令:

git push -u origin master

出现错误:

efrror: RPC failed;result=22,HTTP code = 411

atal: The remote end hung up unexpectedly


发现原因是postBuffer太小,执行以下命令

git config http.postBuffer 524288000

增加缓冲大小,之后push即可成功

阅读全文
0 0