pre-commit
Create Git hooks that run before commits. tldr-pages
On several platforms
Several platforms
Install pre-commit into your Git hooks
pre-commit installIdentifyRun pre-commit hooks on all staged files
pre-commit runIdentifyRun pre-commit hooks on all files, staged or unstaged
pre-commit run --all-filesIdentifyClean pre-commit cache
pre-commit cleanIdentifyUpdate pre-commit configuration file to the latest repos' versions
pre-commit autoupdateIdentify