Skip to main content

rt cd

rt › cd

Jump to a repo or worktree

Usage​

bash
rt cd [flags]

Arguments & flags​

Flag / ArgTypeDefaultDescription
--repobooleanfalseAlways show the repo picker instead of the current repo's worktree list
--packagebooleanfalseOpt into the monorepo package picker, one level deeper than the worktree root (alias --packages)
--worktreetextJump straight to the worktree whose branch starts with this text

See code: commands/cd.ts › worktreePicker