Eclipse installed the GIT plug-in egit on July 15, October 11, 2011
By Jiang Li
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.
Above, we simply use the Eclipse plug-in egit to manage the version library.