← Quiz: Git Config, .gitignore and Hooks: all 10 questions
Quiz: Git Config, .gitignore and Hooks · Question 10 of 10
Why must CI repeat the checks that your hooks perform?
Why must CI repeat the checks that your hooks perform?
- A.Hooks are not cloned with the repository and can be skipped with --no-verify
- B.Hooks only run on Linux
- C.CI is faster than hooks
- D.Git deletes hooks after every push
Answer & explanation
Correct answer: Hooks are not cloned with the repository and can be skipped with --no-verify
Hooks are a local convenience; CI is the check everyone must pass.
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 →