filmov
tv
How to use Git Hooks

Показать описание
Git hooks are a great way to automate your quality assurance for your commits. In this tutorial, we will explore the different types of git hooks (pre-commit, prepare-commit-message, commit-msg, post-commit to name just a few) and how to use them. In the demo at the end, we will write our very own commit message git hook to automatically check for a high-quality commit message.
The code written in this video can be found here:
Questions of the day
■ Do you use git hooks?
■ What are creative usages for git hooks you can think of?
Mentioned:
Further reading:
Timestamps:
00:00 Intro
01:12 What are git hooks?
02:23 Side note: Webhooks
03:13 pre-commit hook
03:50 prepare-commit-msg hook
04:37 commit-msg hook
05:54 post-checkout and post-merge hooks
06:29 How to share your git hooks with your team?
08:16 Implementing commit message check git hook
17:00 Implementing a git hook to control your hue lights
---
This video contains advertising content.
---
Attribution:
#git #softwaredeveloper
The code written in this video can be found here:
Questions of the day
■ Do you use git hooks?
■ What are creative usages for git hooks you can think of?
Mentioned:
Further reading:
Timestamps:
00:00 Intro
01:12 What are git hooks?
02:23 Side note: Webhooks
03:13 pre-commit hook
03:50 prepare-commit-msg hook
04:37 commit-msg hook
05:54 post-checkout and post-merge hooks
06:29 How to share your git hooks with your team?
08:16 Implementing commit message check git hook
17:00 Implementing a git hook to control your hue lights
---
This video contains advertising content.
---
Attribution:
#git #softwaredeveloper
Комментарии