GitHub Pull Request to a new Upstream Branch

前端 未结 2 1917
耶瑟儿~
耶瑟儿~ 2020-12-29 01:40

My workflow: I have a fork (origin) of a remote project (upstream). I have created a branch, topic/TICKET. I want to create a pull request of my origin branch to the upstrea

相关标签:
2条回答
  • 2020-12-29 02:22

    I was trying a similar thing, and the only solution I got is to have an user with push permission to upstream.

    That way you could do a first push to upstream. Right after that, you also do a push to origin; and afterwards you can make your pull requests from branch to branch as you wish in first place.

    Just be careful when you create the pull request, because the default selected branch for upstream is always "master"

    0 讨论(0)
  • 2020-12-29 02:40

    I don't think you can do that on Github. And also think is okay like that, because you shouldn't be able to "create" a new branch on a project you don't necessarily have push access. Even if you do have push access to the upstream project i don't see it as a clean workflow.

    0 讨论(0)
提交回复
热议问题