Information Technology Reference
In-Depth Information
Figure 4-9
.
Simplified diagram of different file states with short codes returned by git status -s
The repository's structure
To introduce the staging area I have extended the structure of a repository. In fact it
consists of three different areas, as shown in
Figure 4-10
:
• The working directory
• The database, which stores objects
• The staging area