Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The "squash everything" mantra turns git commit history into a series of snapshots devoid of any logical notion about how code evolves.

Squashed commits are strictly worse than plain, non-fast-forwarded merges from rebased branches.



Depends on your commits. If it’s untested noise I’d much rather they’re squashed so bisect doesn’t meander in trash.


Bisecting with --first-parent takes care of this.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: