Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Re: Help with git/Egit (noob here), can't push project
Re: Help with git/Egit (noob here), can't push project [message #1437116] Fri, 03 October 2014 23:05
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 10/02/2014 06:49 PM, Eric Biggs wrote:
> rejected non fast forward

I don't use eGit, but the command line no matter what.

This said, however, it's all the same. "Rejected non fast forward"
refers to when something has changed on your remote and the same file
has changed locally. Git cannot proceed without destroying something so
it refuses to go forward leaving you to clean up the mess you made.

From the command line, you'd see something like below. (As I say, I
don't use Git from inside Eclipse, so I don't know what it looks like.)

git push origin master
# To
# ! [rejected] master -> master (non-fast-forward)
# error: failed to push some refs to ''
# To prevent you from losing history, non-fast-forward updates were rejected
# Merge the remote changes (e.g. 'git pull') before pushing again. See the
# 'Note about fast-forwards' section of 'git push --help' for details.

You should Google around for how to solve this. I won't say because what
I'd tell you would not be in Eclipse because I don't know the menu
commands for it. For example, ...

I hope this helps at least a little.

Best of luck,

Previous Topic:Colorize method bodys like in BlueJ
Next Topic:External merge tool with git
Goto Forum:

Current Time: Tue Mar 02 05:52:45 GMT 2021

Powered by FUDForum. Page generated in 0.02873 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top