GitHub Pull Request to a new Upstream Branch

前端 未结 2 1940
耶瑟儿~
耶瑟儿~ 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"

提交回复
热议问题