In the Eclipse menu bar, select Window--preference, and then locate Team--git--configuration. Since I had already installed git on my computer, eclipse found the git configuration file and read my configuration information. Finally click OK
Associate GitHub
Start by creating a repository on GitHub, which is where the code behind our eclipse will be placed.
Once the warehouse has been created, go to Eclipse's project and Mail project name--team--shareproject. If this is the first time, follow the wizard and create your own git repository.
After you create it, add it again, and then commit, such as:
Commit, write some information about the change, and then submit it, and note that the commit and Push
The Destination Warehouse dialog box appears, such as.
Fill in the information we just created on GitHub:
For example, push succeeds.
Go to GitHub, refresh a look, the project has been pushed up.
Configure Git in Eclipse 4.5.2 Mars and submit project to Git hub