Rename hooks to standard git hook names

- Rename post-commit-ots → post-commit
- Rename pre-commit-ots → pre-commit
- Remove legacy post-commit and pre-commit symlinks
- Update install.sh and documentation
- Simplified: only 2 hook files with standard names

Hooks are now named exactly as git expects them, making
manual installation more intuitive.
This commit is contained in:
Otto 2026-03-08 01:20:27 +01:00
parent b4e2eb3c12
commit 948e7d9d70
8 changed files with 44 additions and 291 deletions

View file

@ -34,8 +34,8 @@ That's it! Every commit will now be timestamped and anchored to Bitcoin.
```bash
# Copy hooks
cp hooks/post-commit-ots .git/hooks/post-commit
cp hooks/pre-commit-ots .git/hooks/pre-commit
cp hooks/post-commit .git/hooks/post-commit
cp hooks/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/post-commit .git/hooks/pre-commit
# Setup .gitignore