Reputation: 93
I am trying to use Eclipse to connect to GIT repository.
I go to File -> Import -> Git -> Projects from Git -> Clone URI
...
There I fill everything what is needed. And on the next tab I set the master branch. I pick the directory, which should be the Local Destination (i.e. C:\Dev\Eclipse_workspace\Automation). The folder Automation doesn't exist.
On the next screen, I choose "Import as general project".
It tells me "Project Automation already exists".
So I remove the folder.
But then it tells me "Directory C:\Dev\Eclipse_workspace\Automation does not exist".
Unfortunately, I have to use Eclipse on dedicated computer for this current project and don't have the option to use other IDE.
Can you give me any advice of whether it's a bug, or just some misunderstanding?
Thank you.
Upvotes: 0
Views: 99
Reputation: 34137
It doesn't work this way because importing here only works if the repository is outside the workspace.
Either select a location outside the workspace or do the following:
Clone a Git Repository
to open the Clone dialogAutomation
: File > New > Other...: General > ProjectUpvotes: 1