4 ms·
I want to make sure I capture your feedback correctly, so let me know if this doesn't help: we recently released the ability to change your base branch on a PR.
by moby 10y ago
I want to make sure I capture your feedback correctly, so let me know if this doesn't help: we recently released the ability to change your base branch on a PR. https://github.com/blog/2224-change-the-base-branch-of-a-pull-request https://github.com/blog/2224-change-the-base-branch-of-a-pul...
Let me know if that helps!
- gohwell 10y agoHere's an example. It's meant to illustrate 2 developers working on a feature branch based on master and one pulls their code in before the other. https://github.com/jparmstrong/gittest/pull/3/files https://github.com/jparmstrong/gittest/pull/3/files - Two feature branches were created based on master at the same time. - Branch1: committed a change to readme and it's pulled into master via PR. - Branch2: committed a change to readme, raised a pull request (PR#3), and the diff doesn't show the line that was added with the branch1 pull request. In this example, the PR is telling me there's a conflict and I need to merge master with the PR branch (this is good). What it doesn't tell me is where the conflict is. Solution, merge the base branch into the interim PR branch. The result will show you the conflict and properly represents what would happen if this PR is accepted. (Bitbucket does this) Thanks for following up. gist of merge master example output: https://gist.github.com/jparmstrong/07cab1a566c5c1495d7c8e075dd65962 https://gist.github.com/jparmstrong/07cab1a566c5c1495d7c8e07...
- moby 10y agoGot it - very helpful. Thanks for clarifying! I've copied this verbatim and sent across to our Platform team.