News for hackers. Stuff that matters.
Re:Git: Using Advanced Rebase Features for a Clean Repository by Vinnl on Thursday August 10, 2017 @01:30AM (#14976725)
> 3. Saving time for pull requests. I tend to commit early and often, and when I'm in "the zone" on a fairly chunky bit of work that can mean quite a few commits! When it comes to peer review, some people like to do it by commit, rather than the finished output, so to help these guys out I squash commits where possible, since we use our pull requests to illustrate the problem we're solving anyway. I think an untarnished history is important, but sometimes a PR audit trail is more useful than what you'd get from pure commits.

I think this is the most important one. Your commits are documentation for people reading your code, so whatever helps them is good.

There are no comments on this comment yet.