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

Sure, and at the same time a PR can contain multiple commits. You don't have to squash and merge.



I've rarely seen cases where multiple commits per PR are a good thing. When that happens, it's (usually) that either the commits can be squashed into one logical/consistent commit, or there are too many changes for one PR.

The exception being that many ci/cd setups will squash your commits for you when merging a PR.




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

Search: