ghc
is a teeny tiny tool to manage git hooks via a configuration file.
brew install zeiss/ghc-tap/ghc
go install github.com/zeiss/ghc@latest
This is an example configuration file.
# .ghc.yaml
version: 1
name: example
description: This is an example of a `ghc` configuration file
hooks:
pre-commit:
- make test
- make lint