You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [docs] Update documentation for v1.8.0
- Add rimba mcp and rimba completion to commands table in README
- Document rimba mcp with MCP tools reference and setup snippets
- Add --personal flag (init) and --no-push flag (sync) to command reference
- Update sync description to document auto-push after sync
- Update config examples to minimal form (worktree_dir/default_source auto-derived)
- Remove worktree_dir and default_source from field reference table
- Migrate .gitignore from .rimba.toml to .rimba/settings.local.toml
- Add .rimba/settings.toml (migrated from .rimba.toml)
* [docs] Update agent file templates and regenerate deployed files
- Add MCP server mention to all 4 agent templates (AGENTS.md, copilot, cursor, claude)
- Update copilot config shape to minimal (remove worktree_dir/default_source)
- Add rimba mcp to cursor top commands and claude decision logic
- Remove stale worktree_dir error from claude skill error table
- Fix missing space in error table formatting
- Regenerate all deployed agent files
Sync worktree(s) with the main branch by rebasing (default) or merging. Fetches the latest changes from origin first.
267
+
Sync worktree(s) with the main branch by rebasing (default) or merging. Fetches the latest changes from origin first, then automatically pushes after a successful sync. Use `--no-push` to skip the push step.
267
268
268
269
```sh
269
-
rimba sync my-feature # Rebase a single worktree onto main
270
+
rimba sync my-feature # Rebase a single worktree onto main, then push
270
271
rimba sync my-feature --merge # Use merge instead of rebase
272
+
rimba sync my-feature --no-push # Sync without pushing
271
273
rimba sync --all # Sync all eligible worktrees
272
274
rimba sync --all --include-inherited # Include duplicate worktrees
|`--all`| Sync all eligible worktrees (skips dirty and inherited by default) |
278
280
|`--merge`| Use merge instead of rebase |
279
281
|`--include-inherited`| Include inherited/duplicate worktrees when using `--all`|
282
+
|`--no-push`| Skip pushing after sync (useful for local-only rebase/merge) |
280
283
281
-
> **Note:** Dirty worktrees are skipped with a warning. On conflict, the rebase is automatically aborted and a recovery hint is printed.
284
+
> **Note:** Dirty worktrees are skipped with a warning. On conflict, the rebase is automatically aborted and a recovery hint is printed. After a successful sync, the branch is pushed to origin by default.
Start a Model Context Protocol (MCP) server that exposes rimba's worktree management as tools for AI coding agents. The server runs over stdio and follows the MCP specification.
430
+
431
+
```sh
432
+
rimba mcp # Start MCP server (stdio transport)
433
+
```
434
+
435
+
#### Setup
436
+
437
+
**Claude Code** — add to `.mcp.json` or run:
438
+
439
+
```sh
440
+
claude mcp add rimba rimba mcp
441
+
```
442
+
443
+
**Cursor** — add to `.cursor/mcp.json`:
444
+
445
+
```json
446
+
{
447
+
"mcpServers": {
448
+
"rimba": {
449
+
"command": "rimba",
450
+
"args": ["mcp"]
451
+
}
452
+
}
453
+
}
454
+
```
455
+
456
+
#### MCP Tools
457
+
458
+
| Tool | Description | Required Parameters |
459
+
|------|-------------|---------------------|
460
+
|`list`| List all worktrees with branch, path, and status | — |
461
+
|`add`| Create a new worktree for a task |`task`|
462
+
|`remove`| Remove a worktree and optionally delete its branch |`task`|
463
+
|`status`| Show worktree dashboard with summary stats and age info | — |
464
+
|`sync`| Sync worktree(s) with the main branch via rebase or merge, then push |`task` or `all`|
465
+
|`merge`| Merge a worktree branch into main or another worktree |`source`|
466
+
|`exec`| Run a shell command across matching worktrees in parallel |`command`|
467
+
|`conflict-check`| Detect file overlaps between worktree branches | — |
468
+
|`clean`| Clean up stale references, merged branches, or stale worktrees |`mode` (prune, merged, stale) |
469
+
470
+
> **Note:** All tools return JSON responses. See `rimba mcp` help output for full parameter details.
471
+
472
+
---
473
+
422
474
## Maintenance
423
475
424
476
### rimba clean
@@ -474,3 +526,18 @@ Print version, commit, and build date.
0 commit comments