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

fatal: did you run git update-server-info on the server? mv post-update.sample post-update

From
GYGary Yang <garyyang6@yahoo.com>
Date
Nov 19, 2008, 18:59 UTC
Message-ID
<155056.88492.qm@web37905.mail.mud.yahoo.com>

The doc, http://www.kernel.org/pub/software/scm/git/docs/gitcore-tutorial.html, at the the section, "Working with Others" says that mv post-update.sample post-update under the $GIT_DIR/hooks directory for the public repository. I did that. The file permission is executable.

ls -alF /pub/git/u-boot.git/hooks/post-update -rwxr-xr-x 1 garyyang6 engr 189 Nov 18 15:54 /pub/git/u-boot.git/hooks/post-update*

But, I got error, "did you run git update-server-info on the server" when I tried to "git pull". Any idea why I got this error?
I did not run post-update at public repository manually. Do I need to run it for the very first time?

At my private repository, I did: git pull http://git01.my.com /pub/git/u-boot.git HEAD fatal: http://git01.my.com/info/refs not found: did you run git update-server-info on the server?

Thank you,
Gary
      
Next: Johannes Schindelin
Message 1 of 3 in “fatal: did you run git update-server-info on the server? mv post-update.sample post-update”
  1. Gary YangNov 19, 2008
  2. Johannes SchindelinNov 20, 2008
  3. Gary YangNov 20, 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.