Reputation: 11559
I just cloned a repository in Eclipse. However, it is not showing up in the package explorer. How do I get it there? I see the branches and everything in repository view... but I cannot edit the contents.
Upvotes: 7
Views: 24624
Reputation: 1
To open the Package Explorer in Eclipse:
Upvotes: 0
Reputation: 598
If Git is located locally:
Right-Click in Project Explorer->"Import..." choose Git->"Projects from Git". Press Next and then "Existing local repository". Select the git repository, it will be imported in the Project Explorer
Upvotes: 0
Reputation: 1649
In package explorer view -> Right click -> Team -> Share Project. This should show the branch name in package explorer as well.
Upvotes: 0
Reputation: 20033
Right-click on the Working Directory in the Git Repositories view and Import the projects into the Eclipse workspace. They will not be copied. Clones can contain more than one project--wouldn't want to automatically import all of them (plus some of them might be one-off test projects buried in the tree somewhere).
Upvotes: 13