Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » One repository per Eclipse project?
One repository per Eclipse project? [message #647811] Sun, 09 January 2011 15:28 Go to next message
h1055071 is currently offline h1055071
Messages: 335
Registered: July 2009
Senior Member
I have 7 Eclipse projects, they are all plug-ins for the same
application. I use one CVS repository with 7 folders, one for each project.

I experimented with eGit. Now it wants to create a repository for each
project. 7 repositories? It doesn't seem possible to create one master
git repository and add 7 eclipse projects to it. When I do a
"Team->Share Project" I only get the option to create a new repository
under the project's root folder.

Am I missing something?

PB
Re: One repository per Eclipse project? [message #647924 is a reply to message #647811] Mon, 10 January 2011 13:34 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It seems to me that to add projects to an existing repo, you need to
create the project directory in the repo.

ex: I created a bare repo, and then cloned it locally. Then when I
created a project, I unchecked "use default location" and put the
project in a subdir in my local repo. Then when I share the project, it
finds the .git directory in the parent folder.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: One repository per Eclipse project? [message #647936 is a reply to message #647924] Mon, 10 January 2011 14:18 Go to previous message
h1055071 is currently offline h1055071
Messages: 335
Registered: July 2009
Senior Member
On 10/01/2011 13:34, Paul Webster wrote:
> It seems to me that to add projects to an existing repo, you need to
> create the project directory in the repo.
>
> ex: I created a bare repo, and then cloned it locally. Then when I
> created a project, I unchecked "use default location" and put the
> project in a subdir in my local repo. Then when I share the project, it
> finds the .git directory in the parent folder.
>
> PW
>
>

Yes, thanks.

PB
Previous Topic:Installs but no sign of Egit
Next Topic:Idenifying a repository
Goto Forum:
  


Current Time: Sun Oct 26 08:50:24 GMT 2014

Powered by FUDForum. Page generated in 0.08424 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software