On Wed, Feb 07, 2018 at 08:21:57AM -0500, Jeff King wrote: > The best PSA for this particular bug may be "try pruning the worktrees": > > $ git worktree prune -v > Removing worktrees/foo: gitdir file points to non-existent location > > $ git prune; echo $? > 0 Sorry, I just read Stefan's response and not your original before responding. I see that you did try that. So IMHO that's a separate bug that "worktree prune" did not do the right thing for your particular case. -Peff