java - Egit 找不到私有(private) GitHub 存储库

标签 java eclipse git github egit

我刚刚注册了 GitHub 微型计划并创建了我的第一个私有(private)存储库:

https://github.com/myproj/repo.git

(这不是真正的 URL)。然后,我安装了 Egit for Eclipse (Juno),重新启动,并尝试导入 repo.git。当我这样做时,我从 Eclipse 收到传输错误。以下是我解决此问题所采取的具体步骤:

下载eclipse:

enter image description here

安装 Egit:

enter image description here

从 GitHub 导入项目:

enter image description here

当我尝试搜索我的存储库时,Eclipse 说未找到:

enter image description here

通过Git Repository Exploring 视角再试一次:

enter image description here

“传输错误”:?!?!

enter image description here

作为 Git、EGit 和 GitHub 的新手,我想知道是否发生了以下情况:

  1. 我是否需要从我的 GitHub 帐户/存储库中执行某些操作(例如,打开某些内容、调整设置等)以使其可以从 EGit 内部“搜索”?也许是 SSH key ?
  2. 我需要以某种方式配置 Egit 吗?
  3. 我的处理方式完全错误吗?

底线是:我相信这是安装 Eclipse 和 EGit 的“正常”方式,所以我很困惑为什么这不起作用。我想知道 EGit 和私有(private)存储库是否存在错误?提前致谢。

最佳答案

您还可以尝试窗口 > 打开透视图 > Git 存储库探索右键单击 > 粘贴存储库路径

关于java - Egit 找不到私有(private) GitHub 存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14799916/

相关文章:

java - 用于在 Android 应用程序中检查互联网连接的广播接收器

java - 类未找到异常

java - 如何管理登录用户页面标题

android - onTouch 覆盖 - Eclipse 中的错误消息

Git 恢复然后提交,但希望在恢复之前保留修订

svn - 如何在 git 中跟踪多个 svn 分支

java - 在Java中读取.Z文件(unix压缩文件)

eclipse - 有没有办法让 Eclipse 在耗时的任务完成后闪烁其任务栏图标?

java - Visual Studio 构建配置的 Eclipse 等价物是什么?

php - Capistrano 上传 .git 目录