First, install the Egit plug-inReference: MyEclipse8.5 integrated git
Second, egit configurationConfigure personal Information Window > Preferences > Team > Git > Configuration
Location will automatically find the ~/.gitconfig file (under the C:\Documents and Settings\ $USER for most people in the Windows system).
If you don't have this file, you can open git bash to set it up:
$ git config--global user.name "youname" $ git config--global user.email "[Email protected]"
You can see the. gitconfig file again by entering the $user.
third, push the local warehouse to the remote warehouse1:myeclipse Create a new project (Mygit)
2:github Create a new warehouse
After the successful creation, jump to the following page, remember the HTTP address: Https://github.com/itmyline/mygit.git
3: Create a warehouse
Project right: Team > Shareproject > Git next appears following page
check box
After the warehouse is created, the. git folder in the $workspace\mygit directory is the repository address for git.
4. Submit
With the local repository, we can upload it to the remote repository.
Project Right-click: Team > Commit
5: Push
Project Right-click: Team > Remote > Push
Go to GitHub to see the projects we've submitted
iv. cloning a remote repository to a local
Import > Git > Projects from git > Next > Clone
Itmyhome
Source: http://blog.csdn.net/itmyhome1990/article/details/39965489
Egit using the Git plugin on eclipse