Re: How to parallel coding/reviewing the same repo in shared dir
- From
D. Ben Knoble <ben.knoble@gmail.com>
- Date
- Mar 3, 2026, 18:24 UTC
- Message-ID
- <CALnO6CA03sW21WaiOQwUE-e3FZpi+fz8mi_NMs4yQPNg2Ez6WA@mail.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:
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