I am using Git for a while and now wanted to try out EGit.
I have a directory that is a Git workspace with a ".git" directory inside.
I now wanted to import that workspace into Eclipse and connect ("Team->Share") the project using the existing ".git" repository.
But I could not find a way to do that. It seems that I can only clone that ".git" again into a new Workspace+Repository. Am I doing something wrong?
All tutorials I could find describe how to clone from another repository (file system or GitHub) or to create a new repository.
Perhaps my expectations are wrong, but with SVN I can import an Eclipse project that I did checkout on the command line and later "connect" to the Subversion repository.
I don't know what you mean by a "Git Workspace", but if you have a directory which in turn contains a .git directory, then you have a Git repository. To work with one or more Eclipse projects in an existing Git repository you have a couple of options, both easy.
1) Run "File -> Import -> Git -> Projects from Git" and follow the instructions, or
2) In the Git Repositories view, click the toolbar item "Add an existing local Git repository to this view", and then once it's listed, run "Import projects..." from the right-click menu