Add device branch-prefix rule with hook enforcement
This commit is contained in:
1 parent
e4b1eea5a9
commit
e72803ba3c
5 files changed
+90
-1
No files matched your search
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/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)"
|
||||
Reference in new issue
Block a user