0

I followed the below instructions to push a Java project in Netbeans 8.0.1 into a Bitbucket repository, but following error popped up:

enter image description here

Project > Team > Git > Initialize

Project > Right Click > Team > Commit

Project > Team > Remote > Push > ...

I tried to solve this issue following the procedure in this post, but no success.

Community
  • 1
  • 1
Sami
  • 1,473
  • 1
  • 17
  • 37

1 Answers1

5

The message is saying that your local repository is not up to date with the remote repository. You need to pull from the remote repo and merge or discard changes if necessary. Once that is done you should be able to push your commits.

assylias
  • 321,522
  • 82
  • 660
  • 783
  • I merged but no luck still complains the same message. When I merge how should I select the branch and the commit...?? – Mike IT Jan 18 '17 at 05:54
  • @MikeIT Hard to say without more information - you should ask a separate question with the details of your problem. – assylias Jan 18 '17 at 09:44