← Quiz: Git Basics: all 10 questions
Quiz: Git Basics · Question 8 of 10
What does git diff with no options show?
What does git diff with no options show?
- A.Changes already committed
- B.Changes that are staged
- C.Changes in the working directory that are not yet staged
- D.The list of branches
Answer & explanation
Correct answer: Changes in the working directory that are not yet staged
Use git diff --staged to see what is staged for the next commit.
Can you get the rest right without peeking?
Take the timed Quiz: Git Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →