Eclipse - Resolve DIRTY_WORKTREE

By xngo on February 21, 2019

  1. Note: Make sure that you commit your files locally first. Otherwise, you will go in circles.
  2. From Eclipse, right-click on your project.
  3. Select Team -> Synchronize workspace.
  4. You will then see conflicting files marked with a special icon.
  5. Open the conflicting file and make all your changes.
  6. Right-click on the file and select Mark as Merged.
  7. Right-click on the your project and select Merge.
  8. Right-click on the 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.