Hacker News new | ask | show | jobs
by DillonF 5347 days ago
At first when I saw this headline and that the source was github I thought it meant making too many commits in git. I couldn't figure out why that would be such a bad thing.
3 comments

Me too. I thought it was going to be a tutorial on using squash/rebase.
All I could think of was making it difficult to find exactly what commit fixed/introduced what bugs.
Luckily, there are things like git bisect to help you. On the flip side, finding the commit that caused the bug is much more valuable with smaller commit, particularly if you limit each commit to one logical change in the code.
And if it is, you can just do some squashing and rebasing later on to fix it.