← Quiz: Searching Git History: all 10 questions
Quiz: Searching Git History · Question 4 of 10
In git log -- README.md, what is the -- for?
In git log -- README.md, what is the -- for?
- A.It turns on verbose mode
- B.It shows deleted files only
- C.It separates options and branch names from file paths
- D.It limits output to two commits
Answer & explanation
Correct answer: It separates options and branch names from file paths
Anything after -- is treated as a path, even if it looks like a branch or option.
Can you get the rest right without peeking?
Take the timed Quiz: Searching Git History quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →