logoalt Hacker News

paxystoday at 3:13 AM1 replyview on HN

Seeing the individual change in the context of the larger feature is actually more helpful. Otherwise you find a tiny commit that changes A to B and then have to chase down 13 other commits around it to figure out why that change was even made.


Replies

jolmgtoday at 3:18 AM

Yeah, there's a balance. I try to make my commits so they make sense on their own.

> commits around it to figure out why that change was even made.

A commit should be such that the message can articulate the why.