Repository for multiple projects [message #1689693] |
Tue, 24 March 2015 01:40  |
Eclipse User |
|
|
|
I've created an Ear with EJB, JPA and Web modules associated. In my Project Explorer view, thus, I have this 4 projects and many others. I need to push my app to a github repository already created, so I select the 4 projects, right-click -> Team -> Share Project -> Git... and now?
When I have to push just one project, I usually
1 - create a local repository,
2 - commit on local,
3 - create remote (GitHub repository)
4 - push on remote
I don't think that repeating all these operations for every single project is the right way... Could you help me to understand and solve the problem?
|
|
|
|
Re: Repository for multiple projects [message #1690071 is a reply to message #1690070] |
Tue, 24 March 2015 21:26  |
Eclipse User |
|
|
|
I think I messed up a bit my workspace...
I tried starting from scratch:
1 - created three new projects: Foo (ear), FooEJB, FooWeb
2 - select onnly these three projects
3 - team -> share project -> git

4 - click "create repository", then "Finish"
5 - select again ONLY these 3 projects, "team" -> "commit"
And now here I'm given a list of ALL files of ALL projects in my workspace, even not selected projects.
Is "option 2" the only way to prevent this, by moving the projects in another location? And if I'd prefer not to move the projects...? Am I missing something?
Attachment: 001.png
(Size: 22.23KB, Downloaded 245 times)
Attachment: 002.png
(Size: 5.09KB, Downloaded 203 times)
Attachment: 003.png
(Size: 23.43KB, Downloaded 203 times)
Attachment: 004.png
(Size: 25.78KB, Downloaded 230 times)
Attachment: 005.png
(Size: 22.91KB, Downloaded 1275 times)
[Updated on: Tue, 24 March 2015 22:02] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.07542 seconds