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

后端 未结 5 1075
孤街浪徒
孤街浪徒 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 17:04

    You can now: https://github.com/blog/2224-change-the-base-branch-of-a-pull-request

    "You can now change the base branch of an open pull request. After you’ve created a pull request, you can modify the base branch so that the changes in the pull request are compared against a different branch. By changing the base branch of your original pull request rather than opening a new one with the correct base branch, you’ll be able to keep valuable work and discussion."

提交回复
热议问题