3 ms·
The most useful way for me to think about a rebase is "replay my commits over an updated branch, as though I started coding when those updates had already happe
by and0 5y ago
The most useful way for me to think about a rebase is "replay my commits over an updated branch, as though I started coding when those updates had already happened"
So if you check out on day 0 and rebase on day 5, then it becomes "pretend I started coding on day 5 in the first place, and let me correct any contradictions (conflicts) as though I was making those decisions as I was making each commit".
I still struggle but this helps me conceptualize it.