http://my.oschina.net/OutOfMemory/blog/294133
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
Click Create Repository, Finish. Opening the test directory in workspace will find a more. git folder.
4. Right-click on "Test"->team->commit Local commit
5. Then right-click the "Test"->team->remote->push
The URI is the address specified on GitHub: username and password are the GitHub website username and password
5.finish Source ref Select Refs/heads/master Destination ref will be automatically populated, click Add Spec to tick focus update to start submission.
6. You can refresh the page to view the submitted code ...
Note: The public key is born in Eclipse and is added to the GitHub repository.
In the menu bar, open window→preference→general→network connection→ssh2→key management→generate RSA Key ... →apply→save private Key ...
The public key that generates SSH is passed in GitHub: Edit your profile, SSH key, add ssh key,
© Copyright belongs to the author
Eclipse Submit Project to GitHub