Get ready:
1. Need to register for GitHub's account and find the item you want to import
2. Search the Egit plugin in Eclipse's help--marketplace and install
Operation Steps:
1. There are three ways to import HTTP, sshgit, read-only, the following HTTP as an example, click the HTTP button, the right text box will appear https://github.com/oschina/android-app.git, copy the information
2. Choose file-from Eclipse import-"git-" Projects from Git
3. Select next-"SELECT Uri"
4. Select Next and paste the following information (note the password for the account you requested on GitHub):
5. Select next to enter the branch selection, where the master is selected
6. Select next to configure the local project storage path
7. Select Next
8. Click Finish, then select Import existing projects, then click Finish to see the imported items in eclipse!
How to import an open source project from GitHub to eclipse