4 ms·
> always squashing your PRs to main, the cleanliness of the branch while you're working on it is unimportant. I'm personally not a fan of always squashing, for
by doix 3y ago
> always squashing your PRs to main, the cleanliness of the branch while you're working on it is unimportant.
I'm personally not a fan of always squashing, for large features you lose a lot of history. I like a merge commit in some cases, you can still undo everything easily and most git commands support --first-parent so you can "pretend" everything was squashed in certain cases. But when you're got blaming, you have a lot more context to go off.