待验证50% 置信事实精确时间
命令 git worktree add -b fix/example ../project-fix main 会创建工作树、新建名为fix/example的分支,工作树位于../project-fix,起始分支为main
1
来源数
50%
置信度
长期有效
时效性
2026/9/28
首次发现
来源
涉及实体
相关事实
待验证创建 Worktree 的命令是 git worktree add ../my-new-worktree feature-branch77% 相似待验证隔离步骤要求每个新功能都从 origin main 拉出一个全新的 git work tree 分支,永远不要在 main 上开发69% 相似待验证awman 使用 Git 的 git worktree 功能实现隔离工作树,使多个 agent 并行修改代码时互不冲突69% 相似待验证Codex uses Git to pull project code, create branches, and commit changes during task execution.68% 相似已验证Codex App的WorkTree模式基于Git WorkTree功能,从指定分支拷贝代码到新工作目录进行隔离操作67% 相似
引用此条事实
Stable URI
https://kongchang.com/claim/957090API
curl https://kongchang.com/api/v1/knowledge/claims/957090MCP
get_claim(id=957090)