git/gitolite推送问题 - 目录不允许
正确(我希望)gitolite的安装后,我克隆gitolite管理存储库到我的本地电脑。不幸的是,当我试图推动修改到服务器,我收到以下错误:git/gitolite推送问题 - 目录不允许
[[email protected] gitolite-admin]$ git push origin master Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 349 bytes, done.
Total 4 (delta 1), reused 0 (delta 0)
remote: Directory /var/lib/gitolite not allowed in require at /usr/lib/perl5/vendor_perl/5.8.8/gitolite_rc.pm line 42.
remote: Compilation failed in require at hooks/update line 23.
remote: BEGIN failed--compilation aborted at hooks/update line 23.
remote: error: hook declined to update refs/heads/master
To my.server:/var/git/repos/gitolite-admin.git
![remote rejected] master -> master (hook declined)
error: failed to push some refs to my.server:/var/git/repos/gitolite-admin.git
有谁知道什么是这个问题的原因是什么? 非常感谢您的帮助。
彼得
回答:
至于评论,安装Gitolite V3 or g3避免了什么是在更新钩Gitolite G2错误。
在Gitolite G3,它仍然保留update
挂钩,但提供VREFS,让你写的所有排序的其他“更新”挂钩的回购协议。
以上是 git/gitolite推送问题 - 目录不允许 的全部内容, 来源链接: utcz.com/qa/265290.html