Disable merge commit in PRs - only enable squash merging to tidy up the commit history #1544
hendrywiranto
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
I'm selective about my use of squash merging. If the author has done a great job they might have clearly distinct commits for the parts needed to implement a feature, the ability to revert a single one of those is lost if you squash. On the flip side someone has commits like "and another thing" then I will probably squash it. The Go project seem to be happy with the results of doing only rebase merging to clean up their history. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I saw that the project recently has multiple PRs merged, but the commit history in master is bugging me since it has multiple merge commit that feels unnecessary
![image](https://private-user-images.githubusercontent.com/19802534/306675858-2bd45051-abdb-44b1-ad50-88638fb9453f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTAyMzQsIm5iZiI6MTczOTI4OTkzNCwicGF0aCI6Ii8xOTgwMjUzNC8zMDY2NzU4NTgtMmJkNDUwNTEtYWJkYi00NGIxLWFkNTAtODg2MzhmYjk0NTNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE2MDUzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM2NjMyZTJlOGIwOWUwYmFlMDdjYWVkZDVhMzlhMjM5NDFlYjdlNDk4NmY3MzYzZDg4MWI5NWY4YmJkZmFiMGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pkqYu4QA5b7Op4A_xQlk6i55zaS462C0pOsuUT2cHQE)
Can we just enable the squash and merge option for the repo?
like this
also please do correct me if there is a reason for this.. many thanks 🙏
Beta Was this translation helpful? Give feedback.
All reactions