top | item 46438877

(no title)

mattbillenstein | 2 months ago

This - even 5 devs.

Also rebasing is just so fraught with potential errors - every month or two, the devs who were rebasing would screw up some feature branch that they had work on they needed and would look to me to fix it for some reason. Such a time sink for so little benefit.

I eventually banned rebasing, force pushes, and mandated squash merges to main - and we magically stopped having any of these problems.

discuss

order

William_BB|2 months ago

We squash, but still rebase. For us, this works quite well. As you said, rebasing needs to be done carefully... But the main history does look nice this way.

mattbillenstein|2 months ago

Why bother with the rebase if you squash anyway? That history just gets destroyed?

esafak|2 months ago

Rebase before creating PR, merge after creating PR.