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>
37 lines
1.5 KiB
Markdown
37 lines
1.5 KiB
Markdown
Sync Claude Code preferences and commands from ClaudeTools repo on Gitea to this local machine.
|
|
|
|
## Steps to perform:
|
|
|
|
1. **Pull the ClaudeTools repo** from Gitea via HTTPS:
|
|
```
|
|
Repository: https://git.azcomputerguru.com/azcomputerguru/claudetools.git
|
|
```
|
|
|
|
2. **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`
|
|
|
|
3. **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
|
|
|
|
4. **Apply global permissions** - Copy the shared settings if available:
|
|
```bash
|
|
cp ~/ClaudeTools/.claude/settings.json ~/.claude/settings.json
|
|
```
|
|
This applies the comprehensive permission set so you get fewer prompts.
|
|
|
|
5. **Read and apply any project settings** from `~/ClaudeTools/.claude/settings.local.json` if present
|
|
|
|
6. **Report what was synced**:
|
|
- List available slash commands
|
|
- Show any settings applied
|
|
- Show recent session logs available for context
|
|
|
|
7. **Read the most recent session log** from `~/ClaudeTools/session-logs/` to get context on what was worked on recently
|
|
|
|
8. **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.
|