Hacker News new | past | comments | ask | show | jobs | submit login

You can have multiple commits in a PR



Yes, but a lot of people prefer to have every commit in master in a buildable state. Otherwise things like git bisect become a lot more tedious.


> have every commit in master

Yes, but a PR commit is not in master.


I see you, little squasher :)


But then you lose the benefit. Hiding node_modules during code review is the easy part.


Some teams force all pull requests to be squashed to a single commit.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: