From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Steffen Prohaska <prohaska@zib.de>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: easy repository initialization that turned out not to be that easy
Date: Wed, 25 Jul 2007 21:15:29 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707252112250.14781@racer.site> (raw)
In-Reply-To: <0EAD32C5-11DA-4B99-919D-87C0006A389C@zib.de>
Hi,
On Wed, 25 Jul 2007, Steffen Prohaska wrote:
> Cloning it to shared doesn't work either because the meaning of
> 'git-clone --bare --shared' is different from 'git-init --shared'.
Yes, I lamented on that already. But we cannot change that. Too many
users.
> mkdir shared.git
> cd shared.git
> git --bare init --shared
>
> and tried to naively fetch all by executing
>
> git fetch ../private.git
Almost. "git fetch" does not store anything by default, so you have to do
something like
$ git config remote.origin.url ../private.git
$ git config remote.origin.fetch 'refs/*:refs/*'
$ git fetch
Eventually, I would like that to be available with
$ git remote add --mirror fetch ../private.git
If nobody beats me to it, I'll do it later today.
Ciao,
Dscho
prev parent reply other threads:[~2007-07-25 20:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-25 20:05 easy repository initialization that turned out not to be that easy Steffen Prohaska
2007-07-25 20:15 ` Johannes Schindelin [this message]
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=Pine.LNX.4.64.0707252112250.14781@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=prohaska@zib.de \
/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).