Answer the question
In order to leave comments, you need to log in
Phpstorm error, how to solve?
I have two branches, I smerged from the local devM branch to the local branch test .then I want to push to the local branch test to launch from the repository branch and I get this error...
>git pull origin test
error: Pulling is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
Answer the question
In order to leave comments, you need to log in
You need to open the files you merged and find something like this:
<<<<<<< HEAD
// your version
=======
// new code version
>>>>>>>
Then select one of these options, then do a git add on the file and do a git commit -m
Or another option is
git reset --hard HEAD
This will roll back to the pre-merge state
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question