
If you have read through a few of my blog posts you can probably see that I like PHP, ZendFramework, and Zend Studio, I have also recently moved from Subversion to Git for my source control needs.
I used to use the subversion plugin within eclipse and have now moved to the git plugin, which is not stable but I have not had a problem with it yet! (crossing my fingers) although I do most of the heavy git stuff on the command line.

You can find out a little more info on the Egit plugin on the JGit/EGit page with the reminder that the plugin is not officially supported bu the eclipse team as yet as it is only in the eclipse incubator.
A great place to get some more information is on the EGit projects Google code home page, or just read on and I will show you how you can get installed with no hassle in to your eclipse or ZendStudio IDE, I will be using ZendStudio for this post.
- Open up your IDE and browse to the Help > Install New Software… menu, click on the Add button to begin entering the information for the EGit update site.
Name: EGit
Location: http://www.jgit.org/updates

- Check the box for the Eclipse Git plugin and click next.

- Review the plugin your going to install, and hit next to continue.

- You will now be asked to review the license terms, if you choose to you can read through the license and when your finished click the radio button to accept the terms and then click on the finish button.

- Zend/Eclipse will then download and install the plugin, you can click the “Always run in background” if you have some other important work to finish.

- Once completed you will get a recommended restart message, go ahead and restart your IDE to complete the install.

When your IDE has reopened you will have the plugin installed, don’t be alarmed that it looks the same before the installation as the changes will be found in the right click context menus, and the new view (TEAM) you now have access to.
To create or start managing your git projects through your IDE there are two simple steps..
- Right click on your project and click on the Team > Share project link

- Select the Git repository type and click next.

- If you are just starting your git repository for the project you will have to click create, and if you have a .git folder all ready in the project you can highlight the project and click on next.

- Once completed you project will have the branch name beside it, in my case [Master] and will be ready for work.

To work with your Git project just right click the project and search for the familiar git commands under the team menu.



Comments
Leave a comment Trackback