Skip to content

Git Hooks

Hannes Vogt edited this page Jul 9, 2018 · 2 revisions

Using the git precommit hook

You will need a clang-format executable installed in your PATH, with version matching exactly 6.0

cd <gridtools>
cp tools/git_hooks/pre-commit .git/hooks
Clone this wiki locally