|
|
Re: Creation of repositories in the Eclipse workspace is not recommended [message #1829369 is a reply to message #1829333] |
Thu, 02 July 2020 07:35 |
Vito De Tullio Messages: 4 Registered: July 2020 |
Junior Member |
|
|
Thomas Wolf wrote on Wed, 01 July 2020 14:11The parent folder of the project would be "workspace". Having a git repo there is discouraged because it may include way more than you'd expect: also MyProject2 in your example, and even workspace-private data under workspace/.metadata.
sorry but I don't understand, the git repo is in the directory workspace\MyProject1, what informations are you talking about? surely not the workspace\.metadata directory, nor the workspace\MyProject2
Thomas Wolf wrote on Wed, 01 July 2020 14:11I'd even say having git repositories physically anywhere under the Eclipse workspace directory is not the best setup. Personally I prefer to keep things completely separated: all my git repositories are under a "git" folder in my home directory, my Eclipse workspaces are elsewhere.
ok, this is about personal preferences, but I disagree with you about it: the workspace directory "raison d'être" is to actually collect the projects!
Is you workspace directory empty?
Thomas Wolf wrote on Wed, 01 July 2020 14:11Eclipse projects can be located physically outside the workspace directory. If you want that, the easy way to get that is to not use "Use or create repository in parent folder of project" but the "Create..." button.
Umm... I tried to follow your advice, but now I'm stuck with a different problem.
Maybe it's my eclipse setup (it's a very old version continually updated, so it may have accumulated some cruft), but if I do "team" -> "share project" -> "Git" and the click on the "Create..." button... nothing happens!
I will try later with a new ecplipse installation.
Could you be so kind to tell me what that button does?
Thanks
|
|
|
|
Powered by
FUDForum. Page generated in 0.03982 seconds