i am trying to apply a stash that I did through eclipse but I am getting the next error message : Applying stashed commit '...' failed due to 'Applying stashed changes resulted in a conflict'. how can I resolve the conflicts in eclipse ? tried to open sync view but I didn't see anything that need to be resolved... using eclipse kepler.
I had this happen when I included untracked files in my stash. I did a reset HARD to clear my working copy, then ran this from the command-line (the stash I wanted was on top of the stack):
git stash apply --index
Now I see my modified files, and my "untracked" files reappear. Not sure why the GUI doesn't work.
Using Eclipse Luna.
I had the same problem when I stashed some work I was doing in order to do some last minute, urgent bug fixing.
In order to overcome this situation, I did the following in Eclipse (note that I used Luna version):
I get this error every time I apply changes from stashed commit in neon.1 Looks like a bug. One of many bugs in egit
This commonly happens when you stash your changes in one branch and apply them on another.
To resolve these conflicts, you need to search for <<<<<
which are git markers that git uses to tell you where and which branches have the conflicts.
Here's an exhaustive link that explains how to resolve the conflicts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With