Matheus Silva Itep
Matheus Silva Itep

Reputation: 171

REJECTED_NONFASTFORWARD error in git remote push Netbeans

I'm working on a remote git, and find a remote that I'm trying to PUSH to send my new changes to the other remote (for joining origin / master) and even sending a PULL or PUSH Pull from upstream in the screen is locked in image screen enter image description here advancing already hangs on the screen, I want to do: take a PULL, MERGE and then send my new files with PUSH. How to proceed? I'm using NetBeans IDE 8.0 (windows) . After this , this shows the error: enter image description here And in final output:

Remote Repository Updates
    Branch Update : master
    Old Id        : 0000000hgfh0000fdffgg1f32g1fdg2fd1gd1g2fd
    New Id        : 0000dsadda000hgfh06546f32g1fdg2fd1gd1g2fd
    Result        : REJECTED_NONFASTFORWARD
    Local Repository Updates
    Branch Update : origin/master
    Old Id        : 0000000hgfh0000fdffgg1f32g1fdg2fd1gd1g2fd
    New Id        : 0000dsadda000hgfh06546f32g1fdg2fd1gd1g2fd
    Result        : NOT_ATTEMPTED
    ==[IDE]== 24/06/2015 21:54:14 Pushing

Upvotes: 3

Views: 5921

Answers (1)

Michael
Michael

Reputation: 10474

You need to pull first since the remote has new commits that you do not have locally. You are attempting to push.

Upvotes: 4

Related Questions