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

2 messages from 2026-03-03 to 2026-03-03. Participants: Klaus Ma, D. Ben Knoble.
Thread: https://gitlist.dev/t/65126

## Klaus Ma, 2026-03-03 14:01

Subject: How to parallel coding/reviewing the same repo in shared dir
Message-ID: <TYCPR01MB8293D4E9A416FEA864C9906EB67FA@TYCPR01MB8293.jpnprd01.prod.outlook.com>
URL: https://gitlist.dev/e/TYCPR01MB8293D4E9A416FEA864C9906EB67FA%40TYCPR01MB8293.jpnprd01.prod.outlook.com

```
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, 2026-03-03 18:24

Subject: Re: How to parallel coding/reviewing the same repo in shared dir
Message-ID: <CALnO6CA03sW21WaiOQwUE-e3FZpi+fz8mi_NMs4yQPNg2Ez6WA@mail.gmail.com>
URL: https://gitlist.dev/e/CALnO6CA03sW21WaiOQwUE-e3FZpi%2Bfz8mi_NMs4yQPNg2Ez6WA%40mail.gmail.com
In-Reply-To: <TYCPR01MB8293D4E9A416FEA864C9906EB67FA@TYCPR01MB8293.jpnprd01.prod.outlook.com>

```
On Tue, Mar 3, 2026 at 9:04 AM Klaus Ma <klaus1982.cn@hotmail.com> wrote:
>
> 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

```
