Failed with error: RPC failed; HTTP 411 curl 22 The requested URL returned error: 411 Length Required The remote end hung up unexpectedly The remote end hung up unexpectedly

出现这个错误的原因是git通过http post的大小有限制,应该调大一些就可以了:

git config http.postBuffer  524288000