How is EGit used by Eclipse Developers - egit

I want to know how the eclipse developers use git ? Do they use the command line or do they use EGit plugin GUI ? If EGit GUI is used, then how do they manage it, since eclipse has one repository per plugin structure.

Take a look at the getting started here, then navigate through to answer your question.

Related

Eclipse Plugin for Git - EGIT vs Aptana

I am new to GIT and I have been looking for a GIT plugin for Eclipse.
I came across this on SO .
How stable is the git plugin for eclipse? and also http://www.quora.com/Whats-the-best-Eclipse-plugin-to-manage-git
But these have worsened my confusion over using EGIT or Aptana.
I just want to know
1)Why should one use EGIT and why should one use Aptana.
2)What are the differences in performance and stability in both ?
3) Which one is better right now with their latest releases?
Kindly, please answer these questions. Thanks you.
It looks like aptana and egit are different, aptana is a whole ide based on eclipse with a custom git plugin, and egit is a git plugin for eclipse.
I'm using egit with git console and so far, it fit my needs :)
You should start using one, then if you're not happy with it, try another one.
The git command line is really great, because it does exactly what you tell it to do. At first it's not really user friendly but it's learning efficient and you know what you do. sometimes plugin do other things that are not expected (not in the wrong way but it can cause problems)

How to create versions of projects in Eclipse

Just a quick, short question: I would like to find a way to create "versions" of the projects that I am working on so that I may make changes and revert back to older versions of the projects if those changes are unsatisfactory. Is there a way to do this inside of Eclipse IDE or must I download an addon of sorts?
As it's been said you need to use some version control software like Git or SVN. They let you to have different branches for the different versions. I'd recommend you Git, as long is more modern and flexible. There are thousands of tutorials over there.
Eclipse has built-in support for Git. If you choose SVN you'll have to install the subclipse plug-in.

Whereabouts would I find the source code for the CVS team integration in eclipse?

I've looked at a lot of the git repositories, but I'm not sure which one to start with (and they're fairly large, so I want to avoid scanning 25 gig of data). Where would I find the code to handle CVS and Subversion integration?
You can browse all of the git repositories at http://git.eclipse.org/c/ . The one you want is http://git.eclipse.org/c/platform/eclipse.platform.team.git/ (cloning URLs are shown at the bottom).
You can install the core Eclipse source including the CVS code in to Eclipse from Help > Install New Software. Work with http://download.eclipse.org/eclipse/updates/4.3 for Eclipse 4.3 (Kepler) and choose Eclipse SDK. You can also download this as base Eclipse install (which is what I usually do).
Once you have this installed open Preferences > Plug-in Development and check Include all plug-ins from target in Java search. Once this is set the things like Navigate > Open Type and all the Java searches will include all the Eclipse source code.
Where the SVN code is depends on which SVN code you are using.
Update 2022: as illustrated by gitlab.eclipse.org/eclipsefdn/helpdesk issue 1100, and issue 915, everything is in the process to be transferred to GitHub.
The old (2014-2021) git.eclipse.org/c/platform/eclipse.platform.team.git/ would therefore be soon (Q2 2022) be found under https://github.com/eclipse-platform.
https://github.com/eclipse-platform/eclipse.platform.team

How to see egit console output

I want to see the output of the egit (eclipse plugin for git) when doing some operations like pulling, pushing in eclipse, just like the SVN plugin. Anyone knows how to do it?
I'm using Elcipse Kepler which already contains egit.
Thanks in advance.
You can install additional tool from opensource contribution
http://rherrmann.github.io/gonsole/repository/
Look at post http://www.codeaffine.com/2014/07/09/gonsole-weeks-a-git-console-for-eclipse/
The simple answer is that this is not yet implemented in EGit, see bug 349551.

Saving code online (Java Eclipse)

Currently I'm saving an online copy of my code on dropbox. I was wondering if there is any other convenient option, such as an Eclipse plugin (that can maybe do this automatically?).
Note: The project's code is private and I'm thus looking for an option that doesn't make it public.
have you considered putting your code in an online repository? BitBucket gives you free unlimited Git or Mercurial repositories and they both work with Eclipse. You can also use SVN, and eclipse has a plugin for it with the name of Subclipse. and it works perfect.
There are several free source management systems out there.
However - if you want to use them freely you'll need to opensource your code.
Check out github or googlecode for example.
You are looking for a SCM tool (Source Control Management). GIT or Subversion are the things you are looking for. Have a look at Github.com or Google Code (ups sorry I didn't notice that you're looking for a private solution). BitBouquet is probably the best public server for closed source. If you have your own server (i.e. on a cloud), or you may install GitBlit or Gitosis tools; for subversion you can set up your own server following my tutorial.
Eclipse supports CVS and Subversion built-in, afaik. Maybe latest versions also have git; by the way there is Egit eclipse plugin to support Git.