Correct Answer: Create a pre-commit hook to trigger the script.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Git Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Git MCQ Questions
Which use case is NOT a good candidate for a Git hook?
After starting to work on a new feature and creating new files in the working directory related to it, the customer determined the feature was no longer required. What command can be used to remove the untracked files from the working directory ?
What information do Git reflogs (reference logs) store?
You have just completed rebasing your master branch and need to manually update the remote master, even though there is a merge conflict. How can you accomplish this?
What is the difference between git fetch and git pull
What command undoes all changes since the last commit?
Which command deletes the branch named "stinky" regardless of merge status ?
Which one of the following commands lists REMOTE branches only?
How do you stage all changes?
How can I get the commit ID?