Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Fortunately, I don't squash my commits. Parent comment
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.
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).