Re: git clone through http bug?
- From
David Symonds <dsymonds@gmail.com>
- Date
- Feb 14, 2008, 17:36 UTC
- Message-ID
- <ee77f5c20802140936y28be9b39i59753af66e1a5e36@mail.gmail.com>
- In-Reply-To
- <873arvv479.fsf@osv.gnss.ru>
On Thu, Feb 14, 2008 at 9:27 AM, Sergei Organov <osv@javad.com> wrote:
Show 7 quoted lines
> Hello, > > I've just cloned the public repo (it's rather small): > > $ git clone http://ydirson.free.fr/soft/git/cvsps.git > > and it has created cvsps/.git, but no working copy.
That's because the remote side doesn't have a HEAD. Just run "git checkout --track -b master origin/master" to create a local branch the tracks the origin/master branch.
Dave.