claude-configs/commands/sync-config.md
Cal Corum 1e9b52186b Update remote refs and card generation workflow
- Remove homelab special-case from commit-push command (all repos now use origin)
- Update sync-config to use origin remote instead of homelab
- Enhance card generation with season-pct params, CLI reference, and validation fixes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 19:11:19 -06:00

1.0 KiB

Sync my ~/.claude configuration to its Gitea repo.

Steps

  1. Change to the ~/.claude directory
  2. Run git status to show what has changed since the last sync
  3. If there are no changes (nothing to commit, working tree clean), tell me "Config is already up to date" and stop
  4. Show me a summary of the changes (new files, modified files, deleted files)
  5. Stage all changes with git add -A (the .gitignore already excludes secrets, session data, and caches)
  6. Create a commit with a descriptive message summarizing what changed (e.g., "Update skills, add new commands" or "Update Paper Dynasty workflows")
  7. Push to the origin remote: git push origin main
  8. Confirm success with the commit hash and a brief summary

Important

  • The remote is called origin
  • The branch is main
  • The .gitignore is already configured to exclude secrets, session data, memory, and caches - so git add -A is safe
  • This command IS explicit approval to commit and push - no need to ask for confirmation
  • If the push fails, show the error and suggest remediation