Git · Junior · Question 74 of 75
What is the difference between tracked and untracked files?
- 1Tracked files were opened in the editor recently
- ✓Correct answer: Tracked files were in the last commit or are staged
- 3Untracked files are the ones listed in
.gitignore
Explanation
New files are untracked until you git add them; Git doesn't include them in commits. Ignored files are a separate category: untracked files that git status doesn't even show.