在Bitbucket上,是否有一种方法可以编辑提交消息以挤压并合并到开发分支中?
我已经在功能分支上做了一些提交。然后,我使用南瓜将所有提交结合在一起,然后合并回发展分支。
但是,我想编辑提交消息(在Bitbucket上),因为它使用了我从功能到开发分支的最后一个南瓜提交中完全相同的措辞。
是否有可能1)编辑我的壁球合并的提交信息,将其合并到开发提交中?还是2)以某种方式将我的最后两只南瓜合并为一个?
I have made a few commits in the feature branch. Then I used squash to combine all the commits, and merged back to the develop branch.
However, I want to edit the commit message (on BitBucket) since it uses the exact same wording from my last squash commit from feature to the develop branch.
Is it possible to 1) edit my commit message for the squash merge into the develop commit? Or 2) somehow combine my last two squash merge into one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
开发
是共享分支。您不能重写共享分支机构的历史,因为这将使其他分支分支机构的生活成为痛苦。编辑提交消息,或结合两个合并提交,重写历史记录。因此,不要做任何一个。develop
is a shared branch. You must not rewrite the history of a shared branch, because that will make the lives of the other people who share the branch a misery. Editing a commit message, or combining two merge commits, rewrites history. So don't do either of those things.