feat(git): use tracked git hooks

This commit is contained in:
Victor Westerlund 2025-09-14 12:08:37 +02:00
parent 69bd6e9a5c
commit 72ee851a59
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -1,4 +1,4 @@
install: dotfiles install: dotfiles git-hooks
# Install dotfiles in users home directory # Install dotfiles in users home directory
dotfiles: dotfiles:
@ -8,3 +8,7 @@ dotfiles:
else \ else \
echo "Dotfiles already installed or folder is missing"; \ echo "Dotfiles already installed or folder is missing"; \
fi fi
# Use tracked git hooks
git-hooks:
git config --local core.hooksPath .local/share/git/hooks