Hacker News new | ask | show | jobs
by butvacuum 126 days ago
you should push to a private working branch- and freqently. But, when merging your changes to a central branch you should squash all the intermediate commits and just provide one commit with the asked for change.

Enshrining "end of day commits", "oh, that didn't work" mistakes, etc is not only demoralizing for the developer(s), but it makes tracing changes all but impossible.

1 comments

Yeah, I don't care about that for my tiny hobby projects which are used by no one. XD