fatal: http://myserverip/home/git/example.git/info/refs not found: did you run git update-server-i

Posted by bobobobo on Server Fault See other posts from Server Fault or by bobobobo
Published on 2010-02-19T18:00:55Z Indexed on 2010/04/07 2:03 UTC
Read the original article Hit count: 539

Filed under:
|

I followed this example to set up a git repository on my server. It worked, and I successfully pushed my code to it.

But now, how do I pull or clone?

Using the docs, I tried

git clone http://REMOTE_SERVER/home/git/example.git

.. But for me, I'm getting:

fatal: http://myserverip/home/git/example.git/info/refs not found: did you run git update-server-info on the server?

I ran git-update-server info, but nothing changed

Edit:

Ah, hold on. I changed it to git clone ssh://REMOTE_SERVER/home/git/example.git and I'm getting something.. it wants my user/pass, but how do I make the server public then not requiring login?

© Server Fault or respective owner

Related posts about git

Related posts about clone