Hacker News new | ask | show | jobs
by Shicholas 2097 days ago
Mandatory "Squash and Merge" solves a lot of the author's reasons why adding code comments is necessary b/c it guarantees that each commit in the repository's main branch has a PR associated with it. For instance on GitHub, mandating "Squash and Merge" on the "main" branch means that every commit will have an associated PR Number in the commit message (e.g. "Added create user modal #70").