Version control Claude Code configuration including: - Global instructions (CLAUDE.md) - User settings (settings.json) - Custom agents (architect, designer, engineer, etc.) - Custom skills (create-skill templates and workflows) Excludes session data, secrets, cache, and temporary files per .gitignore. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
53 lines
1.0 KiB
Plaintext
53 lines
1.0 KiB
Plaintext
# Claude Code Configuration - .gitignore
|
|
# Only version control configuration, not session data or secrets
|
|
|
|
# ===== SECRETS & CREDENTIALS =====
|
|
.credentials.json
|
|
secrets/
|
|
*.secret
|
|
*.key
|
|
*.token
|
|
**/proxmox.json
|
|
|
|
# ===== SESSION DATA =====
|
|
history.jsonl
|
|
session-env/
|
|
shell-snapshots/
|
|
tasks/
|
|
todos/
|
|
|
|
# ===== CACHE & TEMPORARY FILES =====
|
|
cache/
|
|
debug/
|
|
file-history/
|
|
image-cache/
|
|
stats-cache.json
|
|
statsig/
|
|
*.log
|
|
*.tmp
|
|
.DS_Store
|
|
|
|
# ===== PROJECT-SPECIFIC STATE =====
|
|
projects/
|
|
ide/
|
|
plans/
|
|
|
|
# ===== SKILL-SPECIFIC EXCLUDES =====
|
|
# MemoryGraph database (contains personal conversation data)
|
|
skills/memorygraph/*.db
|
|
skills/memorygraph/__pycache__/
|
|
|
|
# Any skill cache or temp directories
|
|
skills/**/cache/
|
|
skills/**/__pycache__/
|
|
skills/**/*.pyc
|
|
skills/**/.pytest_cache/
|
|
|
|
# ===== WHAT TO BACKUP =====
|
|
# These are explicitly included (not ignored):
|
|
# - CLAUDE.md (global instructions)
|
|
# - settings.json (user settings)
|
|
# - skills/ (custom skills - code only, no data)
|
|
# - agents/ (custom agent configs)
|
|
# - keybindings.json (if exists)
|