27?1442652667

【缺陷】 无法使用Eclipse的EGit插件push源码 正常


由杨永志添加于 2013-09-19 12:22
第一次可以,见项目wdmvc,第二次push就报下面的错误。 我把超时时间设为300也不行,错误相同。源码总共大概70MB。 Can't connect to any repository: http://ziberg_wdmvc@repository.trustie.net/ziberg/wdmvc.git (http://ziberg_wdmvc@repository.trustie.net/ziberg/wdmvc.git: Error writing request body to server)
回复(4)▪
  • 29?1442652664
    yanxd 12年前

    状态 从 新增 变更为 关闭

  • 3?1442652661
    谭显波 13年前

    请在版本库中执行如下命令:

    git config http.postBuffer 524288000
    
    *ERROR:* HTTP Status Code 411 (411 Content Length Not Specified) $ git push origin master Username: Password: Counting objects: 4372, done. Delta compression using up to 8 threads. Compressing objects: 100% (4274/4274), done. error: RPC failed; result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly Writing objects: 100% (4372/4372), 89.62 MiB | 19.17 MiB/s, done. Total 4372 (delta 2630), reused 0 (delta 0) fatal: The remote end hung up unexpectedly *Cause:* The default file post size for Git has been exceeded. 限制了提交代码的大小 *Resolution:* Based on this resolution, run the following command to increase the buffer to 500MB after navigating to the repository:
    git config http.postBuffer 524288000
    

  • 5?1460204756
    尹刚 13年前

    指派给 被设置为 xianbo

    请显波关注此问题!

  • 27?1442652667
    杨永志 13年前

    分别在Eclipse的EGit配置和 git库的 .git/config文件中设定如下配置项后,问题解决。 [http] postBuffer = 524288000

0?1470885445
登录后可添加回复
  • 当前状态 关闭
  • 选定优先级 正常
  • 指派给 谭显波
  • 里程碑 --
  • 开始日期 2013-09-19
  • 结束日期
  • 预计工时(H) 0.00 小时
  • 完成度 0%
  • 关联Commit 无

© Copyright 2007~2021 国防科技大学Trustie团队 & IntelliDE 湘ICP备 17009477号

问题和建议 ›
还能输入50个字符 提交

加入QQ群

关注微信APP

提
问
×