Reference

CLI reference

Exact commands, parameters, and defaults for the published brbgit package and the brb command.

Install

npm install -g brbgit
Package vs command

The npm package is brbgit. The installed command is brb. The legacy git-agent command remains available as a compatibility alias.

Commands

brb init [--repo <name>] [--source <path>] [--base-url <url>]
brb sync [--source <path>] [--message <message>] [--base-url <url>]
brb watch [--source <path>] [--quiet-window-ms <ms>] [--max-batch-window-ms <ms>] [--min-resync-gap-ms <ms>] [--base-url <url>]
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 uninstall
brb repo create --name <name> [--base-url <url>]
brb push --repo <name> [--source <path>] [--message <message>] [--base-url <url>]

Environment variables

ParameterDescriptionDefault
BRB_BASE_URLDefault BRB service URL.
GIT_AGENT_BASE_URLLegacy fallback environment variable for older setups.