How to modify a pull request on GitHub to change target branch to merge into?

后端 未结 5 1007
孤街浪徒
孤街浪徒 2021-02-03 16:19

I have a pull request that is requesting a merge into master from my branch, but the owner wants me to change the request to merge into a different branch from my branch.

<
5条回答
  •  天涯浪人
    2021-02-03 16:52

    It's pretty simple. Just click the PR for which you want to change its base branch. Find "Close pull request" button near the bottom of the web page. Now you can recreate a new PR normally - make sure you select the correct base branch this time.

提交回复
热议问题