Unverified50% confidenceDecision RuleExact time
Git only removes clean worktrees—no untracked files, no modified tracked files; unclean worktrees require `--force`, and locked ones require `--force` twice.
1
Sources
50%
Confidence
Long-term
Relevance
10/15/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedDeleting a worktree should use git worktree remove rather than directly rm -rf, otherwise metadata will remain in .git/worktrees and need to be cleaned up with git worktree prune.79% similarUnverifiedGit refuses to let two worktrees share the same branch, reporting the error 'refactor' is already used by worktree.76% similarVerifiedThe same branch cannot be checked out by two Worktrees simultaneously; this is a safety mechanism set by Git to prevent index conflicts.74% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1040273API
curl https://kongchang.com/api/v1/knowledge/claims/1040273MCP
get_claim(id=1040273)