RSS

Search Engine

Thursday, November 11, 2010

Create a Git repository for multiple projects

To put several plugins into the same git repository you should create them in a subfolder under your workspace and then create via EGit a repository for this subfolder.

To test this create two new Java projects "de.vogella.egit.multi.java1" and "de.vogella.egit.multi.java2". Do not use the default location (which would be the workspace) but in a subfolder "gitmulti".

Create a few classes, as git is not able to save empty folders. Now select both projects, right click on them, select Team-> Share-> Git.

Done. Both projects are now in the same git repository.

1 comments:

Anonymous said...

I dont have the option to choose a other location :-(

Post a Comment