git worktree

Updated: 18 December 2025

Concurrently checkout multiple branches of the same repository.


Delete a worktree

git worktree remove worktree_name
# use path of worktree

List all worktrees

git worktree list

Create a worktree at path and checkout commitish into it

git worktree add <path> <commitish>

Leave a comment