Install
openclaw skills install git-sync-daemonManage multiple git repositories with a daemon model (periodic add/commit/pull/push). Use this skill when you need to set up, run, or troubleshoot automated git sync on macOS (launchd) or Linux (systemd), including repo registration and service lifecycle.
openclaw skills install git-sync-daemonProvide a reusable, daemon-based git auto-sync workflow:
scripts/git_sync_daemon.shscripts/git_sync_ctl.sh~/.config/git-sync-daemon~/.config/git-sync-daemon/repos.conf~/.config/git-sync-daemon/git-sync-daemon.logOne line per repo:
/absolute/path/to/repo|remote=origin|branch=main|enabled=1
Supported keys:
remote (default origin)branch (default current branch)enabled (1/0, true/false, default enabled)bash scripts/git_sync_ctl.sh init
bash scripts/git_sync_ctl.sh add-repo /Users/samwei12/Develop/config
bash scripts/git_sync_ctl.sh run-once
bash scripts/git_sync_ctl.sh install-launchd
bash scripts/git_sync_ctl.sh status
bash scripts/git_sync_ctl.sh init
bash scripts/git_sync_ctl.sh add-repo /path/to/repo
bash scripts/git_sync_ctl.sh run-once
sudo bash scripts/git_sync_ctl.sh install-systemd
bash scripts/git_sync_ctl.sh status
bash scripts/git_sync_ctl.sh add-repo <path> [branch] [remote]bash scripts/git_sync_ctl.sh remove-repo <path>bash scripts/git_sync_ctl.sh list-reposbash scripts/git_sync_ctl.sh run-oncebash scripts/git_sync_ctl.sh statusService lifecycle:
bash scripts/git_sync_ctl.sh install-launchdbash scripts/git_sync_ctl.sh uninstall-launchdsudo bash scripts/git_sync_ctl.sh install-systemdsudo bash scripts/git_sync_ctl.sh uninstall-systemdBefore enabling daemon mode in production:
ssh-keyscan / StrictHostKeyChecking=accept-new) to avoid first-run failures.~/.ssh/config (host/user/port/IdentityFile/IdentitiesOnly).git config --global user.name/user.email for that service user.enabled=0 for temporary pauses instead of deleting lines.run-once before enabling persistent service.git-lfs is required by hooks but missing, that repo is skipped with explicit error log.