Gitolite拒绝从新添加的回购推动

时间:2012-12-28 05:47:08

标签: git gitolite githooks

我在我的gitolite.conf文件中添加了一个新的存储库,并试图从客户端PC上推送。我收到此错误消息:

Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (8/8), 692 bytes, done.
Total 8 (delta 1), reused 0 (delta 0)
remote: Empty compile time value given to use lib at hooks/update line 6
remote: Use of uninitialized value in require at hooks/update line 7.
remote: Can't locate Gitolite/Hooks/Update.pm in @INC (@INC contains:  /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at hooks/update line 7.
remote: BEGIN failed--compilation aborted at hooks/update line 7.

remote: error: hook declined to update refs/heads/master
To git@server IP:repositories/gitolite-admin
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git@server IP:repositories/gitolite-admin'

有人可以帮我解决这个问题吗?

1 个答案:

答案 0 :(得分:-1)

RTMF。 http://sitaramc.github.com/gitolite/qi.html 你可以做git clone git@host:gitolite-admin.git。这条路上的repositories/在哪里?