Crates.io | rsworktree |
lib.rs | rsworktree |
version | 0.1.0 |
created_at | 2025-09-26 00:42:57.647866+00 |
updated_at | 2025-09-26 00:42:57.647866+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 | 535,952 |
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.
rsworktree create <name> [--base <branch>]
.rsworktree/<name>
, branching at <name>
by default or from --base
if provided.rsworktree cd <name> [--print]
--print
to output the path instead.rsworktree ls
.rsworktree
, showing nested worktree paths.rsworktree rm <name> [--force]
--force
to mirror git worktree remove --force
behavior.Set RSWORKTREE_SHELL
to override the shell used by rsworktree cd
(falls back to $SHELL
or /bin/sh
).
Install from crates.io with:
cargo install rsworktree
After the binary is on your PATH
, run rsworktree --help
to explore the available commands.