开发者社区> 问答> 正文

我在Git@OSC新建一个项目,在本地PUSH出错误,而且新建的项目咋没有默认的?400报错

我在Git@OSC新建一个项目,在本地PUSH出错误,而且新建的项目咋没有默认的branch master 呢?? 400 报错

啥问题,有点蛋疼,我操作和以前没变化啊。注意FATAL

展开
收起
爱吃鱼的程序员 2020-06-03 16:36:49 446 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    我今天也报这个错了


    9:17:49 Push failed
            fatal: The remote end hung up unexpectedly
            fatal: The remote end hung up unexpectedly
            error: RPC failed; result=22, HTTP code = 411

    ######http://stackoverflow.com/questions/12651749/git-push-fails-rpc-failed-result-22-http-code-411 git config http.postBuffer 字节数######经常这样######git config http.postbuffer 2500000######

    参考此片文章 https://www.openshift.com/kb/kb-e1035-git-push-throws-error-rpc-failed-result22-http-code-411

    改一下配置参数,或者直接使用ssh协议

    ######

    - -

    找到了,

    git config http.postBuffer 524288000

    我以前有碰到过这个问题,忘记了。

    ######OK,解决了,多谢!######osc第一次push的话,可以加上-f
    2020-06-03 20:50:10
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
新一代高效Git协同模型 立即下载
AGit-Flow:新一代高效Git协同模型 立即下载
AGit-flow:新一代高效Git协同模型 立即下载

相关实验场景

更多