Re: Why is git clone not checking out files?
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Jan 30, 2007, 18:22 UTC
- Message-ID
- <20070130182237.GC26415@spearce.org>
- In-Reply-To
- <17855.35845.922009.364704@lisa.zopyra.com>
Bill Lear <rael@zopyra.com> wrote:
Show 9 quoted lines
> Ok, well, I certainly did not issue git clone --bare, it was just a > plain ol' clone: > > % git clone /repos/git/project > > and no checkout ensued. Can I fix this somehow? I've tried the clone > several times with no success. Is there anything I can check in the > source repo (the above /repos/git/project) to see why it would not be > working?
I've seen this happen if HEAD in the source repository does not point at a branch, or points at a commit which doesn't exist. Though I usually also see an error about how HEAD isn't a valid object name...
-- Shawn.