使用git提交时报错:error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
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://xxx@github.org/hello/etl.git
作者:guanbin —— 纵码万里千山
出处:https://www.cnblogs.com/guanbin-529/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。