[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A5ECC93.1050602@garzik.org>
Date: Thu, 16 Jul 2009 02:45:39 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Junio C Hamano <gitster@...ox.com>
CC: git@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [ANNOUNCE] GIT 1.6.4.rc1
Jeff Garzik wrote:
> 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.
IOW -- do I just edit the config for this case too, or is there some
'git clone --bare' magic that can work across ssh, as shown above?
It is easy to clone -from- a remote, but not so easy to clone -to- a
new, bare remote.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists