1. At https://github.com new repository
2. New project in eclipse such as: Test project
3. Right-click "Test"->team->share project ...->select a repository type:git
Tick use or create repository in parent folder of Project
The above warning tip is not recommended to create in the workspace, but this is a simple way, if you need another way to go to my "git GitHub" another more complex
Click Create Repository, Finish
The test directory opened in Workspace will find a more. git folder.
4. Right-click on "Test"->team->commit Local commit
If this step option commits you need to see the following 5 steps to continue
If this step chooses commit and push directly out of the page no need to go to step 5 Push
5. Then right-click the "Test"->team->remote->push
The URI is the address specified above github:
Username and password are the user name and password for the GitHub site.
5.finish
Source ref Select Refs/heads/master Destination ref is automatically populated, click Add Spec to tick focus update
Start the submission.
6. You can refresh the GitHub Web page to see the submitted code.
Transfer from Open-open
Eclipse Submit Project to GitHub