Unverified50% confidenceFactExact time
A newly created worktree only checks out tracked files, so the .env and node_modules listed in .gitignore will not appear.
1
Sources
50%
Confidence
Long-term
Relevance
10/13/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedGit Worktree方案不复制对象数据库,磁盘占用极低,创建新Worktree几乎是瞬时操作67% similarUnverified.code-workspace文件本身不依赖Git,是纯粹的IDE层面抽象,对基于文件系统或Git的外部工具不可见65% similarUnverifiedThe command to create a Worktree is git worktree add ../my-new-worktree feature-branch.65% similarUnverified每个 Worktree 目录下生成一个轻量级 .git 文件而非目录,仅记录指向主仓库 .git 目录的路径引用,对象数据库等全部共享64% similarVerifiedUnlike a cloned repository, Git Worktree shares the same .git object database and does not occupy additional disk space to store history.63% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1021217API
curl https://kongchang.com/api/v1/knowledge/claims/1021217MCP
get_claim(id=1021217)