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.
📋 Changelog & Release Notes
[0.1.14] - 2026-10-04
- Clippy & Linter Zero-Warning Compliance: Full workspace conformance across all native components.
- UTF-8 Safe Note Truncation: Safeguarded note preview slicing against multi-byte UTF-8 and emoji sequences.
- Robust Error Handling: Added resilient logging for PR import failures.
- Ecosystem Manifest Synchronization: Unified package versioning to v0.1.14 across all components.
[0.1.11] - 2026-09-27
- Data & Refspec Integrity Validator (
gn validate/gn fsck): Audits Git note refs, blob objects, and commit DAG existence. - Asynchronous Decoupled Task Queue: Full non-blocking async execution queue in IDE extensions.
- Automated CLI Binary Installer: In-editor platform binary installer for Linux, macOS, and Windows.
- Interactive Onboarding Walkthrough: Step-by-step developer guide.
[0.1.10] - 2026-09-27
- CI Quality Gating & Merge-Readiness (
gn check/gn gate): Single-command merge readiness check with--min-approvalsand--no-unresolved. - Cryptographic Note Verification (
gn verify): GPG & SSH signature verification for tamper-proof Git reviews. - Shell Auto-Completions (
gn completions --install): Zero-config auto-install for Bash, Zsh, Fish, and PowerShell.
[0.1.9] - 2026-09-26
- Automated Git Hook Sync: Hardened
post-commit,pre-push, andpost-mergehook installation.
🔗 Links & Resources
- GitHub Repository: https://github.com/isaim0011/git-notes
- Full Ecosystem Changelog: https://github.com/isaim0011/git-notes/blob/main/CHANGELOG.md
- Issue Tracker: https://github.com/isaim0011/git-notes/issues
- Release Downloads: https://github.com/isaim0011/git-notes/releases
📄 License
Licensed under either of:
- Apache License, Version 2.0
- MIT License at your option.
Metadata
Release files for git-notes-hooks 0.1.14
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.14.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| git_notes_hooks-0.1.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / git_notes_hooks-0.1.14.tar.gz
| Download URL | git_notes_hooks-0.1.14.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ed3430c6adc7531c9b5b7d382b0e3e0d3218d5883ad620a5aa4d34b762ac099
|
|
BLAKE2b-256 checksum How to use checksums |
a30ae3b08f7743799431bc7db22a02983076cf569e1eba2b8586ce8f361ecb69
|
| 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.14-py3-none-any.whl
| Download URL | git_notes_hooks-0.1.14-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f6de63625a8ee0fb15ca41cf882522e2f165284a2a817e8646bd4c958404494
|
|
BLAKE2b-256 checksum How to use checksums |
784ebf3cdeae93ca800728587d09ab4126454010588a9ca44c991f48e3195f47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|