码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2018-10-11 15:44:33      阅读:1688      评论:0      收藏:0      [点我收藏+]

标签:exp   http   com   11.2   bubuko   查询   read   expect   pos   

技术分享图片

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

 

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

标签:exp   http   com   11.2   bubuko   查询   read   expect   pos   

原文地址:https://www.cnblogs.com/guanbin-529/p/9772625.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!