From: Shawn O. Pearce Date: Tue, 30 Jan 2007 19:09:07 GMT Subject: Re: Why is git clone not checking out files? Message-ID: <20070130190907.GE26415@spearce.org> In-Reply-To: <17855.38543.761930.929267@lisa.zopyra.com> Bill Lear wrote: > % cd /repos/git/project > % GIT_DIR=. git branch > topic > > And then, tried it all again: > > % cd .. > % rm -rf project > % mkdir project > % cd project > % git --bare clone --shared > % GIT_DIR=. git fetch git://source/public/project You did not ask for a tracking branch to be created. So the result of your fetch is in FETCH_HEAD only. Try instead: GIT_DIR=. git fetch git://source/public/project topic:refs/heads/master -- Shawn.