I started using git worktrees. It seems to work, but I'm getting this error when attempting to check out a branch in the cloned worktree:
fatal: '<branch>' is already checked out at '</other/location>'
How do I get around this without deleting the .git/worktrees
directory?
Since you cannot checkout twice in both worktree and the original repository. How about checkout original repo to somewhere else before you checkout the worktree?