This is a little project which provides some pre-commit-hooks for git such as:
If clang-format results in a non-empty diff then a patch is created and the commit is rejected.
If the commit fails to build then the commit is rejected.
To install to a particular git repo on your machine, located in the directory $REPO, do the following:
1. git clone https://scm.ti-edu.ch/repogit/Pre-commit-hook.git
2. cd Pre-commit-hook
3. ./install.sh $REPO
Clangify will assume google code standard unless there is a .clang-format file in the root directory of your project.