News for hackers. Stuff that matters.
Re:Fortunately, I don't squash my commits by alkonaut on Monday October 05, 2020 @08:12AM (#24686979)
You don't have to squash into ONE commit just because you squash.

If I make 10 commits I can squash it into two logical commits (e.g. refactor, add feature) then I merge the branch with those two.

If the branch is small and has 3 commits that are one logical change, then I might as well squash to main instead of merging.

Commit history is readable regardless (I'd never use anything but --first-parent ever).

There are no comments on this comment yet.