When is it recommended to use Git rebase vs. Git merge?
Do I still need to merge after a successful rebase?
Before merge/rebase:
A <- B <- C [master]
^
\
D <- E [branch]
After git merge master
:
A <- B <- C
^ ^
\ \
D <- E <- F
After git rebase master
:
A <- B <- C <- D' <- E'
(A, B, C, D, E and F are commits)
This example and much more well illustrated information about Git can be found in Git The Basics Tutorial.