S

Satya • 3.38K Points
Extraordinary

Q. What does 'git diff' show?

  • (A) All commits in the repository
  • (B) Differences between two branches
  • (C) Differences between staged and unstaged files
  • (D) All branches in Git
  • Correct Answer - Option(C)
  • Views: 19
  • Filed under category GitHub
  • Hashtags:

Explanation by: Satya
'git diff' shows changes between working directory and staging area.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.