hyg_123
hyg_123
2017-01-18 06:35

gitolite git push (testing 测试)

  • git
  • testing
  • 服务器

你好,我自己搭建的git服务器,刚开始没用gitolite这个工具,现在我按照你说的步骤把这个装上了,但是测试的时候一直出问题,执行git push出问题(测试时用的 repositories文件夹下的testing.git):
hyg@u-server:~/workspace$ git push origin master
git@gitserver's password:
Counting objects: 152, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (111/111), done.
Writing objects: 100% (152/152), 13.82 KiB | 0 bytes/s, done.
Total 152 (delta 36), 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 (you may need to install the Gitolite::Hooks::Update module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /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@gitServer:/home/git/repositories/testing
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git@gitServer:/home/git/repositories/testing'
hyg@u-server:~/workspace$
请问这是什么问题呀?

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答