brv vc) to push and pull commits between your local context tree and ByteRover cloud. Your core workflow (curate and query) works fully offline — cloud sync is optional and designed for team collaboration.
Cloud sync requires authentication. Run
/login or brv login to connect your cloud account. See Local vs Cloud for full setup instructions.When You Need Push/Pull
| Use case | Why |
|---|---|
| Team collaboration | Share curated knowledge so teammates query the same context |
| Multi-machine sync | Push from your laptop, pull on a server or CI environment |
| Backup | Persist your context tree outside the local .brv/ directory |
Setup: Connect to a remote space
Before pushing or pulling, connect your local space to a remote:- New space (local to cloud)
- Existing space (cloud to local)
Add a remote
Step 1: Stage and commit
After curating context, stage your changes and create a commit:- CLI
- TUI
Step 2: Push to remote
Push your commits to ByteRover cloud:- CLI
- TUI
Step 3: Pull team context
When teammates push context, pull their changes into your local context tree:- CLI
- TUI
Complete workflow cycle
The local-first flow is: curate locally → commit → (optionally) push/pull for teams. Here is how it all fits together. Prompt your coding agent to implement a task, mentioning ByteRover:- Query existing context in the local context tree to understand your codebase patterns:
- Implement the task using the retrieved context as guidance.
- Curate new context to capture what it learned:
- Stage and commit the new context:
- (Optional) Push to remote to share the new context with your team:
- (Optional) Pull team updates to get context that teammates have added:
Handling conflicts
If teammates have pushed changes that conflict with yours,brv vc pull will report a merge conflict. Resolve it using the merge workflow:
Next steps
Local vs Cloud
Full breakdown of local and cloud commands with setup instructions
Remote Sync
Full push, pull, fetch, and remote management reference
Curate Context
Learn best practices for adding context