【发布时间】:2014-02-18 03:05:07
【问题描述】:
我正在使用 Gitorious(Ubuntu 12.04 上的 Ruby+rails)。
因为我最近无法通过WEB登录,所以我使用了一些rake命令清除了一些缓存。 很抱歉我不记得是哪个命令了。
在那之后,我无法从本地存储库推送到远程存储库。 似乎每个存储库都不起作用。
错误是这样的:
root@gitclient:~/test# git clone git@gitserver:foo/foo_web.git
Cloning into 'foo_web'...
== Gitorious: ==========================================================
Access denied or wrong repository path
========================================================================
gitorious 的 Web 应用程序运行良好,并且在 gitserver 中,存储库的源代码仍然存在。
我认为存储库索引出了点问题。
有人可以告诉我如何调试或修复它吗?
更新:
使用公钥进行 SSH 访问
root@gitclient:~# ssh git@gitserver
PTY allocation request failed on channel 0
Welcome, userfoo. Use git to push/pull your repositories
Connection to gitserver closed.
root@gitclient:~#
文件系统中的服务器端 git clone 工作
root@gitserver:~/test# git clone file://localhost//repositories/foo/bar_src.git
Cloning into 'bar_src'...
【问题讨论】:
标签: ruby-on-rails ruby git ubuntu gitorious