Prefer squash or rebase merges (per team policy) to keep main history linear and easy to read, bisect, and revert.
Why This Matters
Tangled merge-commit history is hard to read, bisect, and revert, slowing incident response.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.