1.1 KiB
1.1 KiB
/scc - Save, Commit, and Push
Quick command to save session log, stage everything, and push to Gitea in one shot.
Steps
-
Save session log - Create/update session log for today using the /save skill logic:
- Determine correct location based on work context (project-specific or general
session-logs/) - Use format
YYYY-MM-DD-session.md - If file exists, append with
## Update: HH:MMheader - Include: summary, credentials (unredacted), infrastructure, commands, files changed, pending tasks
- Determine correct location based on work context (project-specific or general
-
Stage all changes - Run
git add -Ato stage everything including the new session log -
Commit - Auto-commit with message:
scc: Session save and push from [hostname] at [timestamp] Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> -
Push to Gitea - Run
git push origin main -
Report - Confirm what was saved, committed, and pushed
Important
- This is a FAST command - no lengthy analysis, just save and ship
- Do NOT invoke /refresh-directives afterward (unlike /sync)
- Do NOT read behavioral guidelines
- Just save, commit, push, report