Confirmed users
1,643
edits
| Line 55: | Line 55: | ||
===object relation=== | ===object relation=== | ||
In the beginning, let's create a repository, named sample_1, with single commit | In the beginning, let's create a repository, named sample_1, with single commit with following steps. | ||
<span style="color:grey">###############################################</span> | <span style="color:grey">###############################################</span> | ||
<span style="color:grey">## Create a simple commit graphs | <span style="color:grey">## Create a simple commit graphs | ||
| Line 78: | Line 78: | ||
[[File:Git 2 object relation.png|thumb|center|800px|Figure 2. object relation]] | [[File:Git 2 object relation.png|thumb|center|800px|Figure 2. object relation]] | ||
Figure 2 depicts the outline of object store. The tree architecture on your | Figure 2 depicts the outline of the object store. The tree architecture on your local should be exact the same with figure 2, except the name of the commit object, that is because committer and author in your environment differ from mine, which lead to different SHA1. | ||
The next step is to figure out how many objects was been created and relation among them. | The next step is to figure out how many objects was been created and relation among them. | ||