Difference between revisions of "Pre-commit"
Jump to navigation
Jump to search
| Line 28: | Line 28: | ||
* [[Linter]] | * [[Linter]] | ||
* [[Githooks]] | * [[Githooks]] | ||
| + | * <code>[[.git/hooks/]]</code> | ||
== See also == | == See also == | ||
Revision as of 15:55, 24 March 2026
Contents
Installation
brew install pre-commitpip install pre-commitpre-commit --help
Examples
- Configuration:
.pre-commit-config.yaml
Related
git commit --no-verifygit commitrequirements.txt- Git Hooks (.git/hooks)
- Pre-commit Terraform hooks
- Pull Request (PR)
.pre-commit-config.yaml- GitHub Actions:
pre-commit: - Fourmolu
- Linter
- Githooks
.git/hooks/
See also
Advertising: