A DevOps pipeline often uses git _______ to trigger automated builds and tests.
- COMMIT
- PUSH
- HOOKS
- TAG
Git hooks are scripts that can be triggered at different points in the Git workflow. The post-receive hook, in particular, is commonly used in DevOps pipelines to initiate automated processes like builds and tests after receiving new code.
Loading...
Related Quiz
- A clean Git history is often maintained by using _______ to combine commits before merging.
- Which command is used to undo a commit that has not been pushed to the remote repository?
- How does Git's data model handle changes across different branches?
- Customizing the __________ Hook can help enforce coding standards before code is pushed.
- A developer discovers that confidential files were accidentally committed to a public Git repository. What steps should be taken to resolve this?