Git commit messages on random pull request branches are deemed unnecessary and time-wasting since they are often irrelevant to the final state of the main branch, especially with modern trunk-based engineering practices. The author advocates for empty commit messages by default and squash-merging PR branches into main to keep commit histories clean. Efficiency and reduction of mental overhead are emphasized, with suggestions for Git and GitHub improvements, including autosave functionality and enhanced branch protection rules.
39 Comments
Sort: