时间:2011-07-16 21:39:49

标签: linux git version-control ubuntu gitosis

我在服务器上设置了git存储库:

andy@ubuntu:/home/git/repositories$ ls
gitosis-admin.git GoGoFlow.git
andy@ubuntu:/home/git/repositories$ pwd
/home/git/repositories

一切都很好,花花公子。

然后我来到一台新机器 - 我以前没用过git 我手动将我的机器公钥添加到gitosis项目的export_dir / keydir中

并输入:

git clone git@novo.dyndns.tv:GoGoFlow
Cloning into GoGoFlow...
git@novo.dyndns.tv password:<passwd>
fatal: GoGoFlow.git does not appear to be a git repository
fatal: The remote end hung up unexpectedly

我是否错过了我的新git安装中的设置步骤 Windows 7

干杯

1 个答案:

答案 0 :(得分:2)

当你说“手动添加我机器的公钥”时,我认为你的意思是直接在gitosis安装。这不起作用。你必须通过克隆gitosis-admin项目来管理gitosis。 gitosis安装将引导您完成此设置。另外,我推荐gitolite超过gitosis。 Ubuntu有一个gitolite作为apt包。