worktree-management
Manage git worktrees for this repo. Use when creating/removing/inspecting worktrees or when isolating work into a new path/branch via scripts/worktree-*.sh.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Worktree Management
Use the repo scripts (preferred)
- Create:
scripts/worktree-new.sh [--force] [--no-hydrate] <path> <branch>- Creates worktree and branch (from
mainif missing). - Use
--no-hydrateto skip toolchain hydration.
- Creates worktree and branch (from
- Remove:
scripts/worktree-remove.sh <path> [--force]- Removes the worktree (branch is kept).
- List:
git worktree list
Notes
- Worktrees live under
/workspaces/worktrees/. - Shared build cache lives under
/workspaces/worktrees/shared/(notably Rusttarget/).
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!