nixos-config/.githooks/pre-commit

2 lines
49 B
Text
Executable file

nix fmt
git add $(git diff --name-only --cached)