How to Use #git Hooks in Your Development Workflow
▻https://hackernoon.com/how-to-use-git-hooks-in-your-development-workflow-a94e66a0f3eb?source=rs
Get hooked !!Photo by Alvaro Reyes on UnsplashOverviewIf you’ve ever worked on an open-source project, or you’re working in a team, it’s very likely you are using some kind of version control. Version Control System(VCS) has become one of the major requirement for any project, Git being the most popular one. However, as the team grows in number, it becomes difficult to handle the different code styles and to enforce certain rules across all the contributors. These issues aren’t noticed by a contributor until he has pushed his changes which result in overheads for the core maintenance team. To enforce these rules and validate the code being pushed, Git has a great feature, called Git Hooks.What are Git Hooks?These are custom scripts which are triggered on certain specific git events. Hooks (...)
#developer #software-engineering #software-development #developer-tools