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:
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.

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

Popular posts from this blog

gspread error:gspread.exceptions.SpreadsheetNotFound

Miniconda installation problem: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

转载:彻底搞清楚promoter, exon, intron, and UTR