From: Junio C Hamano Date: Tue, 13 Nov 2007 18:41:39 GMT Subject: Re: Cloning empty repositories, was Re: What is the idea for bare repositories? Message-ID: <7vir46t2cc.fsf@gitster.siamese.dyndns.org> In-Reply-To: Matthieu Moy writes: > To create an initial commit in a bare repository, the most natural way > for me is to clone it, create the commit in the clone, and then push. > > Bare-ness _does_ matter for that. You are still wrong. The most natural is to create a commit in a non-bare repository you create, and push into a bare empty repository. The repository that is pushed into can be non-bare, but bareness of that does _NOT_ matter. Where bareness matters is on your end, the local private repository you create the initial commit in.