Files
BE_CPONE/.githooks/post-commit
2026-04-27 10:39:06 +07:00

9 lines
186 B
Bash
Executable File

#!/bin/sh
set -eu
repo_root=$(git rev-parse --show-toplevel)
if ! "$repo_root/scripts/devcpone_sync.sh"; then
printf '%s\n' "devcpone sync skipped/failed; commit kept intact" >&2
fi