【发布时间】:2012-10-25 14:49:03
【问题描述】:
大家下午好,
备份了几个旧的 git 存储库,并且正在将它们添加到已知的 gitlab 安装中。安装看起来像这里的指南https://github.com/gitlabhq/gitlabhq/wiki/VirtualBox-Image
当像这样添加一个新的origin remote时;
git remote add origin git@1.2.3.4:project.git
并尝试推送我得到以下信息
fatal: 'project.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Gitlab 安装运行正常,可通过 HTTP 和 SSH 从 LAN 访问。
gitlab status 任务也正常返回
bundle exec rake gitlab:app:status RAILS_ENV=production
有人知道我现在应该去哪里看吗?被难住了。
编辑。
SSH 密钥存在
我也尝试使用 ssh://git@example.com/usr/local/project.git 样式添加 git 存储库
【问题讨论】: