pre-commit install

Category: Python & pip

pre-commit install

Install pre-commit git hooks into .git/hooks/pre-commit

Installs pre-commit hooks — scripts that run automatically before each git commit to check code quality.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.