Your Git repos, always in sync.
You edit. After 60 seconds of quiet, repo-sync commits, pulls, and pushes. It starts at login and runs in the background.
For shared team repos containing documents, finance, legal, skills, and team context. Not intended for complex software development projects. macOS only.
brew install --cask vectal-labs/tap/repo-sync && repo-sync setuprepo-sync-demo.mp4
Requires Homebrew. Git and GitHub CLI are installed for you.
setup finds your repos, checks Git access, and starts the background service. You choose which repos to sync or enter a path. Nothing is preselected. It explains automatic commits and verifies the service before finishing.
Install with Go
Requires Go, Git, and the Xcode Command Line Tools. GitHub CLI (gh) is only needed if setup must configure GitHub authentication over HTTPS.
go install github.com/vectal-labs/repo-sync@latest
"$(go env GOPATH)/bin/repo-sync" setupIf you set GOBIN, use that directory instead. Add the binary directory to your PATH to use repo-sync directly.
repo-sync add # sync the repo you're in
repo-sync add ~/code/notes # sync a repo by path
repo-sync status # check the service and repositoriesThe binary includes an optional skill that teaches your AI agent how to set up, check, and stop repo-sync. Setup offers to install it. You can also run:
repo-sync skill install
repo-sync skill status
repo-sync skill uninstallHomebrew upgrades refresh installed, unchanged copies. Customized files are preserved. Installation and supported agents.
- Secret filenames like
.env,*.pem, and.npmrcare blocked by default. No content scanning. - No force-pushes or automatic conflict resolution. On conflict, it aborts the rebase and retries later.
- Only the remote's default branch syncs. Feature branches stay untouched.
Behavior and configuration · Secret overrides
Uninstall
repo-sync uninstallAsks before removing the service, settings, logs, cache, installed binary, and unchanged managed agent skills. Repositories, shared Git credentials, and customized skill folders are preserved. Use --yes to skip confirmation, or --keep-binary to keep the program.
For Homebrew, brew uninstall --cask --zap repo-sync also removes the standard settings, logs, and cache. Plain brew uninstall stops the service and keeps those files.