merge-conflict-resolution

Cant get merge conflict to appear locally but Azure devops says I have a conflict?


Normally when I have a merge conflict my visual studio code editor will let me know of the incoming changes, but in this case when I pushed up some code Azure devops said I had a conflict but I cant see where locally.

My local branch wont mention any merge conflicts so Im not really sure how to solve.

enter image description here

enter image description here

Any help would be great, unfortunately I cannot add the conflicts tab as some of the other commenters on other posts have suggested so it will have to be done another way.


Solution

  • Do the following locally on your machine:

    Now you should see your merge conflict. Resolve the conflict on your maintenance branch and push.