Features
pre-commit Hook
- Format code using
dotnet format
- Clean code using
dotnet clean
- Build projects using
dotnet build
- Run tests using
dotnet test
prepare-commit-msg Hook
- Prepares a basic commit message template when using
git commit
without the-m
flag.
commit-msg Hook
- Commit message format validation.
- Configuration in a JSON format file to modify the constraints of the commit message format.
Changelog
Changelog: https://github.com/PabloStarOk/git-hooks-csharp/commits/1.0-beta