onlywei / explain-git-with-d3

Use D3 to visualize simple git branching operations.
MIT License
1.71k stars 390 forks source link

git push should update origin/master #50

Closed pchampin closed 6 years ago

pchampin commented 7 years ago

try the following:

git commit
git fetch
git merge origin/master
git push

after the push, the branch origin/master has not been updated from its position got after the fetch, which is not consistent with how git actually works (it should end up on the same commit as master).

kheyse-werk commented 6 years ago

Duplicate of #19 ?

pchampin commented 6 years ago

Indeed, it is a duplicate.

waldyrious commented 6 years ago

Indeed, it is a duplicate.

Any reason not to close this, then?