← Quiz: Git Config, .gitignore and Hooks: all 10 questions
Quiz: Git Config, .gitignore and Hooks · Question 2 of 10
Which command shows which config level a value came from?
Which command shows which config level a value came from?
- A.git config --list --short
- B.git status --config
- C.git config --show-scope --get user.email
- D.git log --config
Answer & explanation
Correct answer: git config --show-scope --get user.email
--show-scope prints system, global or local next to the value.
Can you get the rest right without peeking?
Take the timed Quiz: Git Config, .gitignore and Hooks quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →