Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
just: Remove existing hooks during install-hooks
Adrian Duke committed 13 days ago
commit 3e9df1c8e4a3e66a80e21633707a1af2f71d75b0
parent ffe5b9e
1 file changed +1 -0
modified 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