公司新电脑,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即可成功