Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Can .git directory be a parent of the project directory?
Can .git directory be a parent of the project directory? [message #500781] Sat, 28 November 2009 16:28 Go to next message
Don  is currently offline Don Friend
Messages: 4
Registered: November 2009
Junior Member
I have a collection of Eclipse projects that all share a common base directory where the .git directory lives. It seems like egit assumes that the .git directory is in the project directory. Is it possible to configure egit to use a .git directory outside of (or above) the project directory?


Re: Can .git directory be a parent of the project directory? [message #500782 is a reply to message #500781] Sat, 28 November 2009 16:37 Go to previous message
Don  is currently offline Don Friend
Messages: 4
Registered: November 2009
Junior Member
To answer my own question: yes, this is easy.
Do "Team -> Share Project...", select Git, and under "Select Git Repository Location", then click on the triangle next to the project name.
You should see "../.git" appear in the list of available repositories. Select it, and press "Finish".

Previous Topic:.gitignore file
Next Topic:Can .git directory be a parent of the project directory?
Goto Forum:
  


Current Time: Wed Nov 26 20:52:56 GMT 2014

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

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