by CSSer · 3y ago · 0 comments
It has the energy of someone who has been forced into version control and deeply resents it.
I might do something like this if I was in a rush and just needed a save point, especially if I was working on a branch I knew I'd squash and merge with a more meaningful commit message. I certainly wouldn't be proud of it, but I might do it.
Completely valid commit strategy if you ask me (even though I bet some might beg to differ).
When you do large PRs you want to checkpoint your work and commits have less meaningful descriptions, it's just next step of steps that you couldn't plan ahead, they're popping up as you go.
My approach is to combine commit messages when squashing. With that approach they are useful.