Skip to content

Commit 519139c

Browse files
committed
Improve git hooks setup and devcontainer integration
- Rename .husky to .git-hooks for clarity since we don't use actual Husky - Add postCreateCommand to devcontainer.json to auto-configure git hooks for new developers - Update hook comments to remove Husky references
1 parent b6cc6d9 commit 519139c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
]
1616
}
1717
},
18-
"postCreateCommand": "echo 'Java development environment with Claude Code ready'",
18+
"postCreateCommand": "git config core.hooksPath .git-hooks && echo 'Java development environment with Claude Code ready - Git hooks configured'",
1919
"remoteUser": "ubuntu"
2020
}

.husky/commit-msg renamed to .git-hooks/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
# Husky commit-msg hook to prevent Claude attribution in commit messages
3+
# Git commit-msg hook to prevent Claude attribution in commit messages
44
# This is a shell script version that works without Node.js
55

66
if [ -z "$1" ]; then

0 commit comments

Comments
 (0)