git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git remote repo using http

From
Iin-gitvger@baka.org <in-gitvger@baka.org>
Date
Feb 18, 2011, 18:40 UTC
Message-ID
<201102181840.p1IIewCp027093@no.baka.org>
In-Reply-To
<4D5EAC34.3060504@anorasolutions.com>
    -----------[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
Previous: chris
Message 2 of 2 in “git remote repo using http”
  1. chrisFeb 18, 2011
  2. in-gitvger@baka.orgFeb 18, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.