On Tue, 10 Nov 2026 18:26:19 -0300, Anton Antimo wrote:
> Pretty much all my life I've been working alone [1].
So do I.
> Working alone it matters little whether I commit often or not.
I commit when it makes sense, not when it doesn’t.
> It turns out I don't like to commit just because I wrote some new > function.
Commits should consist of a group of changes that make some kind of cohesive sense. It is quite common to work on a number of things in a single coding session, and then go back and group those changes into multiple commits. Sometimes you end up with a commit that might contain a version of some file that never actually physically existed in that form on disk at any point. That, too, is not unusual.
> I don't think git should be used as some kind of backup system, > although it is.
It’s only a “backup” in the sense of “this didn’t work, I need to go back to something that does”.
> I like a history that's organized. As a result, I sometimes rewrite > history to fix some of these mistakes I make.
Nothing surprising, lots of people work that way.
> I know enough about it to really clean things up and rewrite the > history---it's okay because I'm working alone.
Actually, it makes no difference whether you work alone or not. Just remember to avoid rebasing already-published branches -- if you want to avoid the ire of your co-workers. ;)