Hacker News new | ask | show | jobs
by desireco42 3731 days ago
What I got from this article is idea to squash every pull req into a single commit. I think this is valuable idea.
3 comments

I agree, which github now does for you

https://github.com/blog/2141-squash-your-commits

thank you for pointing this out for me
As someone who does a lot of git bisecting, this is a horrible idea. Only do it on a case-by-case basis. If it takes 5 commits to make 5 complete changes that implement something, keep them as 5 commits.
It's such a naive idea to apply this to every PR unilaterally.