![示例](https://istack.dev59.com/r7HSD.webp)
git://af-blackpearl.site
git:af-blackpearl.site:myproject
在其他情况下,我会尝试(并且我可以点击“下一步”按钮):
git:af-blackpearl.site/myproject[.git] (with or without extension)
但是,我得到了:
Cannot list the available branches.
Reason:
git:af-blackpearl.site/rest-server:ProxyHTTP: java.io.IOException:
proxy error: Service Unavailable
当我尝试执行以下操作时:
git://af-blackpearl.site/myproject[.git] (with or without extension)
git://af-blackpearl.site/
我经常会得到类似以下的内容:
我总是得到这样的东西:
Cannot list the available branches.
Reason:
git://af-blackpearl.site/myproject: Connection refused
感谢您提供的任何建议。
有用的背景信息:
- 使用 gitolite 管理 Git。 - Linux 主机上的 Git 远程。 - 我的“客户端”主机是运行 Eclipse Helios 的 Linux。 - 一直在使用命令行使用 Git,效果很好。
这个问题专门涉及使用 EGit(Eclipse 插件)对话框。它不是关于 Git、使用 Git 或安装插件的问题——这些都似乎没有问题。简单地说,我长期以来一直在使用命令行使用 Git,现在只是想尝试使用 Eclipse-Git 集成。
在 /etc/hosts 中,我有一行:
xxx.xxx.xxx.xxx af-blackpearl.site
针对我们本地Git远程仓库。虽然我通过gitolite-admin项目管理Git,但我想在af-blackpearl.site上克隆的项目(物理文件系统)路径为
/home/git/repositories/myproject.git
从命令行中,我通常使用以下命令从origin克隆该项目,并且一直保持成功:
$ git clone git:af-blackpearl.site:myproject
尽管查看了EGit(由Google托管)文档并进行了大量搜索,但我仍然无法将其适应于EGit Clone Git存储库对话框(通过以下方式到达):
File -> Import... -> Git -> Projects from Git -> Clone
连接远程服务器:
russ@russ-elite-book:~> ssh git@af-blackpearl.site
PTY allocation request failed on channel 0
hello russ, the gitolite version here is v2.0.1-2-g836faf9
the gitolite config gives you the following access:
R W NavigationServlet
R W gitolite-admin
R W ivysample
R W myproject
R W seam-catch
Connection to af-blackpearl.site closed.