`

Updates were rejected because the tip of your current branch is behind

    博客分类:
  • git
阅读更多
$ git push joe prod-2295-1

To git@git.com:joe.le/frontend.git
 ! [rejected]        prod-2295-1 -> prod-2295-1 (non-fast-forward)
error: failed to push some refs to 'git@git.com:joe.le/frontend.git'

hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

W510@W510-PC /D/git/frontend (prod-2295-1)
$ git push -u  joe prod-2295-1 -f
Counting objects: 827, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (188/188), done.
Writing objects: 100% (456/456), 139.96 KiB | 0 bytes/s, done.
Total 456 (delta 359), reused 343 (delta 267)
To git@git.com:joe.le/frontend.git
 + 4bd5d08...cf736f4 prod-2295-1 -> prod-2295-1 (forced update)
Branch prod-2295-1 set up to track remote branch prod-2295-1 from joe.

 

原因:自己分支版本低于主版本

解决:

$ git push -u  joe prod-2295-1 -f

 

更多实例应用扫码体验:

 

分享到:
评论
3 楼 Mr.Cheney 2016-03-10  
乔乐 哈哈, 我是43的郑刚。百度搜这个问题,居然搜到你的博客了
2 楼 qiaolevip 2015-08-06  
hi,伙计,多人开发就会提交到自己的repository,origin是基础git repository的。

gar_odie 写道
矮马,大哥你的取的名字太非主流了。
git push -u origin(远程)master -f 吧??

1 楼 gar_odie 2015-05-29  
矮马,大哥你的取的名字太非主流了。
git push -u origin(远程)master -f 吧??

相关推荐

    T-blog:由node.js服务的个人博客

    会报错error: failed to push some refs to 'git@github.com:fatpandaria/T-blog.git' hint: Updates were rejected because the tip of your current branch is behind,这是因为没有git pull,一般进行push要先...

    a project model for the FreeBSD Project.7z

    A project model for the FreeBSD Project ...The “development release” is the FreeBSD-CURRENT ("-CURRENT") branch and the “production release” is the FreeBSD-STABLE branch ("-STABLE...

    The joint density of the maximum and its location

    It is of interest' to calculate the distribution of the value of the difference between the maximum and present values of a stock or other security along with the time of occurrence of the maximum. At...

    Senfore_DragDrop_v4.1

    Since all demos were developed with the latest version of Delphi, most of the demo forms probably contains references to properties that doesn't exist in earlier versions of Delphi and C++ Builder. ...

    Zen.And.The.Art.Of.Motorcycle.Maintenance

    Zen and the Art of Motorcycle Maintenance: An Inquiry into Values (ZAMM) is a 1974 philosophical novel, the first of Robert M. Pirsig's texts in which he explores his Metaphysics of Quality. The ...

    weblogic 8.X 无限制

    The Server is not licensed for this operation.Connection rejected, the server license allows connections from only 5 unique IP addresses. 没有授权 提示5个IP访问的限制 解决办法: 从licensecodes.oracle...

    CG_std_collection[2020].pdf

    Throughout the paper we present rationale behind prominent design choices and alternatives that were ultimately rejected, drawing on insights collected during a multi-year collaboration with ...

    word自动转化为chm

    However, what bothers you most is not using how many kinds of tools, the Word file, the CHM file and the online documents are all need to be modified, this is the real matter. Once the changing work ...

    AndroidPhotoView

    Useful for when you need to update your UI based on the current zoom/scroll position. Allows the application to be notified when the user taps on the Photo. Sample Application The sample application...

    Domain-Driven+Design+in+PHP-Packt+Publishing(2017).pdf

    The training was fantastic, and all the concepts that were swirling around in their minds prior to the trip suddenly became very real. However, they were the only two PHP developers in a room full of...

    The equity risk premium a solution

    They rejected it because it could not explain high enough equity risk premia. They concluded that only non-Arrow-Debreu models would solve this 'puzzle'. Here, I re-specify their model, capturing the...

    Access-Template.doc IEEE ACCESS模板,双栏,word格式,

    The abstract must be a concise yet comprehensive reflection of what is in your article. In particular, the abstract must be self-contained, without abbreviations, footnotes, or references. It should ...

    MATLAB车牌汉字识别

    % S rejected because the weight of the top % half is about equal to the wight of the % bottom half closestMatch = 0; end elseif closestMatch == 4 % It thinks it is a U % Euler# can...

    Swift iOS 24-Hour Trainer(Wrox,2016)

    Distribute your applications outside of the App store, allowing you to test your work with real users Review common reasons why apps are rejected by Apple to strengthen your case when submitting your ...

    论文写作指导

    This guide is based on a study of referees' reports and letters from journal editors on reasons why papers written by non-native researchers are rejected due to problems with English usage....

    GetWebPics专业版2.9

    It will help you to collect your own galleries of celebrities, babies, cars, sexy bodies and many others. Build-in picture viewer, thumbnail viewer and fullscreen slideshow with transition effects ...

    第3章 难点分析.docx

    The abstract must be a concise yet comprehensive reflection of what is in your article. In particular, the abstract must be self-contained, without abbreviations, footnotes, or references. It should ...

    Oracle P6 App(移动端TeamMember)

    All fields’ updates will be rejected, but only the fields you do not remove will show in the rejection report. • When you override a status update, you can search for and add code values.

    大学英语四级历年真题及答案详解(2000年——2010年)

    4. A) The woman rejected the man's apology.  B) The woman appreciated the man's offer.  C) The man had forgotten the whole thing. D) The man had hurt the woman's feelings. 5. A) The woman is ...

Global site tag (gtag.js) - Google Analytics