V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
itfanr
V2EX  ›  程序员

git提交代码时提示:RPC failed,怎么解决啊?谢谢

  •  
  •   itfanr ·
    itfanr · 2013-06-27 17:51:27 +08:00 · 5942 次点击
    这是一个创建于 3955 天前的主题,其中的信息可能已经有所发展或是发生改变。
    error: RPC failed; result=22, HTTP code = 411

    fWatal: The remote end hung up unexpectedly
    Writing objects: 100% (628/628), 1.20 MiB | 2.28 MiB/s, done.
    Total 628 (delta 109), reused 0 (delta 0)
    fatal: The remote end hung up unexpectedly
    Everything up-to-date
    4 条回复    1970-01-01 08:00:00 +08:00
    msg7086
        1
    msg7086  
       2013-06-27 18:42:40 +08:00
    The remote end hung up unexpectedly

    楼主是https方式提交吗?换成ssh试试?
    Part
        2
    Part  
       2013-06-27 19:14:18 +08:00
    试试把缓存调大

    git config http.postBuffer 524288000
    itfanr
        3
    itfanr  
    OP
       2013-06-27 19:15:05 +08:00
    @msg7086 百度的bae平台老是抽风 不支持ssh的~
    itfanr
        4
    itfanr  
    OP
       2013-06-27 19:16:02 +08:00
    @Part 缓存调大应该可以 但是我本地显示绿色了,无法再次提交了 怎么办?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3119 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 15:01 · PVG 23:01 · LAX 08:01 · JFK 11:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.