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

Cannot git pull using http from my git.mycompany.com

From
GYGary Yang <garyyang6@yahoo.com>
Date
Nov 21, 2008, 01:13 UTC
Message-ID
<562019.27220.qm@web37908.mail.mud.yahoo.com>

git pull http://git.mycompany.com/pub/git/u-boot.git HEAD fatal: http://git.mycompany.com/pub/git/u-boot.git/info/refs not found: did you run git update-server-info on the server?

Below are related gitweb configs. What did I do wrong?
httpd.confg
<VirtualHost 10.66.4.168>
    ServerName svdcgit01
     DocumentRoot /pub/git
     <Directory /var/www/cgi-bin>
          Allow from all
          AllowOverride all
          Order allow,deny
          Options ExecCGI
          <Files gitweb.cgi>
               SetHandler cgi-script
          </Files>
     </Directory>
     DirectoryIndex /cgi-bin/gitweb.cgi
     SetEnv  GITWEB_CONFIG  /etc/gitweb.conf
#       RewriteEngine on
#       RewriteRule ^/(.*\.git/(?!/?(HEAD|info|objects|refs)).*)?$ /cgi-bin/gitweb.cgi%{REQUEST_URI}  [L,PT]

cat /etc/gitweb.conf # path to git projects (<project>.git) $projectroot = "/pub/git";

# directory to use for temp files $git_temp = "/tmp";

# target of the home link on top of all pages $home_link = $my_uri;

# html text to include at home page $home_text = "indextext.html";

# file with project list; by default, simply scan the projectroot dir. $projects_list = $projectroot;

# stylesheet to use $stylesheet = "/gitweb/gitweb.css";

# logo to use #$logo = "/git-logo.png"; $logo = "/gitweb/git-logo.png";

# the 'favicon' $favicon = "/gitweb/git-favicon.png";

$projects_list_description_width = 60; #$feature{'pathinfo'}{'default'} = [1];

      
Next: David Symonds
Message 1 of 6 in “Cannot git pull using http from my git.mycompany.com”
  1. Gary YangNov 21, 2008
  2. David SymondsNov 21, 2008
  3. Gary YangNov 21, 2008
  4. Andreas EricssonNov 21, 2008
  5. Gary YangNov 21, 2008
  6. Andreas EricssonNov 22, 2008

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.