Information Technology Reference
In-Depth Information
Figure 10-7 . The repositories after John's $ git pull origin master command
The above schema can be repeated an arbitrary number of times. Nothing special
happens until John's and Sarah's master branches diverge. Let's analyze a case such as
this.
Diverging John's and Sarah's work
This time both John and Sarah work independently in their repositories. John creates
revisions a4 and a5 while Sarah creates revision b3 :
# john's command
$ git simple-commit a4 a5
# sarah's command
$ git simple-commit b3
The repositories you'll get are depicted in Figure 10-8 .
 
 
Search WWH ::




Custom Search