Unverified50% confidenceFactExact time
worktree.guessRemote makes Git find the remote-tracking branch that uniquely matches the new branch name, check it out, and set its upstream, but it matches by folder basename, so names containing slashes cannot be matched.
1
Sources
50%
Confidence
Long-term
Relevance
10/18/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedWhen a branch exists only on one remote, git worktree add creates a local tracking branch for that branch.68% similarUnverified每个 Worktree 目录下生成一个轻量级 .git 文件而非目录,仅记录指向主仓库 .git 目录的路径引用,对象数据库等全部共享67% similarUnverifiedGit's post-checkout hook triggers after git checkout, git clone, and git worktree add; when a new worktree is created via git worktree add, Git passes an all-zero null ref as the first argument.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1058929API
curl https://kongchang.com/api/v1/knowledge/claims/1058929MCP
get_claim(id=1058929)