7 lines
229 B
Bash
Executable File
7 lines
229 B
Bash
Executable File
#!/bin/bash
|
|
# Git pre-commit hook: enforce the device branch-prefix rule
|
|
# (.agents/rules/branch-naming.md) via .githooks/branch-guard.sh
|
|
source "$(dirname "$0")/branch-guard.sh"
|
|
|
|
guard_branch_name "$(git branch --show-current)"
|