Ustaw absolutna sciezke hooka

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
2026-09-18 19:37:20 +02:00
co-authored by Copilot
parent bb180c7cfd
commit f6f9360620
+1 -1
View File
@@ -8,7 +8,7 @@ if (-not (Test-Path $hooks)) {
throw "Nie znaleziono folderu .git/hooks. Uruchom skrypt w katalogu repozytorium." throw "Nie znaleziono folderu .git/hooks. Uruchom skrypt w katalogu repozytorium."
} }
git -C $root config --local core.hooksPath ".git/hooks" git -C $root config --local core.hooksPath "$hooks"
Copy-Item $source $target -Force Copy-Item $source $target -Force
Remove-Item (Join-Path $hooks "post-push.cmd") -Force -ErrorAction SilentlyContinue Remove-Item (Join-Path $hooks "post-push.cmd") -Force -ErrorAction SilentlyContinue