Information Technology Reference
In-Depth Information
Figure 10-18
.
The master branches in shared-repo and johns-repo diverged
Figure 10-19
.
The result of $ git pull origin master issued in johns-repo shown in
Figure 10-18
To summarize, the pull operation updates the local tracking branch and remote
tracking branch and leaves the remote branch unchanged.
Hint
Remember: A remote branch is a branch in the remote repository. A remote
tracking branch is a local branch that is used as a link between your work and the con-
tents of the remote repository. All types of branches are clearly presented in Figure 5-7.