如何结合worktree进行并行任务开发 #486
Unanswered
ning-code-up
asked this question in
Q&A
Replies: 2 comments 3 replies
|
创建worktree的时候是让AI自己调用对应harness原生的工具去创建吗,还是说直接调用git命令然后创建的啊,感觉这种情况可以在项目级别或者说全局级别专门做一个命令,就是创建Worktree之后会自动的把.trellis/ 也cp一份过去
…---原始邮件---
发件人: ***@***.***>
发送时间: 2026年7月28日(周二) 晚上7:48
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [mindfold-ai/Trellis] 如何结合worktree进行并行任务开发 (Discussion #486)
worktree把仓库代码copy了一份,但是trellis的工作目录我是本地的没有提交到git仓库里,然后worktree里只有仓库提交的代码,没有我本地的trellis工作目录,相当于我还要在copy的目录里再初始化一次trellis
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
2 replies
|
我的意思是可以专门搞一个创建worktree用的脚本这样的,脚本里面可以写一行 cp .trellis/ <worktree_path>/.trellis 这种处理,然后每次让ai创建worktree的时候直接调用这个脚本就可以
…---原始邮件---
发件人: ***@***.***>
发送时间: 2026年7月28日(周二) 晚上8:01
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [mindfold-ai/Trellis] 如何结合worktree进行并行任务开发 (Discussion #486)
这个目前需要自己手动再copy进去吗?那我删除后本地的最新的task不也删除了,之前的主分支只有当前主分支的任务记录
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
worktree把仓库代码copy了一份,但是trellis的工作目录我是本地的没有提交到git仓库里,然后worktree里只有仓库提交的代码,没有我本地的trellis工作目录,相当于我还要在copy的目录里再初始化一次trellis
All reactions