-
场景一在Hypercrx中,我们的CONTRIBUTING中要求了贡献者需要新建一个分支来做Ta的贡献,而不是在Ta的master分支上直接push commit并用master分支来提PR。然而,初次接触 场景二开发者早早就提了WIP(working in progress) PR到仓库,但是随着开发的推进,Ta发现使用的分支名的含义和Ta真正做的事情越来越远,于是想修改分支名称。 问题那么,有没有办法修改PR的compare branch的名称呢? |
Beta Was this translation helpful? Give feedback.
Answered by
tyn1998
Oct 27, 2022
Replies: 1 comment 1 reply
-
回答没有办法直接修改当前PR的compare branch,只能关闭PR,新建分支推到Origin后新开一个PR。 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tyn1998
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
回答
没有办法直接修改当前PR的compare branch,只能关闭PR,新建分支推到Origin后新开一个PR。
参考:https://stackoverflow.com/a/20014444/10369621