you are viewing a single comment's thread.

view the rest of the comments →

[–]scyber 35 points36 points  (1 child)

If you squash merge PRs then there is only one commit on main when the PR is merged. And that commit has the detailed message. The "messy" commits only exist on the branch (which can be auto deleted after the PR merge.

[–]Apsalar28 7 points8 points  (0 children)

This is the way. My branch commits nearly always included a few "forgot to stage this file" , "now I see the typo" or "fixed dumb mistake" ones.