Why is rewriting public Git history dangerous, and when is rebase acceptable?
Simple meaning
Force-pushing rewritten commits changes SHAs that teammates and CI already pulled, which causes duplicate commits and lost work.
Open the full page for Why, Steps, Example and Key takeaway.