CRITICAL FIX: The /sync command was not pulling remote changes before pushing,
causing machines to miss each other's work.
Changes:
- Created .claude/scripts/sync.sh (automated sync script)
- Created .claude/scripts/sync.bat (Windows wrapper)
- Updated .claude/commands/sync.md to use script
The script ensures:
1. Fetches remote changes FIRST
2. Pulls with rebase (conflict detection)
3. Then pushes local changes
4. Proper error handling
5. Clear status reporting
This fixes the issue where running /sync multiple times did not see
the Mac's changes until manual git fetch was run.
Both Windows and Mac will now use the same reliable sync script.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changed Gitea repository URL from SSH to HTTPS format for better
compatibility across different machines and authentication setups.
URL change: git@git.azcomputerguru.com → https://git.azcomputerguru.com
Also simplified the command documentation to focus on practical steps
rather than extensive technical implementation details.
Files modified:
- .claude/commands/sync.md
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>