From 3e9df1c8e4a3e66a80e21633707a1af2f71d75b0 Mon Sep 17 00:00:00 2001 From: Adrian Duke Date: Thu, 9 Apr 2026 12:23:46 +0100 Subject: [PATCH] just: Remove existing hooks during install-hooks --- justfile | 1 + 1 file changed, 1 insertion(+) diff --git a/justfile b/justfile index 68944082..042a316a 100644 --- a/justfile +++ b/justfile @@ -153,6 +153,7 @@ install-hooks: #!/usr/bin/env bash set -e for hook in {{hooks}}; do + rm ".git/hooks/$hook" cp {{hook-script}} ".git/hooks/$hook" chmod +x ".git/hooks/$hook" done