Use Git Hooks To Automate Your Workflow

preview_player
Показать описание
Git is a powerful version control system, but often we need to ensure certain patterns and practises are followed. Some of these workflows can be automated with Git Hooks. In this video, we will focus on client side git hooks and I'll show you how to write a quick commit message validation hook.

😁 Connect With Me 😁
________________________________

📖 Chapters 📖
__________________

0:00 - Git Hooks: Make Your Workflow Evermore Automated
0:59 - What are git hooks?
2:08 - Write your first git hook
3:53 - Git hooks in action

#CodeWithStu #Github #Git
Рекомендации по теме
Комментарии
Автор

Hi, I am trying to exactly the same way you are doing. But when I move the commit-msg file to .githooks it's not working as expected. Am I missing anything ?

arunkumar-pkol
Автор

Hi,
Thank you for the video.


Video Request:
Can you please make a detailed video on 'Nuke build'?
That tool is pretty neat and would love to see your demo on it.

fieryscorpion
Автор

Hi, Thanks for the video. The "View the sample GitHook shown in the video" link is broken though.

brandonjoseph
Автор

Hi! First of all, great video, concise and well explained. I have followed it to try and create a simple git hook so that I cannot commit anything that does not have a Jira ticket ID in the message (exactly what you are doing in this video), but I cannot seem to make it work; the files just get commited without a ticket ID . I have done everything as in your video and I don´t know where the issue could be. Any tips? Thanks in advance and once again thanks for the video!

danielbarreiro