News for hackers. Stuff that matters.
Re:Fortunately, I don't squash my commits by saurik on Monday October 05, 2020 @08:03AM (#24686896)
I think what you really want is neither of squashing nor retaining: what you want is to take the messy history you had and then reconstruct a history that makes sense and commit that; thankfully, git makes this easy. I hate it when people leave messy thoughts in the commit history as I do use the history, and it is even worse if they just leave mega-commits. I want to see easy to review step by step organized thoughts designed to help the reader appreciate the series of steps needed to bring you from where you were to where you went.
Re:Fortunately, I don't squash my commits by twic on Monday October 05, 2020 @08:36AM (#24687148)
I would say the best thing is to cultivate the habit of thinking and working cleanly, so you create a history of small, logical, incremental commits.

But the second best thing is to think and work messily, and use rebasing to fake a history of small, logical, incremental commits!