Git 传输字节限制

使用git error: RPC failed; result=22, HTTP code = 411

用git提交比较大的文件的时候可能会出现这个错误

 

error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

 

这样的话首先改一下git的传输字节限制

 

git config http.postBuffer  524288000

猜你喜欢

转载自aoyouzi.iteye.com/blog/2157227
Git