I have a local maven project. Now I want to put it into a git repository. I think I first need to create a local git project and then push all to the remote repository. Is there a way to do this in Eclipse? I have the egit plugin in Eclipse.
Tried the following step:
1) Create a local new Git repository and add it to this view
2) There are 3 options:
* Import Maven Proejcts
* Import existing proejcts
* Import as a general project
None of these seem works. This should be a very typical use case. First, you create a maven locally, without git. At some point, you want to put it into a git repository and collaborate with others. How to achieve this?
Right clicking the project, Team, Share project… allows you to initialize a Git repository for your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With