Loading...
Loading...
GitHub backup for OpenClaw workspace. Use when user says "同步", "备份", "backup", "sync", "push to github", or asks about backup status/history/failures. Manages git-based full backup of ~/.openclaw to GitHub.
npx skill4agent add blessonism/openclaw-skills gitclaw-backup/home/node/.openclaw/https://github.com/blessonism/openclaw-backup.gitmain/home/node/.openclaw/gitclaw/auto_backup.shdaily-workspace-backup/home/node/.openclaw/.gitignorebash /home/node/.openclaw/gitclaw/auto_backup.shgit add -A.gitignoreorigin main/home/node/.openclaw/gitclaw/backup.log# Get the latest commit short hash
cd /home/node/.openclaw && git log --oneline -1✅ 同步完成 — 查看 commit
# Last backup log
tail -5 /home/node/.openclaw/gitclaw/backup.log
# Git status (uncommitted changes)
cd /home/node/.openclaw && git status --short
# Recent commits
cd /home/node/.openclaw && git log --oneline -5/home/node/.openclaw/.gitignoreworkspace/images/workspace/node_modules/workspace/.micromamba/workspace/bin//home/node/.openclaw/gitclaw/lock/rmdir /home/node/.openclaw/gitclaw/lockgit log --oneline -5 origin/main~/.git-credentialsgit credential fill <<< "host=github.com"