Eclipse - Import an existing project?

后端 未结 5 827
清酒与你
清酒与你 2020-12-15 19:51

I have a project that I am trying to add to my workspace. But eclipse cannot detect a new project in the directory I am pointing to.

How can I let eclipse know that

5条回答
  •  -上瘾入骨i
    2020-12-15 20:50

    This solution is for eclipse

    I had a similar problem when I was cloning repositories from bit bucket from the command line, it would clones into the local repository. So the above solution did not work because it would say that the files were already in the local repository.

    The solution:

    1. Window > Show View > other > Git repositories
    2. Right Click on the git repository tab > import projects
    3. navigate to the repository you want to put into eclipse
    4. select the third option 'import as general project', if selecting this does not work then view other options and select the option that applies to you
    5. finish
    

提交回复
热议问题