system-design-101
system-design-101 copied to clipboard
git rebase diagram correct?
I think the git rebase
diagram is not correct:
After rebasing the feature branch on master, the master branch does not change (still pointing to D), and feature branch is still pointing to G
.
Commit E
is now based on D
in stead of B
which is already correct in the diagram
@Bascy you are right. Rebase changes "base commit" of feature branch, without merging feature branch to main branch.