From: Felipe Balbi <felipe.balbi@nokia.com>
To: ext Jeff Garzik <jeff@garzik.org>
Cc: "Balbi Felipe (Nokia-D/Helsinki)" <felipe.balbi@nokia.com>,
Junio C Hamano <gitster@pobox.com>,
"git@vger.kernel.org" <git@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [ANNOUNCE] GIT 1.6.4.rc1
Date: Thu, 16 Jul 2009 10:21:30 +0300 [thread overview]
Message-ID: <20090716072130.GH5256@nokia.com> (raw)
In-Reply-To: <4A5ED41F.5010502@garzik.org>
On Thu, Jul 16, 2009 at 09:17:51AM +0200, ext Jeff Garzik wrote:
> Felipe Balbi wrote:
> > On Thu, Jul 16, 2009 at 08:43:21AM +0200, ext Jeff Garzik wrote:
> >> Junio C Hamano wrote:
> >>> Jeff Garzik <jeff@garzik.org> writes:
> >>>
> >>>> Is there some sort of guide to the new best practices for handling
> >>>> trees such as git.kernel.org, where one pushes into "foo.git"
> >>>> directly, and there is no checked-out source code at all?
> >>> I think old repositories will be helped if you add
> >>>
> >>> [core]
> >>> bare
> >>>
> >>> to their foo.git/config files.
> >> Thanks. What about cloning new repositories? Real world example:
> >>
> >> Local workstation has /spare/repo/cld/.git repository, with checked-out
> >> working tree.
> >>
> >> I want to publish this tree to the world via a *.kernel.org-like system,
> >> so my task is to
> >>
> >> scp -r /spare/repo/cld/.git remote.example.com:/pub/scm/cld.git
> >>
> >> but if I do this with scp, then future pushes to
> >> remote.example.com:/pub/scm/cld.git emit the warning about updating the
> >> currently checked-out branch -- even though there are no checked-out
> >> files. The checked-out files were not copied in the scp.
> >
> > how about you create the bare repository on the kernel.org-like server
> > and then push cld to it ?
>
> You mean use 'git init-db', like this?
>
> 1) remote: cd /pub/scm ; mkdir cld.git ; GIT_DIR=cld.git git init-db
>
> 2) local: cd /spare/repo/cld ; git push --force --all \
> remote.ex.com/pub/scm/cld.git
>
> I suppose that would work...
yes, exactly :-)
--
balbi
next prev parent reply other threads:[~2009-07-16 7:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 0:57 [ANNOUNCE] GIT 1.6.4.rc1 Junio C Hamano
2009-07-16 3:51 ` Tommy Nordgren
2009-07-16 7:37 ` Mike Ralphson
2009-07-17 15:16 ` Tommy Nordgren
2009-07-16 3:59 ` Jeff Garzik
2009-07-16 6:31 ` Junio C Hamano
2009-07-16 6:43 ` Jeff Garzik
2009-07-16 6:45 ` Jeff Garzik
2009-07-16 6:48 ` Felipe Balbi
2009-07-16 7:17 ` Jeff Garzik
2009-07-16 7:21 ` Felipe Balbi [this message]
2009-07-16 6:55 ` Junio C Hamano
2009-07-16 7:15 ` Jeff Garzik
2009-07-16 7:27 ` Junio C Hamano
2009-07-16 20:19 ` Jeff Garzik
2009-07-16 6:55 ` [ANNOUNCE] " Nicolas Sebrecht
2009-07-18 23:05 ` [ANNOUNCE] " Nanako Shiraishi
2009-07-19 0:19 ` Junio C Hamano
2009-07-19 14:45 ` Nanako Shiraishi
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=20090716072130.GH5256@nokia.com \
--to=felipe.balbi@nokia.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jeff@garzik.org \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.