DEV Community

loading...

Discussion on: Git Wrecked — Keeping Your Branches Synced Without Breaking Things

Collapse
alainvanhout profile image
Alain Van Hout • Edited

Simplest way that I see to describe rebase: if you have differences that aren't on the origin branch, briefly put those aside, pull in the origin branch into your local branch, and then apply those changes that weren't on the origin branch. What this does is always apply your own changes on top of the (structure of) the origin branch, while leaving that stucture wholly intact.

Collapse
rpalo profile image
Ryan Palo Author

That's a great way of explaining it. Thanks!

Forem Open with the Forem app