Question · Vibe coding with Claude Code course · Module 15: Advanced Claude Code

Quiz: The staged diff

The files are already added with git add. Which diff do you pipe into the review right before the commit?

Answer options

  • git diff --cached
  • git diff
  • git diff main...HEAD
  • git status

You can check the correct answer by solving this task in the CodeWorlds game.