Files
developer-roadmap/roadmaps/git-github/content/git-hooks@pqBV7BMAs0z6qpfZeW2XP.md

703 B

Git hooks

Git hooks are scripts that run automatically at specific points in the Git workflow, such as before a commit or after a push. They live in the .git/hooks directory and can be written in any scripting language the system supports. Hooks are commonly used to enforce rules, like running tests before allowing a commit, or triggering actions like deployments after a push.

Visit the following resources to learn more: