Open Bascy opened 10 months ago
I think the git rebase diagram is not correct:
git rebase
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.
G
Commit E is now based on D in stead of B which is already correct in the diagram
E
D
B
@Bascy you are right. Rebase changes "base commit" of feature branch, without merging feature branch to main branch.
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 onD
in stead ofB
which is already correct in the diagram