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:
parent
d6f6fc5ffe
commit
7b6cdffa8a
4 changed files with 402 additions and 0 deletions
72
test-backup.json
Normal file
72
test-backup.json
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue