1
0
Fork 0
mirror of https://github.com/imjasonh/cnotes synced 2026-07-15 21:27:21 +00:00

Add git notes preservation system with backup/restore functionality

- Added WarnAboutGitNotesLoss hook that warns before destructive git operations
- Implemented comprehensive backup/restore system for conversation notes
- Added CLI commands: hooks notes backup/restore/list
- Configured git to automatically copy notes during rebase operations
- Created backup.go with full notes backup and restoration functionality

This ensures conversation context is never lost during rebasing, squashing, or other destructive git operations.
This commit is contained in:
Jason Hall 2025-07-21 12:39:13 -04:00
parent d6f6fc5ffe
commit 7b6cdffa8a
Failed to extract signature
4 changed files with 402 additions and 0 deletions

72
test-backup.json Normal file

File diff suppressed because one or more lines are too long