git efrror: RPC failed

xiaoxiao2021-02-28  77

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

转载请注明原文地址: https://www.6miu.com/read-31678.html

最新回复(0)