I have a problem very similar to this one but the solutions aren't working.
I am attempting to merge my development branch into my master branch in TFS Azure DevOps with a Pull Request and receive this error -
24 conflicts prevent automatic merging
file1.js ----- Added in both
etc...Next steps: Manually resolve these conflicts and push new changes to the source branch.
Both development and master have Branch Policies that require changes to be done through a Pull Request.
I have previously merged development to master successfully (and then made more changes in development that I want to get into master), maybe this is why I get this error?
I attempted to merge master to development locally and created a new PR into development for these changes, but the change-set I pushed is empty. Now when I do this:
git checkout development
git pull origin master
I get
From https://MYTFS-SERVER/DefaultCollection/PROJECT/_git/REPO
* branch master -> FETCH_HEAD
Already up to date.
This answer suggests these commands to kick off the merge, but doesn't this just pull the latest from the server into the master branch? I don't get it.
I could attempt to merge master to dev again:
git checkout development
git merge master
// resolve conflicts, commit, push
But I think it will bark about not being a PR, and I swear I already did this when I got the empty change-set, and I don't want to create a bigger mess.
Where should I go from here?
On a side note, I plan on ditching the development branch and just working straight from master once I get this resolved.