git-synclisted
Install: claude install-skill ariffazil/arifos
# Git Sync — arifOS_bot
Triggers: "git", "git sync", "commit", "push", "pull", "diff", "branch",
"git status", "sync repo", "backup workspace", "gitclaw"
---
## Repos on This VPS
| Alias | Path | Remote | Push Protocol |
|-------|------|--------|--------------|
| `arifos` | `/mnt/arifos` | github.com/ariffazil/arifOS | HTTPS + GH_TOKEN |
| `workspace` | `~/.openclaw/workspace` | github.com/ariffazil/openclaw-workspace | HTTPS + GH_TOKEN |
| `apex` | `/mnt/apex` | github.com/ariffazil/APEX-THEORY | HTTPS + GH_TOKEN |
---
## Daily Status Check
```bash
# arifOS repo
git -C /mnt/arifos status --short
git -C /mnt/arifos log --oneline -5
# Workspace
git -C ~/.openclaw/workspace status --short
git -C ~/.openclaw/workspace log --oneline -3
```
## Commit + Push to arifOS
```bash
# 1. See what changed
git -C /mnt/arifos diff --stat
# 2. Stage specific files (never stage .env or secrets)
git -C /mnt/arifos add core/ aaa_mcp/ aclip_cai/ tests/
# 3. Commit
git -C /mnt/arifos commit -m "feat/fix/docs: description
Co-authored-by: arifOS_bot <arifos_bot@arif-fazil.com>"
# 4. Push via HTTPS with GH_TOKEN
git -C /mnt/arifos remote set-url origin "https://${GH_TOKEN}@github.com/ariffazil/arifOS.git"
git -C /mnt/arifos push origin main
git -C /mnt/arifos remote set-url origin "https://github.com/ariffazil/arifOS.git"
```
## Pull Latest (sync from remote)
```bash
# arifOS — rebase style (clean history)
git -C /mnt/arifos fetch origin
git -C /mnt/arifos pull --rebase orig