I have a master branch and development/Server branch in git.
I created Pull Request and trying to merge development/Server to master branch but I am facing conflict.
I am getting conflicts for 2 files: .h and .cpp
"This pull request can't be merged.
You will need to resolve conflicts to be able to merge"
git merge also didn't pass.
When I compare those two files I can see that they are iddentical. Tried it manually and I also checked on online comparison tools (e.g. codebeautify)
Why git reports conflicts although files are identical???
Please give me any hints you might have, I really can't find the solution for this.
Thanks a lot!!!
There are different reasons why a path can be conflicted during merge:
git statuswill tell you which paths are conflicted and which kind of conflict it is.git diffwill show you the conflicting changes.Resolve the conflicts and
git addthe file with the desired content or permissions, thengit committhe merge.