A development team is implementing a code quality tool into their Git workflow. They need to automatically reject commits that don't meet the quality standards. Which Git feature should they leverage?
- Git Hooks
- Git Stash
- Git Bisect
- Git Reflog
Git Hooks are scripts triggered by Git events, allowing the team to enforce code quality standards by rejecting commits that don't meet criteria.
Loading...
Related Quiz
- How do pull requests in platforms like GitHub and GitLab facilitate code collaboration?
- A developer is working on a feature that is based on an outdated main branch. What strategy should they use to update their branch with the latest changes from the main branch?
- Changing the history of public branches is generally discouraged because it can lead to ________ for other collaborators.
- What is a common use of git stash in Git?
- In Git, the __________ file can be used to enforce code quality standards across all project contributors.