Reputation: 6412
EGit User Guide suggests making a Repository working directory to store your projects, so you can add multiple projects to one repository:
How do I do this? I tried Eclipse's Create New Folder -- it only creates subfolders for projects. I tried moving the projects into a directory I created and hitting refresh -- nothing happened, and when I closed Eclipse it lost track of the .project file. I tried creating a new working set, but it didn't seem like the same thing.
Is this even a good idea?
Upvotes: 0
Views: 193
Reputation: 1982
I do it like this:
~/git/myrepo
)git init
~/git/myrepo/.git
~/git/myrepo
Finish
You can also try and create the repository using the "Share" dialog as well. This is something I did not try.
Upvotes: 1
Reputation: 6412
I believe this screenshot comes from the Git Repositories View, not Package Explorer. So you can achieve this simply by creating your repository in a folder outside of your Eclipse workspace.
Upvotes: 0