Adding githooks fold

This commit is contained in:
Cristhian Zanforlin Lousa 2023-05-31 16:45:14 -03:00
commit d5cd5bfbd7

6
.githooks/pre-commit Normal file
View file

@ -0,0 +1,6 @@
#!/bin/sh
added_files=$(git diff --name-only --cached --diff-filter=d)
make format
git add ${added_files}