Skip to Content

worktree checkout

Check out an existing remote branch into its own worktree.

Usage

worktree checkout <remote-branch>

If omitted, worktree checkout will show an interactive branch picker.

Examples

worktree checkout feature/fix-login-timeout worktree checkout origin/feature/fix-login-timeout

This creates a local tracking branch and worktree directory for that branch.

Last updated on