Start situation (no unpushed changes, >
indicates the current branch):
o C [> master][origin/master]
|
o B
|
o A
|
...
After
git pull --rebase
is similar to what the following would do:
git fetch
git rebase
So in your case it will leave the repository like this:
o C [> master]
|
o B
|
o E [origin/master]
|
o C'
|
o B'
|
o D
|
o A
|
...
Note that the two commits you have are different from origin
where re-created on top of commit E.