threads / discuss / 35541

Setup Git Server Over HTTP: fatal info/refs

Subject: Setup Git Server Over HTTP: fatal info/refs

## tl;dr

One message between Dec 17, 2013 and Dec 17, 2013.

replies: 0people: 1as markdown or json

Zachary Steven Young· Dec 17, 2013, 20:20 UTC · lore
Hi, all,
Thank you for that wonderful document, it worked flawlessly for CentOS 6.4 with one exception:
> [Tue Dec 17 12:07:42 2013] [error] [client 10.2.32.197] File does not exist: /var/www/html/gpu-code.git/info/refs
I did some searching and found this StackOverflow answer:
> fatal: https://github.com/username/repository-name.git/info/refs not found: did you run git update-server-info on the server?
only my client (git version 1.8.3.4 (Apple Git-47)) did not suggest `update-server-info’.
Running `git update-server-info’ after `git --bare init’ worked and I can now push over HTTP.
Show 5 quoted lines
> yum list git httpd
> ...
> Installed Packages
> git.x86_64                                            1.7.1-3.el6_4.1                                          @rhel-x86_64-server-6
> httpd.x86_64                                          2.2.15-28.el6_4                                          @rhel-x86_64-server-6
Thank you, again!
-Zachary

← back to recent threads