🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Hooks are not cloned with the repository and can be skipped with --no-verify
  2. B.Hooks only run on Linux
  3. C.CI is faster than hooks
  4. 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 →