threads / discuss / 65126

How to parallel coding/reviewing the same repo in shared dir

Subject: How to parallel coding/reviewing the same repo in shared dir

## tl;dr

2 messages between Mar 3, 2026 and Mar 3, 2026.

replies: 1people: 2as markdown or json

Klaus Ma· Mar 3, 2026, 14:01 UTC · lore
Hi team,
I'm trying to use multi agents to review code or coding in a distributed system. If I clone the repo to local for each task, it'll take long time for a large repo; but if I share the repo with shared filesystem, the reviewer and coder may use different branch.
So are there any suggestions on that?

---- Da (Klaus), Ma (马达) | @k82cn | Beijing, China Founder of Volcano/Flame, Principal Eng. @ Nvidia

D. Ben Knoble· Mar 3, 2026, 18:24 UTC · re: Klaus Ma · lore

Re: How to parallel coding/reviewing the same repo in shared dir

On Tue, Mar 3, 2026 at 9:04 AM Klaus Ma <klaus1982.cn@hotmail.com> wrote:
Show 11 quoted lines
>
> Hi team,
>
> I'm trying to use multi agents to review code or coding in a distributed system. If I clone the repo to local for each task, it'll take long time for a large repo; but if I share the repo with shared filesystem, the reviewer and coder may use different branch.
>
> So are there any suggestions on that?
>
>
> ----
> Da (Klaus), Ma (马达) | @k82cn | Beijing, China
> Founder of Volcano/Flame, Principal Eng. @ Nvidia

Try git-worktree(1) (although clones from one local copy to another are also really fast, if slightly more isolated from each other than worktree, which _can_ be a good thing).

-- 
D. Ben Knoble

← back to recent threads