Java tips: How to solve the problem of "Remote repository contains commits unmerged into the local branch" in NetBeans?
I followed the below instructions to push a Java project in Netbeans 8.0.1 into a Bitbucket repository, but following error popped up:
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.
The best answer:
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.
I tried this method. It works!
Good luck!
References:
http://stackoverflow.com/questions/26803858/netbeans-8-0-1-remote-repository-contains-commits-unmerged-into-the-local-bran
Comments
Post a Comment