Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » problems importing existing git repos into eclipse
problems importing existing git repos into eclipse [message #1017936] Tue, 12 March 2013 20:35
Gray Mising name is currently offline Gray Mising name
Messages: 3
Registered: October 2011
Junior Member
Sorry from the start from the git noob query.

I've using Eclipse 3.7.2 with Egit 2.3.1 and m2e 1.2.0.

My project has a root git project and a number of sub-modules. For the life of me I cannot properly import some of my submodules. Either I get a directory that in Eclipse has no Git markups at all or I get one that shows every directory as having changes although none of them are. git from the command line has no problems at all. The eclipse svn plugin also has no problems.

Here's approximately what I do:


  1. I'm in github.com/j256/ormlite-master-pom
  2. Add a submodule from the command line: git submodule add git@github.com:XXX/ormlite-tests.git
  3. Refresh Eclipse to get the submodule to show up.
  4. Open the Submodules folder, right click on ormlite-tests and pull down to Import Projects
  5. "Import existing projects" is selected. Click Next.
  6. ormlite-tests is checked off. Add it to my working set. Click Next (maybe Finish).
  7. ormlite-tests shows up in my project list as having changes. > ormlite-tests
  8. Opening it up, all directories show changes (see image). git command line disagrees. Files that _are_ changed do not show up as being changed. Synchronization shows no changes.


If I import it from just a right click in the project list I don't get _any_ git associations.

Any help would be appreciated. This is totally reproducible. Thanks.

index.php/fa/13815/0/
Previous Topic:How to see current (unstaged) changes in EGit?
Next Topic:problems importing submodules into eclipse
Goto Forum:
  


Current Time: Sun Oct 26 06:14:22 GMT 2014

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

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