使用git提交时报错:error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity

Posted guanbin-529

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用git提交时报错:error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity 相关的知识,希望对你有一定的参考价值。

技术分享图片

Delta compression using up to 4 threads.
Compressing objects: 100% (2364/2364), done.
Writing objects: 100% (4329/4329), 1.15 MiB | 11.20 MiB/s, done.
Total 4329 (delta 2657), reused 3050 (delta 1497)
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

问题在于用http提交有上传大小限制,修改上传大小限制使用 git config --global http.postBuffer 52428800 后依然报错;

改为了ssh提交就好了 (git remote -v查询git的提交地址)

git remote set-url origin ssh://[email protected]/hello/etl.git

 








以上是关于使用git提交时报错:error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity 的主要内容,如果未能解决你的问题,请参考以下文章

git push报错:error: RPC failed; result=22, HTTP code = 413

关于 用git clone 命令时报错RPC failed; curl 56 Recv failure....’ 的解决办法

git学习解决git提交代码时报错: Unable to create ‘XXX/.git/index.lock‘: File exists.

git学习解决git提交代码时报错: Unable to create ‘XXX/.git/index.lock‘: File exists.

spark-submit提交任务时报错,Error initializing SparkContext

SVN提交时报错Error: Commit failed (details follow): Error: No such revision 194 的异常?