Re:Keep calm and continue rebasing
by ShellfishMeme on Thursday May 02, 2013 @09:43AM
(#5644380)
I think you're both talking about the same thing.
Basically, if you realize you had a typo somewhere in an early commit, or some other random easily fixable error that you simply overlooked and thus isn't part of the evolution of development, you should use rebase -i to squash the fix commit together with the one that introduced the error.
It's not about squashing together the entire history of development.
I think focusing on committing green test states often leads to faster development and more focused thinking, and I'd prefer to see this approach represented in the final commits rather than getting in the habit of squashing days and days of work into single mammoth commits.