Base repository to setup git pre-commit hook for C Language projects. Use cppcheck, clang-format and clang-tidy checks.
- Pre-commit hook example in cppcheck repositoty
- clang-format
- cppcheck
- cland-tidy
- How to setup git hooks
Clone the repository and just run the setup
script!
Is possible that you may need to give execution permission to hooks files