Re: Why is git clone not checking out files?

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2007-01-31 05:41:03
On Tue, 30 Jan 2007, Bill Lear wrote:
> 
> % cd /repos/git/project
> % ls
> branches  description  HEAD   info     refs
> config    FETCH_HEAD   hooks  objects  remotes
> % cat HEAD
> ref: refs/heads/master

Ok, HEAD points to "master".

> This repository was created like this:
> 
> % mkdir /repos/git/project
> % cd /repos/git/project
> % git --bare init-db --shared
> % GIT_DIR=. git fetch git://xiphi/public/project topic:topic

...but you don't _have_ any such branch. You only have a "topic" branch.

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Jan 31 05:41:25 2007

This archive was generated by hypermail 2.1.8 : 2007-01-31 05:43:13 EST