Question · Vibe coding with Claude Code course · Module 2: A Next.js project with Claude Code

Quiz: The git commit command

What does the command 'git commit -m "..."' do?

Answer options

  • Deploys the code to the production server
  • Deletes the Git repository
  • Saves changes as a checkpoint with a message describing the change
  • Installs the project's dependencies
Show the answer

Correct answer:

  • Saves changes as a checkpoint with a message describing the change