Eclipse Integrated git plugin and use

Source: Internet
Author: User

directory (?) [+]

    1. 1 git plugin installation
      1. 11 Download Plugins
    2. 2 git commit code
      1. 21 git-built local repositories
        1. First Kind
        2. The second Kind
        3. After the project has created a local warehouse
      2. 22 Submitting a local warehouse
      3. 23 Submitting a remote repository
    3. 3 git download code
1. Git plug-in installation 1.1 download plugin

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

Figure 2 tick the plugin, then all the way next, and finally restart Eclipse.

2. Git commit code 2.1 build Git's local repository:The first type:

The first step

The second step here is to create a git local repository (if not)

The second type:

The first step

The second step of this kind of warehouse default in the project file, finally 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 corrupted and could not be read because of an error in configuring the Git multiple times.
Workaround: C:\Users\Administrator.gitconfig Delete files based on this path and restart eclipse.

After the project has created a local warehouse

Will there be > on the project after creating the local warehouse ? The symbol description has not yet been submitted to the local warehouse.

2.2 Submit the Local repository:

The first step

Step Two

2.3 Submit the Remote repository:

The remote warehouse can be submitted only if the local warehouse is submitted

The first step

Step Two

Step Three
>

Fourth Step

3. Git download code

The first step

Step Two

Step Three

Fourth Step

Fifth Step Select project Path

The sixth step has been next until the completion.

Eclipse Integrated git plugin and use

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.