git 我刚刚在 Eclipse 上安装了 EGit——但它在哪里?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6625853/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 05:40:05  来源:igfitidea点击:

I just installed EGit on Eclipse -- but Where is it?

eclipsegiteclipse-pluginegit

提问by Android Eve

I just installed the EGit plugin for Eclipse, restarted Eclipse and it shows well in the Installed Software list but... I can't find any added menus or access to its features?

我刚刚为 Eclipse 安装了 EGit 插件,重新启动了 Eclipse,它在“已安装的软件”列表中显示得很好,但是...我找不到任何添加的菜单或无法访问其功能?

What am I missing?

我错过了什么?

To prove that I am not hallucinating here is a screenshot of the list:

为了证明我没有出现幻觉,这里是列表的截图:

EGit is there!

EGit在那里!

But there is no hint or clue in any of the menus, menu items, perspectivesor viewsthat it's there...

但是在任何菜单菜单项视角视图中都没有任何提示或线索表明它的存在......

No sign in menus: enter image description here

无登录菜单: 在此处输入图片说明

No sign in projects:

无签到项目:

enter image description here

在此处输入图片说明

No sign in perspectives:

无签到观点:

enter image description here

在此处输入图片说明

Do I need to do some additional configuration somewhere to enable it?

我需要在某处做一些额外的配置来启用它吗?

采纳答案by Android Eve

Mystery solved.

谜团已揭开。

It turns out that I mistakenly installed Eclipse JGit instead of Eclipse EGit. Once I selected the EGit package instead:

结果是我错误地安装了 Eclipse JGit 而不是 Eclipse EGit。一旦我选择了 EGit 包:

enter image description here

在此处输入图片说明

Things went fine:

事情进展顺利:

enter image description here

在此处输入图片说明

One letter difference... (E instead of J)

一个字母的区别...(E 而不是 J)

回答by dunni

You just installed JGit, and forgot EGit. JGit is just the Git implementation, but doesn't contain any UI contributions. These are all in the EGit plugin (which should also be available in the Update Site).

您刚刚安装了 JGit,而忘记了 EGit。JGit 只是 Git 实现,但不包含任何 UI 贡献。这些都在 EGit 插件中(它也应该在更新站点中可用)。

回答by rob

is there no new perspective available? Is there no "new -> project from git repository" available? Usually eclipse plugins work if they're listed.

有没有新的视角?没有可用的“新 -> git 存储库中的项目”吗?通常 eclipse 插件如果被列出就可以工作。

Cheers

干杯

edit:

编辑:

I just installed jGit as well. Here's what I found:

我也刚安装了 jGit。这是我发现的:

some image

一些图像

To see it go to: Window -> open Perspective -> other

要查看它,请转到:窗口 -> 打开透视图 -> 其他

Also on a rightclick on my projects (as in cvs & svn plugins) -> team I find Git support as well.

同样在我的项目上右键单击(如在 cvs 和 svn 插件中)-> 团队我也找到了 Git 支持。

Cheers again

再次欢呼

edit 2: No "new project from git" here as well.

编辑 2:这里也没有“来自 git 的新项目”。

回答by VonC

Note that the Eclipse Classic packagein Kepler (4.3 M6, March 2013) now includes Egit directly (see all the packages here).

请注意,Kepler中的Eclipse Classic 包(4.3 M6,2013 年 3 月)现在直接包含 Egit(请参阅此处的所有包)。

See the announcementfrom Martin Oberhuber

公告马丁Oberhuber

With Kepler M6, we've added egitand Marketplace Clientto the Eclipse Classic package, which is still the most popular of all Eclipse packages. The request adding git to all packages has been open for long, and after driving it with the Eclipse PMC Markus Knauerhas helped me make it happen.

使用 Kepler M6,我们将egitMarketplace Client添加到Eclipse Classic 包中,它仍然是所有 Eclipse 包中最受欢迎的。将 git 添加到所有包的请求已经开放了很长时间,在使用 Eclipse PMC 推动它之后,Markus Knauer帮助我实现了它。