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

> I suspect this might not work as cleanly if you rebase or squash as the merge method

It does not. After PR1 is merged, PR2 gets retargeted onto the target branch of PR1—but all the commits it was based on now move to the PR2, sometimes causing conflicts. GitHub won't automagically rebase your PR2, that makes sense.




I never understood why GitHub insists on creating a new commit for "Rebase and merge" when the branch is already ahead of master.




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

Search: