Introduction: Git Hooks
Let's go over what you will learn in this chapter.
Git hooks allow you to control what the Git repository does when certain actions are performed. They’re called “hooks” because they allow you to hook a script at a specific point in the Git workflow.
In this chapter, you will cover:
- What Git hooks are
- Pre-commit hooks
- Pre-receive hooks
- The
git cat-file
command
By the end, you should be comfortable with what Git hooks are and able to use them in your own projects.
Get hands-on with 1400+ tech skills courses.