Eclipse - Solving rejected non-fast-forward

By xngo on March 1, 2019

  1. Note: Make sure that you commit your files locally first. Otherwise, you will go in circles.
  2. Right-click on your project.
  3. Select Team->Synchronize Workspace.
  4. Go through the compare view of each file marked as conflicting and then update your local file accordingly. Save it.
  5. Then, right-click on the file, click on Marked as Merged.
  6. Back to project view, right-click on your project and select Team->Merge....
  7. Right-click on your project and select Team->Push to Upstream.

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.