Hacker News new | ask | show | jobs
by ChrisMarshallNY 1331 days ago
Yes, that makes a lot of sense. I like to have many small commits, as opposed to one big one.

However, I’ll often defer a commit, to avoid “breaking the build.”

I’ve come to avoid branching, if at all possible, using tags, instead.

That works for me, as I generally work alone, but it does not work for a team. In that case, we need working branches, and a stable mainline.

In my experience, commit comments are almost worthless, except as “mnemonics.” I tend to use diff views, instead, to figure out commits.