I've used $ git pull origin master
(which is a combination of fetch
and merge
) and $ git push origin master
so far. Now I'm hearing about rebase
. I've read the documentation about it but sadly I couldn't understand how it works exactly.
Two questions:
One: What does '
(which is in the top of D
and E
) mean?
before rebase:
A <- B <- C
^ ^
\ \
D <- E <- F
after git rebase master:
A <- B <- C <- D' <- E'
two: When should not I use $ git rebase
? (also is it the same as git pull --rebase
?)