Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
emteycz
on Dec 12, 2021
|
parent
|
context
|
favorite
| on:
We check our node_modules folder into source contr...
You can have multiple commits in a PR
lf-non
on Dec 12, 2021
[–]
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.
xboxnolifes
on Dec 12, 2021
|
parent
|
next
[–]
> have every commit in master
Yes, but a PR commit is not in master.
pjerem
on Dec 12, 2021
|
root
|
parent
|
next
[–]
I see you, little squasher :)
ng12
on Dec 12, 2021
|
root
|
parent
|
prev
|
next
[–]
But then you lose the benefit. Hiding node_modules during code review is the easy part.
clintonb
on Dec 12, 2021
|
parent
|
prev
[–]
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: