From bb180c7cfd8c1452992ce3e41030c44266efc868 Mon Sep 17 00:00:00 2001 From: rapaf Date: Fri, 18 Sep 2026 19:36:59 +0200 Subject: [PATCH] Utrwal lokalna sciezke hookow Git Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- install-cloudflare-hook.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/install-cloudflare-hook.ps1 b/install-cloudflare-hook.ps1 index d2056f2..6c805a1 100644 --- a/install-cloudflare-hook.ps1 +++ b/install-cloudflare-hook.ps1 @@ -8,6 +8,7 @@ if (-not (Test-Path $hooks)) { throw "Nie znaleziono folderu .git/hooks. Uruchom skrypt w katalogu repozytorium." } +git -C $root config --local core.hooksPath ".git/hooks" Copy-Item $source $target -Force Remove-Item (Join-Path $hooks "post-push.cmd") -Force -ErrorAction SilentlyContinue