I use 2 main branch, master and release branch. Every PR will be merged to master first, and after proper testing, I will raise a PR to merge from master to release branch. I will not raise any PRs to merge into release except from master.
Based on this workflow, master branch should be merged into release branch without any conflict. However, sometimes it will show merge-conflict in GitHub PR page, whereas I can merge master into release branch without conflict in my local environment.
I notice that GitHub contains 3 merge options, simple merge, squash merge and rebase merge. Is the merge-conflict caused by the merge options I choose? How to solve this weird merge-conflict in GitHub?
Thanks
It appears to be a bug in GitHub. This worked for me:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With