git worktree

Manage multiple working trees


addCreate <path> and checkout <commit-ish> into it
listList details of each working tree
lockIf a working tree is on a portable device or network share which is not always mounted, lock it to prevent its administrative files from being pruned automatically
moveMove a working tree to a new location
prunePrune working tree information in $GIT_DIR/worktrees
removeRemove a working tree
repairRepair working tree administrative files, if possible, if they have become corrupted or outdated due to external factors
unlockUnlock a working tree, allowing it to be pruned, moved or deleted