Skip to content

A set of useful (and documented!) git pre-commit hooks.

Notifications You must be signed in to change notification settings

vwildi/Pre-commit-hooks

 
 

Repository files navigation

This repository contains some useful pre-commit hooks to use with git.
Check INSTALL for documentation on how to install and use these hooks.

install_hooks.sh:
    Copy hooks over to your local git repository.

pre-commit:
    Allow to run multiple pre-commit hooks as specified in the script.

pre-commit-compile:
    Compile the project and abort commit if it fails.

pre-commit-default:
    The default git pre-commit hook checking for example for trailing
    whitespaces.

pre-commit-uncrustify:
    Run uncrustify on your sourcefiles and abort the commit if style violations
    have been detected. Generate a patch to fix these violations.

About

A set of useful (and documented!) git pre-commit hooks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published