Hacker News new | ask | show | jobs
by KronisLV 1682 days ago
> How do you make your commit history clean and reviewable when submitting a PR?

I've seen cases where people don't care in the slightest about the list of commits in any PR/MR, but instead just look at the diff view to see the code changes.

At least that's how it's been in every single project that i've ever been a part of. Most also don't use rebasing at all and don't do squashing commits into a single one for that particular PR/MR either.

That said, there is probably merit to using rebase and squashing as well, though many fail to see it or gain anything useful from it.