On Thu, 31 Mar 2011 09:01:13 -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.
> Well here is what i have done:
> cd webstore
> git init
> 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
> the warning:
> "warning: remote HEAD refers to nonexistent ref, unable to checkout."
> So i know my project is not empty...
Okay, so may it be that the problem is rooted in that you have to jump
through a set of hoops to make "dumb" protocols like HTTP work ?
I think you could try to verify this hypothesis immediately by
attempting to clone via file:// protocol on that same host.
Please don't top-post, it sucks big time.
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