git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Klaus Ma
Message 2 of 2 in “How to parallel coding/reviewing the same repo in shared dir”
  1. Klaus MaMar 3, 2026
  2. D. Ben KnobleMar 3, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.