gpt4 book ai didi

Gitolite git克隆错误

转载 作者:太空狗 更新时间:2023-10-29 13:04:56 28 4
gpt4 key购买 nike

我正在尝试在我的服务器(Macos 服务器)上设置 gitolite。

我按照此处找到的安装文档中的说明进行操作: 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

根据安装说明,我应该能够 check out 存储库。

但是当我尝试克隆 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 文件。

关于Gitolite git克隆错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5041067/

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