git push 新项目报错

来源:互联网 发布:淘宝企业店铺升级入口 编辑:程序博客网 时间:2024/05/19 20:48

报错提示:

    error: RPC failed; result=22, HTTP code = 413| 9.02 MiB/s       fatal: The remote end hung up unexpectedly

原因是因为你提交的项目大小大于gitlab配置最大post 值,所以更改gitlab配置:/etc/nginx/sites-available/gitlab

client_max_body_size=800m
0 0