Re:Idiot Proof Git
by eschneider on Wednesday November 09, 2022 @11:44AM
(#33534173)
THIS. Rebasing and squashing local/private changes allows for easier experimentation/rollback while you're implementing. BUT, rebasing anything shared will cause pain to others and should be avoided.
Don't rebase shared branches.
It's amazingly powerful at making clear annotated changes. And removing small fixup commits for work in progress.
When someone says "never do x" there's probably a missing understanding of nuance.