From: Matthieu Moy Date: Mon, 12 Nov 2007 16:41:57 GMT Subject: Re: Cloning empty repositories, was Re: What is the idea for bare repositories? Message-ID: In-Reply-To: Johannes Schindelin writes: > Hi, > > On Mon, 12 Nov 2007, Jan Wielemaker wrote: > >> I found out that cloning a empty bare repository produces nothing at >> all, [...] > > If they are empty, what exactly do you mean to clone? I'd expect an empty repository, with the git remote configured correctly. I already mentionned this here (but didn't take time to write a patch), a typical use-case is when I want to create a new project. I'd like to initialize an empty bare repo on my backed up disk, and then clone it to my local-fast-unreliable disk to get a working copy and do the first commit there. Currently, I have to create both independantly, and configure the remote myself. Not terrible, but not conveinient either ;-). -- Matthieu