git worktree

Updated: 07 December 2024

Delete a worktree

git worktree remove worktree_name

List all worktrees

git worktree list

Create a worktree at path and checkout commit-ish into it

git worktree add <path> <commit-ish>

Leave a comment