请问HN:你们是如何运行并行代理会话的?
Anthropic 有一些文档使用了 git worktree:<a href="https://code.claude.com/docs/en/common-workflows#run-parallel-claude-code-sessions-with-git-worktrees" rel="nofollow">https://code.claude.com/docs/en/common-workflows#run-parallel-claude-code-sessions-with-git-worktrees</a>
有一些应用程序在后台利用了 git worktree:<a href="https://conductor.build">https://conductor.build</a>
我也尝试过使用 lazygit,以便更加方便。
当我需要确保代理不会意外重叠时,我仍然更倾向于拥有我的代码库的多个克隆。
我很好奇其他人是怎么做的。
查看原文
Anthropic has these docs that use git worktree: <a href="https://code.claude.com/docs/en/common-workflows#run-parallel-claude-code-sessions-with-git-worktrees" rel="nofollow">https://code.claude.com/docs/en/common-workflows#run-paralle...</a><p>There are some apps like this that leverage git-worktrees under the hood: <a href="https://conductor.build">https://conductor.build</a><p>I've tried lazygit as well to make it more convenient.<p>I still end up preferring having multiple clones of my repo when I need to ensure the agents don't accidentally overlap.<p>Curious what other people do.