I was intending to have a play with git, and was wondering if anyone had used the git plugin for eclipse
我本打算玩git,并且想知道是否有人使用git插件进行eclipse
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.
这在Popular插件列表中也非常高。
Click install. Much easier than having to add update site locations by hand.
单击安装。比手动添加更新站点位置容易得多。
12 个解决方案
#2
32
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 Guide for 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 project I am confident that EGit will receive all the main features of the command-line client.
作为一个正式的Eclipse项目,我相信EGit将获得命令行客户端的所有主要功能。
#3
20
EGit is still in eclipse incubation. You can install it using the Eclipse update manager.
EGit仍处于日食孵化期。您可以使用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)列为要安装的可用软件。选中它,然后单击下一步。
单击“下一步”并同意许可证,并应将其安装。
#4
9
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 = DigM1xOiaidk http://www.youtube.com/watch?v=1OrPJClD92s
#5
5
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行为)。
#6
4
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插件,它为您提供了一个控制台。如果你做了很多终端命令,这将是一个令人难以置信的生产力提升。
#7
4
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如此不同以至于具有四年CVS和SVN插件经验的开发人员应该完全失去完全不同的GUI,闻所未闻的命令,两个甚至单个单词错误消息和“功能”,如在没有警告的情况下覆盖共享存储库?不要使用它,使用命令行界面。如果您不喜欢命令行界面,请不要使用GIT。
#8
3
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职责。
#9
3
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插件中运行得非常好,完全被打破了。
#10
2
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个月前一样。希望现在好多了。
#11
2
You may be interested in these pointers: http://github.com/blog/232-github-and-eclipse
您可能对以下指针感兴趣:http://github.com/blog/232-github-and-eclipse
#1
#2
32
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 Guide for 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 project I am confident that EGit will receive all the main features of the command-line client.
作为一个正式的Eclipse项目,我相信EGit将获得命令行客户端的所有主要功能。
#3
20
EGit is still in eclipse incubation. You can install it using the Eclipse update manager.
EGit仍处于日食孵化期。您可以使用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)列为要安装的可用软件。选中它,然后单击下一步。
单击“下一步”并同意许可证,并应将其安装。
#4
9
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 = DigM1xOiaidk http://www.youtube.com/watch?v=1OrPJClD92s
#5
5
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行为)。
#6
4
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插件,它为您提供了一个控制台。如果你做了很多终端命令,这将是一个令人难以置信的生产力提升。
#7
4
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如此不同以至于具有四年CVS和SVN插件经验的开发人员应该完全失去完全不同的GUI,闻所未闻的命令,两个甚至单个单词错误消息和“功能”,如在没有警告的情况下覆盖共享存储库?不要使用它,使用命令行界面。如果您不喜欢命令行界面,请不要使用GIT。
#8
3
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职责。
#9
3
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插件中运行得非常好,完全被打破了。
#10
2
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个月前一样。希望现在好多了。
#11
2
You may be interested in these pointers: http://github.com/blog/232-github-and-eclipse
您可能对以下指针感兴趣:http://github.com/blog/232-github-and-eclipse