Re: Why is git clone not checking out files?
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Jan 30, 2007, 19:09 UTC
- Message-ID
- <20070130190907.GE26415@spearce.org>
- In-Reply-To
- <17855.38543.761930.929267@lisa.zopyra.com>
Bill Lear <rael@zopyra.com> wrote:
Show 12 quoted lines
> % 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.