Command reference
brb daemon
Run BRB as a background process on macOS so every registered repo is watched automatically.
Reference
•https://docs.brbgit.com/brb-daemonSubcommands
bash
brb daemon run [--base-url <url>] [--quiet-window-ms <ms>] [--max-batch-window-ms <ms>] [--min-resync-gap-ms <ms>]
brb daemon install [--base-url <url>] [--quiet-window-ms <ms>] [--max-batch-window-ms <ms>] [--min-resync-gap-ms <ms>]
brb daemon uninstallStartup behavior
When the daemon starts watching a registered repo, it performs a startup sync automatically. That means the normal path is brb init once, then let the daemon keep everything current.
Authentication
Daemon uses your saved token
Run brb login before running or installing the daemon. Each watched repo syncs as that authenticated owner.
Install on macOS
bash
brb daemon install \
--base-url https://app.brbgit.com \
--quiet-window-ms 5000 \
--max-batch-window-ms 30000 \
--min-resync-gap-ms 2000
launchctl load -w ~/Library/LaunchAgents/com.brb.daemon.plistLogs
- stdout: ~/.brb/logs/daemon.out.log
- stderr: ~/.brb/logs/daemon.err.log
- launchd label: com.brb.daemon