It depends on that context, if they're the end of day "work in progress" or "typo" commits, I don't see the value in retaining those.
A non-linear commit history is much more difficult to run a bisect on which was enough to sell linear for me.
A non-linear commit history is much more difficult to run a bisect on which was enough to sell linear for me.
That's not to say each PR is one commit, if there are multiple distinct parts of a PR that could be cherry picked in a way that they make sense on their own they'd still be separate commits.
This thread is about squash merge, which converts the whole branch into a single commit.