gpt4 book ai didi

linux - Git 找不到存储库

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:28:55 26 4
gpt4 key购买 nike

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

干杯

最佳答案

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

关于linux - Git 找不到存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6720418/

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