This repo reproduces a problem with GitHub's "resolve conflicts" feature. The issue occurs when merging into a non-master branch from the master branch of a fork.
The result is that a merge commit is created, but conflicts still exist fo the pull-request.
-
Create a new repository on GitHub, adding a dummy file
foo
. -
Check-out a new branch
updated-upstream
. -
Commit and push an edit on
foo
toorigin/updated-upstream
. -
Switch to a different GitHub account and fork the repository.
-
On the fork, edit
foo
in a conflicting way on themaster
branch. -
Create a pull request from
master
toupdated-upstream
. -
Resolve conflicts via GitHub. This will create a merge commit from
updated-upstream
tomaster
, when the merge ought to be frommaster
toupdated-upstream
.
See #1 for the result.