建议对PR开启squash merging #5228
stkevintan
started this conversation in
建议
Replies: 1 comment
-
|
目前是打开状态 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
建议默认对PR采用squash merging 策略,这样能够让commit history更加简洁,忽略掉PR完善期间的历史让PR和commit 一一对应。
开启之后,红圈的历史记录将会合并成为一个:

如果某个PR 引入了BUG,我们可以直接revert对应的squahsed commit
wiki: https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-squashing-for-pull-requests
cc @jxxghp
Beta Was this translation helpful? Give feedback.
All reactions