To automate the execution of tests every time a new commit is pushed, a _________ Git hook can be utilized.

  • Pre-receive
  • Post-receive
  • Update
  • Pre-commit
Git hooks are scripts that Git executes before or after events such as commit, push, and receive. The Post-receive hook is suitable for automated tasks after a successful push.
Add your answer
Loading...

Leave a comment

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