I've recently discovered on SO that the proper flow to push chances from a fork to the master repo is this:
Create an issue branch on the fork
Create Pull Request to merge this branch to the master the upstream
Pull changes from the upstream into the fork master
Push changes from the fork master to the remote fork master
And it all works fine, but I am not sure what to do when I meet a merge conflicts.
Namely, I created 3 branches for 3 issues and finished them. I pushed branches to the remote fork repo and I am ready to create PR. I create PR for BranchA, but it says "it cannot automatically merge as I have to resolve conflicts".
Resolving includes that I merge this branch to the fork master first, resolve conflicts, then push merged changes to the upstream master repo.
Haven't I just broken 4-step rule I mentioned above?
Is there a way NOT to merge anything on fork master but to resolve conflicts inside the branch and push fixed branch to the upstream via PR?