在利用bae搭建wordpress的时候,push代码出现了报错信息,如下:
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
Writing objects: 100% (1314/1314), 6.43 MiB | 4.62 MiB/s, done.
Total 1314 (delta 107), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
后来在网山看到了解决办法,一句话:
git config http.postBuffer 524288000
原因是因为push的文件太大,把push的限制改成500M就没问题了,再大的东西也能push上去了。