# Einmal pro Clone ausführen: Commit-Template + Conventional-Commits-Hook aktivieren $ErrorActionPreference = "Stop" $repoRoot = Resolve-Path (Join-Path $PSScriptRoot "..") Push-Location $repoRoot try { git config --local commit.template .gitmessage git config --local core.hooksPath .githooks Write-Host "Git Hooks aktiv:" -ForegroundColor Green Write-Host " commit.template = .gitmessage" Write-Host " core.hooksPath = .githooks" Write-Host "" Write-Host "Commit-Format: feat(scope): beschreibung" } finally { Pop-Location }