问题
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
解决
在远端nginx
转发配置中配置 client_max_body_size
值:
http {
...
server {
...
client_max_body_size 2000m;
...
}
...
}
问题2
拉代码时,遇到目录太深导致路径超长问题:
git config --system core.longpaths true