1
0
Fork 0
mirror of https://github.com/imjasonh/cnotes synced 2026-07-19 07:08:17 +00:00

Add pretty-printed Markdown show command for conversation notes

- Added 'hooks notes show [commit]' command that defaults to HEAD
- Formats conversation context in readable Markdown with proper sections
- Shows commit info, session details, tools used, commit context, and conversation excerpt
- Updated documentation to recommend the show command over raw git notes
- Enhanced user experience for viewing conversation context

Usage:
  ./hooks notes show       # Show notes for latest commit
  ./hooks notes show abc123 # Show notes for specific commit
This commit is contained in:
Jason Hall 2025-07-21 12:43:34 -04:00
parent 5d9e678db8
commit 997a55970f
Failed to extract signature
3 changed files with 129 additions and 23 deletions

View file

@ -139,14 +139,17 @@ git log --show-notes=claude-conversations --oneline
- Commit context (command and git output)
- Claude version information
**Notes Preservation**:
**Notes Management**:
```bash
# View conversation notes in readable Markdown format
./hooks notes show [commit] # defaults to HEAD
# List all commits with conversation notes
./hooks notes list
# Backup all conversation notes
./hooks notes backup [filename]
# List all commits with notes
./hooks notes list
# Restore from backup after destructive operations
./hooks notes restore <filename>
```