-1

I have a project with 4 packages. I have a Git repo in each package at the source code folder level. How do I migrate these 4 repos from command line Git to EGit?

Edit: I looked at a couple of EGit tutorials and they seem to be about Git, as prepratory background for EGit usage, or about EGit and new repositories, but nothing about migration for existing repositories.

Edit: Here is a better formulation of the problem: Migrating to EGit with an existing Eclipse project and nested Git repos

Community
  • 1
  • 1
H2ONaCl
  • 10,644
  • 14
  • 70
  • 114
  • Please do not abandon and create duplicate questions - if you realize you can ask your question better - just edit the question with what you've learned to make your question clearer/more specific. – AD7six Mar 21 '13 at 09:30

2 Answers2

1

Do nothing

A git repo, is a git repo. It doesn't matter what GUI you use to view/interact with it - the git repository itself doesn't change, there are no migration steps.

Learn about EGit

Understanding that using or not using EGit has no direct effect on your repository - just follow the docs. If you have a specific problem, edit the question indicating what that is.

Community
  • 1
  • 1
AD7six
  • 63,116
  • 12
  • 91
  • 123
  • I never meant to imply migration converted an existing Git repo to EGit form, thus, I agree there is no direct effect on the repo. I just want to enable GUI access to the repo. – H2ONaCl Oct 28 '12 at 07:11
  • 1
    It's in the docs: http://wiki.eclipse.org/EGit/User_Guide#Starting_from_existing_Git_Repositories – slebetman Oct 28 '12 at 07:38
  • Project creation seems necessary after the point at which Git repos have been selected in the Import wizard. No project is found when I try to import. This might be due to the fact that the Git repo is not in the same folder as my Eclipse project. I have 4 repos per project, so naturally they are nested. – H2ONaCl Oct 28 '12 at 10:08
0

Note that egit depends on jgit.

jgit may not implement all the features found in git or fix all the bugs.

linquize
  • 19,828
  • 10
  • 59
  • 83