git worktree

Updated: 05 December 2025

Concurrently checkout multiple branches of the same repository.


Delete a worktree

git worktree remove worktree_name

List all worktrees

git worktree list

Create a worktree at path and checkout commitish into it

git worktree add <path> <commitish>

Leave a comment