Re: Cloning empty repositories, was Re: What is the idea for bare repositories?
- From
Nicolas Pitre <nico@cam.org>
- Date
- Nov 12, 2007, 18:16 UTC
- Message-ID
- <alpine.LFD.0.9999.0711121309400.21255@xanadu.home>
- In-Reply-To
- <Pine.LNX.4.64.0711121751100.4362@racer.site>
On Mon, 12 Nov 2007, Johannes Schindelin wrote:
Show 14 quoted lines
> Hi, > > On Mon, 12 Nov 2007, Nicolas Pitre wrote: > > > On Mon, 12 Nov 2007, Johannes Schindelin wrote: > > > > > Last time I checked, those geneticists did not clone thin air. They > > > always waited until they had something to clone. > > > > But we're not geneticists, and I think the above usage should "just work > > (tm)". > > I am still convinced that it is not very intelligent to start your > development from a non-existing branch.
Well, that's an orthogonal question and I'm not providing any opinion about that.
> But since you're one of the people knowing git _internals_ pretty well, > here's another reason just for you why this cannot be done: There is no > way to find out where the HEAD points to.
So? Why couldn't you just do the 'git remote add' dance implicitly in that case anyway?
Nicolas