Re:Fortunately, I don't squash my commits
by Joker_vD on Monday October 05, 2020 @08:45AM
(#24687224)
Well, uh, yes, that's what the commit history generally looks like (although we do generally put "JIRA-9999: " in front of all commit messages, for context). So what?
What I wanted to say that since I don't have that many people other than me looking into my code there no reason to preserve real development history of every feature and IMO 3 "feature commits" are preferable than my development mess of 50 "fix that fix this" commits.
So I end up with "one commit per feature" rather than "one commit per logical change". So I actively using squash during interactive rebase when I prepare to merge completed branch since my commit history sometimes looks like this:
Yeah again I know I could do better, but yeah I use squashing for this reason. A lot.