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
- How does Git enhance collaboration in a Continuous Integration/Continuous Deployment (CI/CD) pipeline?
- A team wants to automatically test and deploy features as soon as they are pushed to a specific Git branch. Which CI/CD practice aligns with this?
- A team is working on a feature branch and wants to integrate their work into the main project. What should they initiate for review and discussion?
- When merging branches, which Git command is used to create a new commit that represents the combined changes?
- A distributed team is facing challenges with frequent merge conflicts. What Git strategy could help them manage these conflicts more effectively?