#!/usr/bin/env sh # post-merge – Automatisches Copilot-Update nach git pull (opt-in) # # Dieser Hook ruft copilot-update.sh auf wenn es installiert ist. # So werden Templates und Prompt-Dateien nach jedem 'git pull' automatisch # auf dem neuesten Stand gehalten. # # INSTALLATION (opt-in): # copilot-bootstrap.sh --with-update-hook # # DEINSTALLATION: # rm .git/hooks/post-merge UPDATER="$HOME/.local/bin/copilot-update.sh" if [ -x "$UPDATER" ]; then echo "" echo " [post-merge] Copilot-Templates werden aktualisiert..." "$UPDATER" fi