News for hackers. Stuff that matters.
Re:The Perfect Commit by ChrisMarshallNY on Saturday October 29, 2022 @09:49PM (#33390116)
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.

There are no comments on this comment yet.