From 72ee851a59950954606fc4af6180b4248ae104db Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Sun, 14 Sep 2025 12:08:37 +0200 Subject: [PATCH] feat(git): use tracked git hooks --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 13f4d73..18ef70c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -install: dotfiles +install: dotfiles git-hooks # Install dotfiles in users home directory dotfiles: @@ -8,3 +8,7 @@ dotfiles: else \ echo "Dotfiles already installed or folder is missing"; \ fi + +# Use tracked git hooks +git-hooks: + git config --local core.hooksPath .local/share/git/hooks