Reputation: 629
I was half way through re-basing my branch git pull --rebase origin master
. During the rebase I fixed a couple of merge conflicts, added them git add FILE
, git rebase --continue
.
However I decided to start again as I was not happy with my progress. I used git rebase --abort
to end the rebase.
When I now do git pull --rebase origin master
I notice that all the merge conflict markers have disappeared and I think the resolutions to the conflicts in my first attempt have remained.
Am I correct in thinking when I start the rebase again I should see the same merge conflicts I saw when i first started the rebase? If so how do I get back to this state?
P.S
I am using Pycharm, could Pycharm be being too helpful?
UPDATE: I checked this with atom and VIM and its the same issue so it's not an IDE/editor thing.
Upvotes: 3
Views: 312
Reputation: 629
With the help of @filbranden I was able to resolve this:
git pull --rebase origin master
git rerere forget filepath
Updated preimage for 'filepath'`
Forgot resolution for 'filepath`
git rebase --abort
This cleared all the saved conflict resolutions I had already done.
When I tried git pull --rebase origin master
again I was back at the start of rebase which is what I wanted.
Upvotes: 3