Information Technology Reference
In-Depth Information
Figure 10-12 . The final state of the repositories from Recipe 10-2
How It Works
Before we dive into the commands that were used to update the three repositories, let's
start with the analysis of the contents of all three repositories shown in Figure 10-12 .
They all contain exactly the same commits. You can verify this with the $ git log
command. Enter the git-recipes/10-02/johns-repo directory and run the
following $ git log command:
$ cd git-recipes/10-02/johns-repo
$ git log --oneline
You will obtain an output similar to the one shown in Listing 10-1 .
Listing 10-1. Theoutputof$gitlog--onelineexecutedinjohns-repofrom Figure10-12
515710e Merge branch 'master' of ../shared-repo
596e379 b3
5d11316 a5
2f46c63 a4
 
 
 
Search WWH ::




Custom Search