git-hooks

Automate Boring Tasks With Hooks

As emphasized in this tweet, we often have to accept that we cannot do it. Fortunately, in the case of code reviews, a lot of things can indeed be automated.

Between the fingers of the developers and the eyes of the reviewers, there are two main steps where this automated review process can be done as:

  • Pre-commit hooks
  • CI jobs

In this article, we’ll focus on the pre-commit step. We’ll see how to install and set up pre-commit hooks and list the top 8 hooks we use at GitGuardian.

 

https://dzone.com/articles/8-pre-commit-hooks-used-at-gitguardian

Comments are closed.