I'm a new Eclipse user and I'm using Eclipse IDE for Java Developers, which should include a Git plugin.
I initialized a Git repository and created inside it a folder structure like:
Now I would like to create a new Java project inside the code folder, and see the whole repository under the Package Explore tab, and control it using the menu.
How can I do that?
To see your repository contents in project explorer, you can select your repository in the git repositories view and choose import projects... import as a general project and choose the top level directory... To create a java project inside your repository, you will first need to create the java project and then right click your project, choose team->share and select the location in your git repo. Hope this helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.