推送gitlab时出现符号链接问题

时间:2013-10-08 11:33:21

标签: git push symlink gitlab

推送gitlab project repo时遇到了一些问题。当我运行git push -u origin master让我们说一个远程仓库/Users/home/repositories/root/other.git时,我得到了这个输出:

remote: hooks/update:10: undefined method `require_relative' for main:Object (NoMethodError)
remote: error: hook declined to update refs/heads/master

我认为它可能来自符号问题。因为,我在update内有post-receive/Users/home/repositories/root/other.git个文件,当我删除它们并将符号链接到/Users/home/gitlab-shell/hooks/update/Users/home/gitlab-shell/hooks/post-receive时,当我再次运行时,我有同样的错误,updatepost-receive文件会再次显示在/Users/home/repositories/root/other.git下。有人可以帮忙吗?

0 个答案:

没有答案