Question · Vibe coding with Claude Code course · Module 15: Advanced Claude Code
Quiz: What git diff does not see
Why can the condition "git diff --stat -- '*.test.ts' prints nothing" let a changed test through?
Answer options
- Because git diff shows only files already added with git add
- Because --stat skips files shorter than ten lines
- Because the evaluator cannot read the output of git diff
- Because git diff does not see untracked files, so a test outside a commit changes unnoticed
You can check the correct answer by solving this task in the CodeWorlds game.