pre-commit logo pre-commit: the concept

1 2 3 4 5 6 7 8 9 10

The goal of pre-commit is to prevent bad commits from getting into your code-base. One reason to block a commit can be because style checks are failing.

The idea of pre-commit is explained with this graphic.