Git push 代码报错
2017-12-15 15:37
267 查看
今天在用git提交代码的时候(push),出现如下错误:HTTP 411 curl 22 The requested URL returned error: 411 Length Required,查资料发现是 上传的包过大, post请求大小限制。
解决办法:找到git代码的目录---> 找到.git隐藏文件---> 找到config文件---> 修改config文件
添加如下内容(在末尾添加即可):
[http]
postBuffer = 524288000
postBuffer为 post上传请求的包大小限制
解决办法:找到git代码的目录---> 找到.git隐藏文件---> 找到config文件---> 修改config文件
添加如下内容(在末尾添加即可):
[http]
postBuffer = 524288000
postBuffer为 post上传请求的包大小限制
相关文章推荐
- vs2015 git push代码的时候出现The requested URL returned error: 403
- git push 操作代码回退
- git push 代码到远程仓库错误1
- eclipse导入远程git代码及(push、pull、及maven工程导入)
- 初学git:用git bash往github push代码
- eclipse导入远程git代码及(push、pull、及maven工程导入)
- git push上传代码到gitlab上,报错401/403(或需要输入用户名和密码)
- git push 代码报错 Pushing to Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
- GIT 中同时 push 代码到多个远程仓库
- Git托管:将本地项目代码上传(push)到自己的Git repository
- 初学git:用git bash往github push代码
- [Git] 还原Git上commit,但是没有push代码
- git push 代码报错——(change 24610 closed)
- 解决github网站 git push或者git clone代码速度太慢的方法
- Git push 代码流程
- Git推代码出现 failed to push some refs to git
- git push代码报错
- Git Bash push代码到github
- git 将本地代码push到github
- 记录一次操作git 的愚蠢行为(本地代码只 git add 过,没有 commit ,push 过,然后版本回退 导致本地代码丢失)