1. Download Egit plugin http://www.eclipse.org/egit/
http://www.eclipse.org/egit/download/
Installing the Latest release:3.5.1.201410131835-r
To install via one of the update site URLs listed below, copy and paste it into the ' Help > Install new software ' Dialo G.
EGit can installed in the following ways:
- Main Update Site: http://download.eclipse.org/egit/updates (Recommended)
- Luna Update Site (Luna SR1 contains EGit 3.4.1): Http://download.eclipse.org/releases/luna
- Via the Eclipse Marketplace
2. Give the public key in Eclipse and add it to 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, and copy the public key generated above to here, save.
3. Import existing Projects
Open a project, right-click on the project name, Tap Team→share Project, and import your project into a git folder.
4. Submit
Right-click on the item –>team–>commit. Commit is the GIT repository that commits to the native, and push is synced to GitHub.
Enter your github username and mailbox in the pop-up window
Submit the file locally and push it to the server
Then you need to enter the warehouse address of the project on GitHub, and if not, create a new project with the following steps:
Enter the URL address above, along with your user name and password
And then wait for Eclipse to submit the project to you.
。
GitHub Use tutorial for Eclipse