I am getting the following error while merging the master branch into my development branch using git.
Error:
error: Merging 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.
I am explaining my process below.
1- I was working with my dev
branch locally.
2- I checked out to master
branch by using below below command.
`git checkout master`
3- Then I pulled the latest code from master
branch using the below command
`git pull`
4- Again I checkout to my branch using the following command
git checkout dev (dev is my branch name which is cloned from master intially)
5- Then I had to merge the master
branch code to dev
branch. so i performed the below command.
git merge master
6- Then only I am getting the above error.
Here I need to merge the latest code from master
branch to dev
branch and push into to remote dev
branch. I need to resolve this error and merge the code.