How do you maintain the quality of your commits to a high standard?

I'm having a rough time after submitting a less than great commit and dealing with the fallout.

Things I could have improved on that I thought of:
- Break up the commit into smaller chuncks.
- Define clear use cases and create appropriate test to assure that it works
- Don't commit with new asserts, no matter how benign. They're there for a reason and might be hiding a smaller issue
- Improve code test coverage

Sign in to participate in the conversation
Gamedev Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!