Have you ever noticed how GitHub has no fast-forward pull request merges?<p>Did you know it's impossible to use GitHub PRs without rebasing your dev branch on main after every merged PR?<p>Please, if anybody knows somebody at GitHub that can help address this glaring limitation (15 years into GitHub's life), please help. My linear history people and I are desperate.
It doesn't sound like your problem is linear history, so much as it's "having multiple long-lived branches".<p>But also, you should be fine as long as you use merge commits. The thing that will mess up your history is if you let it rebase commits, since then you'll end up with diverged history.<p><a href="https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request#merging-a-pull-request" rel="nofollow noreferrer">https://docs.github.com/en/pull-requests/collaborating-with-...</a>