Information Technology Reference
In-Depth Information
Figure 4-8 . Different states of files
Notice that:
• Every unmodified file is tracked.
• Every staged and unstaged file is tracked and modified.
Therefore we can unambiguously use these four adjectives to describe files:
• Untracked
• Unmodified
• Staged
• Unstaged
The simplified diagram of states including short codes returned by the git
status -s command is shown in Figure 4-9 .
 
 
Search WWH ::




Custom Search