When Choosing File > Import… in Eclipse while working on an Android project, I’m presented with these options:
General
- Exisisting Projects into Workspace
- File System
- Existing Android Code into Workspace
Git
- Projects from Git
I’m clear about how to use “Project from Git” e.g clone from github to local, then import to workspace. But what is the correct use and usage scenario of the options under General? In particular, how is “Existing projects into Workspace” different from “Existing Android Code into Workspace”?
Import > General > Existing projects into Workspace
It means you want to load C++ Projects, Java, or any project which is created by Eclipse in your workspace. You can also import your Android Projects in this way.
Import > Android > Existing Android Code into Workspace
You want to load only Android Projects in your workspace
UPDATE 1:
You don’t need to worry about it. If you’re really concerned in your project inside your git repository,
I suggest to load that project through EGit (Eclipse Git). You can also load that project through "General" way but the difference is
You cannot perform managing branches, commits, commit changes, or else using EGit.