Mastering git rebase

The elegance of pull rebase

The power of rebase — onto

fig 1
fig 2
fig 3
A--B--C        master
\
D--E feature1
\
F--G feature2
Here we want to rebase feature2 to master beginning from feature1
| |
<newbase> <upstream>

Thank you for reading:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store