Remove /refresh-directives references from save, checkpoint, scc, sync commands. Trim sync.md from 400+ lines to essentials. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
810 B
810 B
/sync - Bidirectional ClaudeTools Sync
Run the automated sync script:
bash .claude/scripts/sync.sh
The script automatically:
- Stages and commits local changes (if any)
- Fetches and pulls remote changes
- Pushes local changes
- Reports sync status
After the script completes, report the 3 most recent session logs:
ls -t session-logs/*.md projects/*/session-logs/*.md clients/*/session-logs/*.md 2>/dev/null | head -3
Conflict Resolution
- Session logs: Keep both, rename with machine suffix
- credentials.md: Do NOT auto-merge, report to user
- Other files: Standard git conflict resolution
Error Handling
If push fails with auth error, retry once (transient Gitea auth issue). If pull fails with conflicts, report affected files and ask for guidance.