This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Choose the best response for each question.
Which of the following choices isn't a Git hook event?
Post-checkout.
Pre-commit.
After-commit.
Which of the following choices is a practical use case for using Git hooks?
Enforce preconditions for merging applying custom code with the event post-merge.
Send notifications to your team’s chat room.
Validate code and merge branches automatically using the commit-msg event.
Which of the following choices is a valid event to verify Work Item ID association in your commit message before commit?
Commit-msg.
Commit-msg-id.
Msg-commit.
You must answer all questions before checking your work.
Was this page helpful?