git-notes-cli (git-notes)
Command-line interface for
git-notes— decentralized code comments that live inside Git forever.
git-notes allows developers to add comments, reviews, and discussion threads directly to commits, files, and line numbers without altering Git commit history.
⚡ Installation
Install from crates.io via Cargo:
Or download precompiled standalone binaries from GitHub Releases.
🚀 Commands
Add a Note
Reply to a Thread
Show Discussion Thread
List Notes
Resolve / Approve
Quickies & Single-Letter Abbreviations (gn)
Save keystrokes with fast, ergonomic quickies:
gn a -f file.rs -l 42 -m "..."— Quickie add notegn l— List notes with compact numbered index[1],[2]gn r 1 -m "Fixed!"— Reply directly using quick index numbergn ok 1— Resolve / approve note by numbergn s— Interactive terminal arrow-key thread pickergn d— View git diff with inline notesgn b -f file.rs— Blame with inline notes annotationsgn doc— Doctor health check & stale-note detector
View & Customize Shortcuts
# View all abbreviations and keybindings
# Customize your own aliases
# Reset to defaults
Export Notes