| Crates.io | rsworktree |
| lib.rs | rsworktree |
| version | 0.7.1 |
| created_at | 2025-09-26 00:42:57.647866+00 |
| updated_at | 2025-12-04 16:25:32.634431+00 |
| description | CLI helper for managing Git worktrees under a dedicated .rsworktree directory |
| homepage | https://github.com/ozan/rust-git-worktree |
| repository | https://github.com/ozan/rust-git-worktree |
| max_upload_size | |
| id | 1855268 |
| size | 1,474,813 |
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.
interactive command: rsworktree interactive (shortcut: rsworktree i).vim, cursor, webstorm, and rider; see the quickstart for setup guidance).
rsworktree create.rsworktree/<name>. Also changes directory to the worktree.
--base <branch> — branch from <branch> instead of the current git branch.rsworktree cd
--print — write the worktree path to stdout without spawning a shell.rsworktree ls.rsworktree, showing nested worktree paths.
rsworktree rm
--force — force removal, mirroring git worktree remove --force.rsworktree pr-githubgh pr create for the current or named worktree.
gh) to be installed and on your PATH.<name> — optional explicit worktree to operate on; defaults to the current directory.--remove — delete the remote branch after a successful merge.--no-push — skip pushing the branch before creating the PR.--draft — open the PR in draft mode.--fill — let gh pr create auto-populate PR metadata.--web — open the PR creation flow in a browser instead of filling via CLI.--reviewer <login> — add one or more reviewers by GitHub login.-- <extra gh args> — pass additional arguments through to gh pr create.rsworktree merge-pr-githubgh pr merge.
gh) to be installed and on your PATH.<name> — optional explicit worktree to operate on; defaults to the current directory.rsworktree worktree open-editor$EDITOR / $VISUAL. If no editor is configured, the command prints actionable guidance instead of failing.vim, cursor, webstorm, and rider. For setup instructions and troubleshooting, see specs/002-i-want-to/quickstart.md.Install from crates.io with:
cargo install rsworktree
On macOS you can install via Homebrew:
brew tap ozankasikci/tap
brew install rsworktree
After the binary is on your PATH, run rsworktree --help to explore the available commands.
Set RSWORKTREE_SHELL to override the shell used by rsworktree cd (falls back to $SHELL or /bin/sh).