Show Configuration
Display current GitHub sync configuration.
Usage
code
/claude-github-sync:config
Configuration Reference
| Item | Path | Description |
|---|---|---|
| Config file | ~/.claude/sync-config.json | Sync configuration (repo URL, setup method) |
| Git remote | ~/.claude/.git/config | Primary check - git origin remote URL |
| Sync settings | ~/.claude/settings.sync.json | Shared settings (synced to GitHub) |
| Local settings | ~/.claude/settings.local.json | Machine-specific settings (gitignored) |
| Merged output | ~/.claude/settings.json | Auto-merged result of sync + local |
Instructions
Execute:
bash
CONFIG_FILE="$HOME/.claude/sync-config.json"
echo "📋 GitHub Sync Configuration"
echo "============================="
if [ -f "$CONFIG_FILE" ]; then
cat "$CONFIG_FILE"
echo ""
echo "Git Remote:"
cd ~/.claude && git remote -v 2>/dev/null || echo " Not initialized"
else
echo "Not configured."
echo ""
echo "Run: /claude-github-sync:init <repo-url>"
fi
Report result to user.