我正在尝试在我的服务器(Macos 服务器)上设置 gitolite。
我按照此处找到的安装文档中的说明进行操作:http://sitaramc.github.com/gitolite/doc/1-INSTALL.html http://sitaramc.github.com/gitolite/doc/1-INSTALL.html
我是用root方法安装的。
我完成了所有设置(ssh pubkey 身份验证和默认 gitolite 设置)
$ssh git@server info
hello admin, the gitolite version here is v1.5.9.1-27-gb97115f
the gitolite config gives you the following access:
R W gitolite-admin
@R_ @W_ testing
根据安装说明,我应该能够签出存储库。
但是当我尝试克隆 gitolite-admin 存储库时,出现错误:
$ git clone git@server:gitolite-admin
Cloning into gitolite-admin...
Assertion failed: (argv0_path), function system_path, file exec_cmd.c, line 27.
error: git-shell died of signal 6
fatal: The remote end hung up unexpectedly
我得到了最新的 git 版本的 gitolite 和 git v. 1.7.3.4
有谁能够帮助我?
编辑1:在错误消息之前添加 git clone 命令
看来此错误的正确修复方法是添加
$ENV{GIT_EXEC_PATH} = "/usr/libexec/git-core";
到您的 .gitolite.rc 文件。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)