我正在尝试在我的服务器上设置gitolite(Macos服务器).
我按照此处的INSTALL文档中的说明进行操作: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
Run Code Online (Sandbox Code Playgroud)
根据安装说明,我应该能够检查存储库.
但是当我尝试克隆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
Run Code Online (Sandbox Code Playgroud)
我得到了最新的git版本的gitolite和git v.1.7.3.4
有谁能够帮我?
编辑1:在错误消息之前添加了git clone命令
不可否认,我是一个完整的Linux新手.我可以让Apache Web服务器启动并运行,但在深入研究时会完全丢失,例如设置权限和安全性.
无论如何,我正在研究用于集中式GIT存储库的简单自托管解决方案,因此想要检查是否存在类似于subversion edge的内容,其中所有管理(管理用户和存储库)都可以通过Web界面完成.
是否有这样的事情来管理中央GIT服务器?计划通过http(s)运行中央存储库,并为每个用户提供基本身份验证(用户名和密码).