From: "Matt McCutchen" <hashproduct+git@gmail.com>
To: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: Multiple checkouts of the same repository
Date: Sun, 1 Oct 2006 15:14:46 -0400 [thread overview]
Message-ID: <3bbc18d20610011214y6132d98eq9cd58b23721bb87d@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.63.0610012105590.14200@wbgn013.biozentrum.uni-wuerzburg.de>
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.
I symlinked only the top-level things in .git, not the individual
files inside them. That is to say, B/.git/objects is a symlink to
A/.git/objects, B/.git/refs is a symlink to A/.git/refs, etc. In
fact, this is necessary for A to see objects and refs written through
B.
Matt
next prev parent reply other threads:[~2006-10-01 19:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-01 19:03 Multiple checkouts of the same repository Matt McCutchen
2006-10-01 19:08 ` Johannes Schindelin
2006-10-01 19:14 ` Matt McCutchen [this message]
2006-10-01 19:17 ` Johannes Schindelin
2006-10-01 21:04 ` Matt McCutchen
2006-10-02 10:16 ` Johannes Schindelin
2006-10-03 2:52 ` Daniel Barkalow
2006-10-03 7:59 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3bbc18d20610011214y6132d98eq9cd58b23721bb87d@mail.gmail.com \
--to=hashproduct+git@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).