Re: git remote repo using http

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    -----------[code]-----------
    $ git clone http://website.com/public_fpt/repos/proj.git
    Cloning into proj ...
    fatal: http://website.com/public_ftp/repos/proj.git/info/refs not found: 
    did you run the git update-server-info on the server?
    -----------[/code]--------------

This is a sign that you are using the dumb http protocol instead of
the new smart one.  You do NOT need to run update-server-info.  You
*are* trying to use the smart protocol (which typically requires web
server reconfiguration), right?

First, make sure you are running a modern version of git.  1.7.4.1
recommended but the smart backend was introduced in 1.6.6

Then check out the web server logs for clues or otherwise strace to
make sure the directory you think it should be using is actually the
directory it is using is good--often times the web server translation
is a bit subtle..

Rerun:

GIT_TRACE=2 GIT_CURL_VERBOSE=1 git clone http://website.com/public_fpt/repos/proj.git

I'll assume fpt is not a misspelled ftp here.

When you `ls` the git directory on the server, do you see the config
and info and objects directory, or do you see something else?

					-Seth Robertson
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]