Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » How to separate Eclipse and Git metadata
How to separate Eclipse and Git metadata [message #1006557] Thu, 31 January 2013 12:31 Go to previous message
Malte Forkel is currently offline Malte Forkel
Messages: 5
Registered: January 2013
Junior Member
Hello,

I would like to use Eclipse and EGit to work on projects that use Git repositories but don't necessarily use the Eclipse platform. So I would like to keep Eclipse metadata out of the repository. Unfortenately, I can't manage to setup my directory structure accordingly.

After reading the Considerations for Git Repositories to be used in Eclipse, I cloned the remote Git repositories to directories outside of the Eclipse workspace. Now, whether I use Import... > Git > Projects from Git or first add the repositories in the Git Repository Exploring perspective and import then, I always seem to end up with a layout like
 - Eclipse workspace
   .metadata
   - project directory (and Git working directory)
     .project
     .git
     ...

The Eclipse project metadata is inside the Git working directory. Which is what I'd like to avoid.

I thougt a layout like this would be more suitable:
 - Eclipse workspace
   .metadata
   - project directory
     .project
     - working directory
       .git
       ...

Adding the working directory to the project as a linked folder will result in this directory layout. But the working directory is not displayed as a Git repository in the Project Explorer and, more importantly, there are not Git commands below Team in the context menu.

May be my idea of how to setup things is flawed? How are you doing this?

Thanks,
Malte


Eclipse Platform, Version: 4.2.1.v20120814,
Eclipse EGit, Version 2.1.0.201209190230-r
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Rename merge does not work - is there any workaround?
Next Topic:accessing Github from behind an http proxy
Goto Forum:
  


Current Time: Thu May 23 13:35:31 EDT 2013

Powered by FUDForum. Page generated in 0.05977 seconds