Next | MJD's Git tips and utilities | 20 |
Folks imagine there is a local branch and a remote branch
And push and fetch copy them back and forth
Nope!
There are two local branches
origin/dev is the tracking branch
It's the local copy
of the last known state of the remote branch
git fetch origin dev
git rebase origin/dev git merge origin/dev git checkout origin/dev git log origin/dev
git push origin dev
Next | Copyright © 2021 M. J. Dominus |