To automate builds after every commit, a hook in Git known as git _______ can be used.
- pre-commit
- post-commit
- pre-build
- post-build
In Git, the post-commit hook is used to automate actions after each commit. This hook is useful for tasks like triggering build processes.
Loading...
Related Quiz
- A developer needs to integrate their feature branch with the latest updates from the main branch, but wants to maintain a clean history. Should they use merge or rebase, and why?
- What is a common strategy for managing releases in the Gitflow model?
- What is the main idea behind the Gitflow workflow model?
- A team wants to ensure that no commit messages are pushed without a specific ticket number format. Which Git Hook should they configure?
- How does Git integration in an IDE enhance the coding process?