Hacker News new | ask | show | jobs
by nerdponx 1812 days ago
This is why the best Git workflows IMO involve rebasing and squashing the branch down to a couple of well-defined "logical commits", then merging that (with --no-ff of course) into master/main/trunk.

This forces individual programmers to think somewhat carefully about leaving a sensible commit history behind.