The experience of using Eclipse's Git tools egit

Source: Internet
Author: User

Simply take a look at the use of this tool because of the needs of the project. It appears that the tool has been integrated in the latest version of Eclipse Luna, and for older versions of Eclipse, you can view the installation method in: http://www.eclipse.org/egit/.

After installing and restarting Eclipse, we can switch to Git view, where we can clone repository on public or private git sites locally. The basic steps are simple, and when it comes to the "Local Destination" step, some settings need to be noted, assuming we only use the default settings as shown:


When clone is complete, you will be able to see the repository icon locally. Now there's a question, how do I see this project in the Java view package explore? It's really simple, but the tutorials are not very detailed.

In Java view, file--import--git--projects from git--existing Local repository--import Existing projects--then you can choose to import the project.

If you select "Import all existing projects after clone finishes" in the interface above, you do not need to import the above steps.

We can then work on the development, testing, and so on in the Java view. Here are the questions to be aware of when commit: in Git view, the repository icon on the right-click--commit--commit and Push, you can first select Commit, and then right---remote--push, the principle is the same. That's probably how it works, and with this tool, we can combine GIT operations with the coding and testing in eclipse.

The experience of using Eclipse's Git tools egit

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.