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>
1.5 KiB
Sync Claude Code preferences and commands from ClaudeTools repo on Gitea to this local machine.
Steps to perform:
-
Pull the ClaudeTools repo from Gitea via HTTPS:
Repository: https://git.azcomputerguru.com/azcomputerguru/claudetools.git -
Check if repo exists locally at
~/ClaudeTools/- If exists:
git pull origin main - If not: Clone it first with
git clone https://git.azcomputerguru.com/azcomputerguru/claudetools.git ~/ClaudeTools
- If exists:
-
Copy the .claude/commands directory from the repo to apply commands:
- Source:
~/ClaudeTools/.claude/commands/ - Destination:
~/.claude/commands/ - These slash commands will now be available globally
- Source:
-
Apply global permissions - Copy the shared settings if available:
cp ~/ClaudeTools/.claude/settings.json ~/.claude/settings.jsonThis applies the comprehensive permission set so you get fewer prompts.
-
Read and apply any project settings from
~/ClaudeTools/.claude/settings.local.jsonif present -
Report what was synced:
- List available slash commands
- Show any settings applied
- Show recent session logs available for context
-
Read the most recent session log from
~/ClaudeTools/session-logs/to get context on what was worked on recently -
Refresh directives - Read directives.md to ensure proper operational mode
This ensures all your machines have the same Claude Code setup and can pick up where you left off with ClaudeTools work.