Skip to main content

git-notes-hooks

Automatic Git hooks to keep refs/notes/* seamlessly synchronized across all remotes on every push and pull.

PyPI Version License Python Versions

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 commit
  • pre-push: Pushes refs/notes/* to origin whenever you run git push
  • post-merge: Fetches and merges remote notes from origin on git 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.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.
  • Expanded Multi-Node Burden Suite: 13-stage end-to-end multi-developer simulation test.

[0.1.10] - 2026-09-27

  • CI Quality Gating & Merge-Readiness (gn check / gn gate): Single-command merge readiness check with --min-approvals and --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, and post-merge hook installation.


📄 License

Licensed under either of:

  • Apache License, Version 2.0
  • MIT License at your option.

Metadata

Release files for git-notes-hooks 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-notes-hooks 0.1.11
File Size Uploaded
git_notes_hooks-0.1.11.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-notes-hooks 0.1.11
File Interpreter ABI Platform
git_notes_hooks-0.1.11-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / git_notes_hooks-0.1.11.tar.gz

Download URL git_notes_hooks-0.1.11.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2ce40bff3d3ddefb933e52137a630b05f9847232b6328eb5d966e339baa60db1
BLAKE2b-256 checksum
How to use checksums
6357cb6083538173e2d04dd3daf8c8044f34dcf775f51f2755d809d3502f9633
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.11-py3-none-any.whl

Download URL git_notes_hooks-0.1.11-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad5a7f41442d47645356bcefd01d904408b0f43b9f2c06b05a95217c5038e350
BLAKE2b-256 checksum
How to use checksums
5ad236015613f5f4bcebddad8ba113715ea1fd4ddf9797a0d5e2648219dc3422
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.1.11 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page