Well here is what i have done:
git add .
git commit -a -m "initial commit"
Then i go to git.mydomain.com and gitweb displays: "webstore/.git" and
when i try to clone it:
from remote client: git clone http://git.mydomain.com/webstore i get
"warning: remote HEAD refers to nonexistent ref, unable to checkout."
So i know my project is not empty...
On Mar 31, 10:44 am, Konstantin Khomoutov
> On Thu, 31 Mar 2011 07:45:01 -0700 (PDT)
> romerve <rome...@gmail.com> wrote:
> > I am new to Git and been using SVN for a little while. I have set up
> > Git and i am trying to clone a project via http and i am getting:
> It seems you failed to paste what you're getting.
> > I also setup gitweb to see my projects via browser, everything is
> > working except for 2 things.
> > 1.- when i do: git init to any folder, gitweb shows the new project
> > but it shows it as "proj/.git" instead of just "proj"
> > and 2.- when i try to do: git clonehttp://git.mydomain.com/proj i
> > get: "warning: remote HEAD refers to nonexistent ref, unable to
> > checkout."
> Most probably this happens because you've attempted to clone an empty
> repository, that is, a repository without any commits recorded yet.
> The explanation of why this happens is at . I'm also quite
> confident the first problem (with gitweb's display of such
> repositories) exists due to the same reason.
> > I need to use http as we are implementing LDAP auth and the easiest
> > way is to use apche2 for this.
> You should be aware that HTTP is beleived to be much inferior to the
> Git's built-in protocol so may be you should consider setting up
> gitolite + LDAP  and use conventional SSH+git protocol combo.
> Googling for "gitolite+ldap" also yields  but I dunno if it
> applies, possibly you could do a similar research yourself.
> (And no, I did not do this kind of setup myself.)
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at