New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use rebase-and-merge instead of merge #1081
Comments
Agree, Rebase and merge is much cleaner for the commit history. One disadvantage however is that Rebase and merge does destroy commit signatures. |
The commit signatures can be retained if the branch is rebased (by the PR creator) on top of latest main, and then the maintainer do a |
@rht I am confused by settings in your comments. |
You can ignore my comment on the command line rebase. Most people don't sign their commits anyway, so using GH's rebase and merge button should work. |
I suppose I can close this now, since currently the default is rebase and merge. |
There are lots of merge commits in the commit history. Moving forward, this can be cleaned if the rebase-and-merge is selected as the default in the GitHub settings of this repo. See https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/about-merge-methods-on-github#rebasing-and-merging-your-commits. Example of projects with clean commit history: https://github.com/zulip/zulip/commits/main.
Notice that the pull request number can still be found in the commit detail even with this method: zulip/zulip@5300ad8.
The text was updated successfully, but these errors were encountered: