Git (i): Configuring Git in Eclipse

Source: Internet
Author: User
Tags email account

To configure git in eclipse:

One, because I am using the new version of Eclipse Java EE 4.4 Default integration git, so do not manually install the Git plugin

Second, eclipse configures the underlying information. Windows->preferences->team->git such as:

preferences->team->git->configuration

Click Add Entry to enter the value of key and value in the popup box.
Key, name fill in: User.name,value is your name.
E-mail: User.email value: Your email account. When you submit your code, it automatically extracts the information and sends it to the GIT remote repository along with the code.

Third, configure the local git repository in Eclispe

Create a new project in Eclipse, then right-click the project name, select Team->share project->git tap the Next button, on the Configure Git Repository page, click Create

Select Local folder as Git local repository

Four, commit the code to local git Repository

Select the project name and right-click Team->commit

Fill in the appropriate information and click Commit.

Five, configure Git Remote Repository in Eclispe

Bring up the Git repository window

Right-click Remotes, select Create remote

Enter remote name Click OK button,

In the URI bar, click the Change button to fill in the corresponding Git sever information

Save.

Six, push local git repository code to remote repository

Right-click Project, Team->remote->push Branch

Fill in the appropriate information so that the project of the Ontology warehouse is pushed to the remote repository.

Git (i): Configuring Git in Eclipse

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.