nixos-config/.githooks/pre-commit

3 lines
49 B
Plaintext
Raw Normal View History

2023-01-14 22:55:06 +01:00
nix fmt
git add $(git diff --name-only --cached)