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

Re: Multiple checkouts of the same repository

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 1, 2006, 19:17 UTC
Message-ID
<Pine.LNX.4.63.0610012116310.14200@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<3bbc18d20610011214y6132d98eq9cd58b23721bb87d@mail.gmail.com>
Hi,
On Sun, 1 Oct 2006, Matt McCutchen wrote:
Show 10 quoted lines
> On 10/1/06, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > A better method is to use a local clone:
> > 
> >         git-clone --local --shared A  B
> > 
> > Such a clone will be very fast, and cheap, because it sets up links (not
> > just symbolic links, but links that git understands).
> 
> But that gives me two separate repositories, so I have to push and
> pull to keep them in sync, which is a pain.

So you want the commits to show in A, too? I propose using a hook for that.

The fact is, your setup is fragile, and I think that is hard to fix if you do not make A and B git repositories in their own right.

Hth, Dscho

Previous: Matt McCutchenNext: Matt McCutchen
Message 4 of 8 in “Multiple checkouts of the same repository”
  1. Matt McCutchenOct 1, 2006
  2. Johannes SchindelinOct 1, 2006
  3. Matt McCutchenOct 1, 2006
  4. Johannes SchindelinOct 1, 2006
  5. Matt McCutchenOct 1, 2006
  6. Johannes SchindelinOct 2, 2006
  7. Daniel BarkalowOct 3, 2006
  8. Junio C HamanoOct 3, 2006

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.