rsworktree
rsworktree is a Rust CLI for managing Git worktrees in a single repo-local directory (.rsworktree). It provides a focused, ergonomic workflow for creating, jumping into, listing, and removing worktrees without leaving the terminal.
Commands
-
rsworktree create <name> [--base <branch>]- Create a new worktree under
.rsworktree/<name>, branching at<name>by default or from--baseif provided. - Demo:

- Create a new worktree under
-
rsworktree cd <name> [--print]- Spawn an interactive shell rooted in the named worktree. Use
--printto output the path instead. - Demo:

- Spawn an interactive shell rooted in the named worktree. Use
-
rsworktree ls- List all worktrees tracked under
.rsworktree, showing nested worktree paths. - Demo:

- List all worktrees tracked under
-
rsworktree rm <name> [--force]- Remove the named worktree. Pass
--forceto mirrorgit worktree remove --forcebehavior. - Demo:

- Remove the named worktree. Pass
Environment
Set RSWORKTREE_SHELL to override the shell used by rsworktree cd (falls back to $SHELL or /bin/sh).
Installation
Install from crates.io with:
After the binary is on your PATH, run rsworktree --help to explore the available commands.