From: Gary Yang <garyyang6@yahoo.com>
To: git@vger.kernel.org
Subject: fatal: did you run git update-server-info on the server? mv post-update.sample post-update
Date: Wed, 19 Nov 2008 10:59:41 -0800 (PST) [thread overview]
Message-ID: <155056.88492.qm@web37905.mail.mud.yahoo.com> (raw)
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 reply other threads:[~2008-11-19 19:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 18:59 Gary Yang [this message]
2008-11-20 11:05 ` fatal: did you run git update-server-info on the server? mv post-update.sample post-update Johannes Schindelin
2008-11-20 21:25 ` Gary Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=155056.88492.qm@web37905.mail.mud.yahoo.com \
--to=garyyang6@yahoo.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.