repo-sync
repo-sync
What it does
repo-sync keeps shared Git repos in sync on macOS. It is for team documents, notes, skills, and context. Complex software projects and pull request workflows are outside its intended scope.
By default, after 60 seconds without local edits, it commits eligible non-ignored changes, rebases on the remote, and pushes. This includes staged edits, renames, and deletions. It checks remote changes every 60 seconds, starts at login, and runs without an AI agent.
Only the remote's default branch syncs (origin/HEAD, with main as fallback). Feature branches and detached HEAD are skipped. It never switches branches.
Check first
command -v repo-sync
repo-sync help
Use the installed help as the command contract. Older binaries may lack skill, remove, status, or version. Run repo-sync version when listed. Installing this skill does not install or upgrade the binary.