eclipse 的 git 插件有多稳定?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/302089/
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
How stable is the git plugin for eclipse?
提问by toolkit
I was intending to have a play with git, and was wondering if anyone had used the git plugin for eclipse
我打算玩玩 git,想知道是否有人使用过Eclipse的git 插件
I see it's at version 0.3.1, and was wondering if anyone knew how stable it was / any gotchas?
我看到它的版本是 0.3.1,想知道是否有人知道它有多稳定/有什么问题吗?
Update:
更新:
If you are using a recent version of Eclipse, your Help menu has an 'Eclipse Marketplace...' link.
如果您使用的是最新版本的 Eclipse,您的帮助菜单有一个“Eclipse Marketplace...”链接。
Enter 'git' in the Find field. This shows me EGit.
在查找字段中输入“git”。这向我展示了EGit。
This is also very high in the Popular plugins list.
这在流行插件列表中也非常高。
Click install. Much easier than having to add update site locations by hand.
点击安装。比手动添加更新站点位置要容易得多。
采纳答案by Alex
Github blogspoke yesterday about Egit plugin:
Github 博客昨天谈到了 Egit 插件:
回答by Robert Munteanu
I'm using if for day-to-day work and I find it stable. Lately the plugin has made good progress and has added:
我在日常工作中使用 if,我发现它很稳定。最近该插件取得了良好的进展,并添加了:
- merge support, including a in-Eclipse merge tool;
- a basic synchronise view;
- reading of .git/info/exclude and .gitignore files.
- rebasing;
- streamlined commands for pushing and pulling;
- cherry-picking.
- 合并支持,包括 Eclipse 内合并工具;
- 一个基本的同步视图;
- 读取 .git/info/exclude 和 .gitignore 文件。
- 变基;
- 简化的推拉命令;
- 采摘樱桃。
Be sure to skim the EGit User Guidefor a good overview of the current functionality.
请务必浏览EGit 用户指南以获得当前功能的良好概述。
I find that I only need to drop to the comand line for interactive rebases.
我发现我只需要进入交互式 rebase 的命令行。
As an official Eclipse projectI am confident that EGit will receive all the main features of the command-line client.
作为官方 Eclipse 项目,我相信 EGit 将获得命令行客户端的所有主要功能。
回答by Chris J
EGit is still in eclipse incubation. You can install it using the Eclipse update manager.
EGit 仍处于 eclipse 孵化阶段。您可以使用 Eclipse 更新管理器安装它。
- Select Help -> Install New Software...
- You probably do not have the JGit update URL in your list of sites so in the 'Work with:' field enter this url: http://www.jgit.org/updates
- Click Add...
- You should now see Eclipse Git Plugin - Integration Build (Incubation) listed as available software to install. Check it and click Next.
- Click Next and agree to the license and it should be installed.
- 选择帮助 -> 安装新软件...
- 您的站点列表中可能没有 JGit 更新 URL,因此在“使用:”字段中输入此 URL:http: //www.jgit.org/updates
- 点击添加...
- 您现在应该会看到 Eclipse Git Plugin - Integration Build (Incubation) 列为可供安装的软件。检查它并单击下一步。
- 单击下一步并同意许可证,它应该被安装。
回答by AndyL
You can integrate Git-GUI with Eclipse as an alternative to EGit.
您可以将 Git-GUI 与 Eclipse 集成作为 EGit 的替代方案。
See this two part YouTube tutorial specific to Windows:
http://www.youtube.com/watch?v=DcM1xOiaidk
http://www.youtube.com/watch?v=1OrPJClD92s
请参阅特定于 Windows 的两部分 YouTube 教程:
http://www.youtube.com/watch?v=DcM1xOiaidk
http://www.youtube.com/watch?v=1OrPJClD92s
回答by audriusa
It still seems barely usable, to tell the truth, especially in comparison to the CVS and SVN plugins. Is it really GIT so different that developer with four years of CVS and SVN plugin experience should be completely lost with completely different GUI, unheard commands, two or even single word error messages and "features" like overwriting the shared repository without warning? Do not use it, use command line interface. If you do not like command line interface, do not use GIT at all.
说实话,它似乎仍然几乎无法使用,尤其是与 CVS 和 SVN 插件相比。GIT 真的如此不同,以至于拥有 4 年 CVS 和 SVN 插件经验的开发人员应该完全迷失于完全不同的 GUI、闻所未闻的命令、两个甚至单个单词的错误消息以及“功能”,例如在没有警告的情况下覆盖共享存储库?不要使用它,使用命令行界面。如果您不喜欢命令行界面,请完全不要使用 GIT。
回答by ELF
For a command line view from within eclipse, install the Aptana Eclipse Plugin, it provides you with a console. It's an incredible productivity boost if you do a lot of terminal commands.
对于 Eclipse 中的命令行视图,请安装 Aptana Eclipse 插件,它为您提供了一个控制台。如果您执行大量终端命令,这是一个令人难以置信的生产力提升。
回答by mtp
Meanwhile EclipseGit is an "Official Eclipse Technology Project" (09-05-07 GitWiki). I use the current version 0.5.0(the Wiki is a step behind the development) from time to time, without any problems. Version comparison, commit, revert etc. is working well, although manual refresh's (F5) are necessary when using command line or other Git clients (usual and acceptable Eclipse behavior I think).
同时 EclipseGit 是一个“官方 Eclipse 技术项目”(09-05-07 GitWiki)。我不时使用当前版本 0.5.0(Wiki 是开发落后的一步),没有任何问题。版本比较、提交、还原等运行良好,尽管在使用命令行或其他 Git 客户端时需要手动刷新 (F5)(我认为这是通常且可接受的 Eclipse 行为)。
回答by sanjay
egit has a serious bug when comparing a file in your working dir with an earlier - it flashes a blank tab. The bug has been around since 2010 and still has not been fixed. This very basic feature which works very well in svn plugin is completely broken.
在将工作目录中的文件与较早的文件进行比较时,egit 有一个严重的错误 - 它会闪烁一个空白选项卡。该错误自 2010 年以来一直存在,但仍未修复。这个在 svn 插件中运行良好的非常基本的功能完全被破坏了。
回答by mhoofman
I've set up EGit in Eclipse for a few of my projects and find that its a lot easier, faster to use a command line interface versus having to drill down menus and click around windows.
我已经在 Eclipse 中为我的一些项目设置了 EGit,并发现使用命令行界面比深入菜单和单击窗口要容易得多,速度更快。
I would prefer something like a command line view within Eclipse to do all the Git duties.
我更喜欢 Eclipse 中的命令行视图之类的东西来完成所有 Git 职责。
回答by JesperE
I've used it briefly, but it was still lacking support in several important areas (it wasn't doing renames/moves properly, or something). There also was no update site available for it.
我已经简单地使用过它,但它在几个重要领域仍然缺乏支持(它没有正确地进行重命名/移动等等)。也没有可用的更新站点。
I don't remember which version it was, but this was like 6 months ago. Hopefully it is better now.
我不记得是哪个版本了,但好像是 6 个月前。希望现在更好。