Hacker News new | ask | show | jobs
by vocram 1187 days ago
Making smaller and atomic commits makes them more easily reversible.
1 comments

Atomic meaning they can be reverted on their own; I'm sure plenty of people make the mistake of making small commits, but not atomic commits.

If your git history looks like a work log, you're not writing atomic commits.

And people should get comfortable with git commit --amend and interactive rebase.