git-notes-hooks
Automatic Git hooks to keep
refs/notes/*seamlessly synchronized across all remotes on every push and pull.
git-notes-hooks provides automated git lifecycle integration for the git-notes ecosystem. It installs zero-friction client-side git hooks into your repositories to ensure decentralized code review comments and notes travel with your commits automatically.
⚡ Quick Installation
Install from PyPI via pip:
pip install git-notes-hooks
Or using pipx:
pipx install git-notes-hooks
🚀 Usage
Navigate to any Git repository and run:
1. Install Hooks
Install the automated push/pull synchronization hooks into .git/hooks:
git-notes-hooks install
This installs:
post-commit: Updates local note indices on every commitpre-push: Pushesrefs/notes/*tooriginwhenever you rungit pushpost-merge: Fetches and merges remote notes fromoriginongit pull
2. Check Hook Status
Verify active git-notes hooks in your current repository:
git-notes-hooks status
3. Uninstall Hooks
Safely remove git-notes hooks at any time:
git-notes-hooks uninstall
🔒 History-Safe & Non-Destructive
git-notes-hooks operates strictly on Git's native note references (refs/notes/comments, refs/notes/review, refs/notes/todos). It never modifies commit SHAs, git history, or working tree files.
🔗 Links & Resources
- GitHub Repository: https://github.com/isaim0011/git-notes
- Issue Tracker: https://github.com/isaim0011/git-notes/issues
- Documentation: https://github.com/isaim0011/git-notes/blob/main/docs/ARCHITECTURE.md
- Release Downloads: https://github.com/isaim0011/git-notes/releases
📄 License
Licensed under either of:
- Apache License, Version 2.0
- MIT License at your option.
Release files for git-notes-hooks 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| git_notes_hooks-0.1.7.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| git_notes_hooks-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / git_notes_hooks-0.1.7.tar.gz
| Download URL | git_notes_hooks-0.1.7.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2faa270e8d0c76525cffbf2a6fbcf275cdc4279277b9756fc7f31214f9b270d
|
|
BLAKE2b-256 checksum How to use checksums |
467b3fb8b233a62bcd0b8dc6aede7da8031debbee735dc386f7704437b8d4482
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / git_notes_hooks-0.1.7-py3-none-any.whl
| Download URL | git_notes_hooks-0.1.7-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13bdf5e2bebf821a01606dcf6b4f67cd0223ad0130fe60d78922687c68472bdc
|
|
BLAKE2b-256 checksum How to use checksums |
95ec65a39fa4cf2f22accd2872c6fffd0ded79cc91774875df23dbb2d46891c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|