3 ms·
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) t
by alkonaut 6y ago
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).