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

You can set on the repository if you want it to rebase instead[0]

[0]: https://docs.github.com/en/pull-requests/collaborating-with-...




Annoyingly this always re-writes commits (i.e. never fast-forwards), which means that if you have branches based on the branch you're merging they will need to be rebased, and git will complain about deleting the branch because it looks like it's unmerged.


I know about that but don't know if it works for updating a branch before merging it. I'll have to try changing it to that setting.




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

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

Search: