Reputation: 17042
I use a GITHUB which has a url similar to this - https://github.mycompany.com/orgname/project-name.git. The org contains a number of projects (each of which I assume are repo since it ends with .git). I am able to check out each project individually using eclipse. However is there a way to checkout all the projects under the orgname?
Upvotes: 2
Views: 415
Reputation: 20023
Typically a repository is either one big project, or contains a number of projects, not other repositories.
Once you've cloned the repository, use the Git Repositories View
to find and import the Eclipse projects.
Upvotes: 1
Reputation: 7980
There are a number of technologies in Eclipse that may be useful to you here, however all of them have a one time overhead to set some meta data about which collection of git repos you want to clone.
.psf
file with the team.A more complete solution that sets every part of the environment, e.g. projects and location, workspace settings, API Baselines, installed plug-ins, etc. See Eclipse Oomph Authoring for more information.
There are many many other options for managing multiple git repos. It is a difficult decision on where to split git repos, if you have one project per repo that instinctively sounds way too fine grained unless the projects are very independent and/or well defined by good quality APIs that don't change much. However this part of the answer really is not SO, so go over to Programmers for a good question covering this topic: https://softwareengineering.stackexchange.com/questions/161293/choosing-between-single-or-multiple-projects-in-a-git-repository
Upvotes: 1
Reputation: 7980
From the Git perspective, in the Git Repositories view, right-click on the repo and choose Import Projects... and then complete the wizard.
Have a look at the Eclipse EGit Wiki for more options and information. Here is the above method demonstrated with screenshots:
In the Git perspective:
Right-click on the Git repo and choose Import Projects...
Complete the wizard:
Upvotes: 2