gpt4 book ai didi

linux - 推送到服务器时的 Gitolite 错误

转载 作者:太空狗 更新时间:2023-10-29 11:22:33 26 4
gpt4 key购买 nike

我有一个带有 Git 和 Gitolite 的 Linux 服务器。直到现在,总是工作正常,但从昨天开始我遇到了问题。我可以连接并 pull 我的存储库,但是当我推送时,我遇到了这些类型的错误:

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@myhost.com:/home/git/repositories/gitolite-admin.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git@myhost.com:/home/git/repositories/gitolite-admin.git'

我迷路了...你能帮帮我吗?谢谢

最佳答案

Empty compile time value”是典型的绕过 gitolite 的 url。

你用过:

git@myhost.com:/home/git/repositories/gitolite-admin.git

但你应该使用:

git@myhost.com:gitolite-admin

有关更多信息,请参阅“git, gitolite error push”。

关于linux - 推送到服务器时的 Gitolite 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16820687/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com