DEV Community

Discussion on: Beginner's Guide to Interactive Rebasing

Collapse
 
johand profile image
Johan • Edited

About rebasing in commits that already pushed => recovering from upstream rebase

Rebasing (or any other form of rewriting) a branch that others have based work
on is a bad idea: anyone downstream of it is forced to manually fix their history.
This section explains how to do the fix from the downstream’s point of view.
The real fix, however, would be to avoid rebasing the upstream in the first place.