Commit Graph
2 Commits
Author SHA1 Message Date
john-okeefe fd6cee0997 chore: Enhance git hook setup with executable permissions and submodule alias
- Add chmod +x to ensure pre-push hook is executable after creation
- Add global git alias 'sc-commit' for committing to all submodules at once
- Improve user feedback with detailed explanation of installed components
- Better code organization with clearer comments

This makes the setup script more robust by ensuring the hook has proper permissions and provides a convenient command for bulk submodule commits.
2026-04-12 13:31:00 -04:00
john-okeefe 9b164637d7 chore: Add git hook setup script for submodule safety
This script installs a pre-push hook that prevents pushing commits when submodules have uncommitted changes, helping avoid accidental commits with dirty submodule states.

The hook checks all submodules for uncommitted changes before allowing a push, protecting against pushing incomplete work that includes submodule modifications.
2026-04-12 13:26:57 -04:00