【问题标题】:Git doesn't find repositoryGit找不到存储库
【发布时间】:2011-07-16 21:39:49
【问题描述】:

我在服务器上设置了一个 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 中的设置步骤?

干杯

【问题讨论】:

    标签: linux git version-control ubuntu gitosis


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2012-08-11
      • 2016-10-15
      • 2018-12-09
      • 2022-10-23
      • 1970-01-01
      • 2020-06-28
      • 2021-02-27
      • 2015-05-26
      • 2017-11-15
      相关资源
      最近更新 更多