I've been doing a lot of micro-checkpoint commits which I later squash recently. Like, sometimes 10 small commits for a feature, all of them half-broken and messed-up, but as a major project-level checkpoint. Reviewing the diffs as I move along really helps me understand what's going on, and I then squash all these into a single clean commit before pushing.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/whynothugo/statuses/115386777305423007 on your instance and quote it. (Note that quoting is not supported in Mastodon.)