I was wondering what the best approach to resolving merge conflicts in a certain scenario was. In this scenario there are two developers(A and B) collaborating on a project together, developerA is the project maintainer therefore should be in charge of any change to the main branch of the project. DeveloperB develops a feature in a new branch(lets call it feature-branch), creates a pull request for it with destination branch pointing at the main branch. Both developers reviews the pull request and sees everything checks out except that some conflicts exists within some files.
I get that conflict-resolutions occurs locally so either or both developers have to resolve the conflicts in their local repo(s).
But my question is in what order should the developers merge the branches together? Is it merge the feature-branch into the main branch? or merge the main branch into the feature-branch?