Information Technology Reference
In-Depth Information
Figure 10-10
.
The repositories after John's $ git pull origin master command
John's
$ git pull origin master
command updated his repository with
latest revision by Sarah, so John can now push his work into
shared-repo
with:
# john's command
$ git push origin master
Notice that John doesn't need the
-u
parameter when he pushes anymore as the
tracking was already defined by John's first call to
$ git push -u
. The repositor-
ies look like
Figure 10-11
.