What is a Git hook?

  • A script that runs before or after events
  • A branch in Git
  • A Git repository
  • A command to undo the last commit
A Git hook is a script that runs automatically before or after certain Git events, such as committing or merging. It allows developers to customize and automate processes in response to specific actions in the Git workflow.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *