Eclipse git plug-in for simple use

Source: Internet
Author: User

Reference: http://jiangli.easymorse.com /? P = 783

 

1. eclipse has the egit plug-in to manage the GIT version library. First install egit

Http://eclipse.org/egit/download/

Open eclipse, install new software,

Write the address in the red box, official address

 

The http://download.eclipse.org/egit/updates (recommended)

Http://download.eclipse.org/releases/indigo

Then wait until the installation is complete.

There is also a way to use eclipse marketplace and search for git to see egit.

2. After the installation is complete, do you have to try it or try it out.

Reference: http://wiki.eclipse.org/EGit/User_Guide

First, configure the name and email address of the person who uses the version library, which is equivalent

Git config-global user. name "Your Name"

Git config-global user. Email you@example.com

OpenPreferences> Team> git> Configuration, ClickNew entry, Creates a key-value pair,

User. Name and user. Email

After the creation, you can view the user information after the creation is successful.

Create home directory

1. Create a system variable. Open the new system Variable Window and create a home. Enter "% USERPROFILE %" or another path as the variable value, as shown in:

Click Save.

Enter the subject

Create a version Library

Create a project named hellogit

Select this project, right-click, team-> share project, and select git

As shown in, select a project, and then select use or create ..., Choose create repository to initialize a git repository for this project. If the project is already in the working tree of a repository, the repository will be automatically selected, as shown in the following figure:

Click Finish to complete the creation.

Right-click the project and select team. The GIT command is displayed. select Commit, select the file you want to submit, add the submit message, and click commit.

the preceding Code uses the Eclipse plug-in egit to manage the version library. In the following Article , we will learn more about its usage.

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.