Eclipse integrated git plug-in and use _git

Source: Internet
Author: User
Eclipse integrates git Plug-ins and uses Eclipse version Eclipse neno.1 1. Git plugin install 1.1 download plugin

First open eclipse, then click Help>install New software>add.
Name:egit
Location:http://download.eclipse.org/egit/updates
Figure 1

Figure 2 Check the plug-in, then all the way to next, and finally restart Eclipse.
2. Git submits code 2.1 build git's local repository: first:

The first step is as follows:

The second step here is to create the local repository for git (if not)
As shown in figure:
The second type:

The first step is as follows:

The second step is as follows: This warehouse defaults to the project file, the last click Finish

Errors encountered while building the library:
Eclipse.jgit.api.errors.JGitInternalException:User config file
C:\Users\Administrator.gitconfig invalid
Org.eclipse.jgit.errors.ConfigInvalidException:Cannot Read File
C:\Users\Administrator.gitconfig
Cause: The configuration file may have been incorrectly configured for multiple times, causing the file to be corrupted and unreadable.
Workaround: C:\Users\Administrator.gitconfig deletes the file according to this path and restarts eclipse. After the project creates a local warehouse, as shown in figure:

There will be > on the project after the local warehouse is created. The symbol description has not yet been submitted to the local repository.
2.2 Submit the Local warehouse:

The first step is as follows:

The second step is as shown:
2.3 Submit Remote Warehouse:

You can submit a remote warehouse only if you submit a local warehouse

The first step is as follows:

The second step is as shown:

The third step is as follows:
>

The fourth step is as shown:
3. Git download code

The first step is as follows:

The second step is as shown:

The third step is as follows:

The fourth step is as shown:

Step Fifth Select the project path
As shown in figure:

The sixth step is always next until it is finished.

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.