I deleted my working directory because this git working tree is no longer useful, and then I git branch -D pubsub-sketch-tree in the main repository directory. Error:
error: Cannot delete branch 'pubsub-sketch-tree' checked out at '/Users/zhouhancheng/编程/github_own/sketch_worktree/pubsub-sketch_tree'
But '/ Users / zhouhancheng / 编程 / github_own / sketch_worktree / pubsub-sketch_tree' were deleted.
source share