git/worktree

Manage Worktrees

Manage multiple working trees

git
worktree
repository

Command

git worktree

Explanation

git worktree is used to manage multiple working trees. It manages the multiple working trees.

Examples

Add new worktree

git worktree add ../new-path

List all worktrees

git worktree list