简体   繁体   English

试图通过EGit将GIT项目从IntelliJ IDEA迁移到Eclipse?

[英]Trying to move GIT Project from IntelliJ IDEA to Eclipse with EGit?

My firm is making me move back to Eclipse and I am trying to move GIT Project from IntelliJ IDEA to Eclipse with EGit?. 我的公司正在使我回到Eclipse,并尝试通过EGit将GIT Project从IntelliJ IDEA迁移到Eclipse。 The issue I am having is that I access my project from the command line with the following command: 我遇到的问题是我使用以下命令从命令行访问我的项目:

git clone git@git:common.git

That's how I clone it and then I just work in IntelliJ without a issue, In Eclipse with EGit I am getting the following screen and every setting I am trying down work 这就是我克隆它的方式,然后我就可以在IntelliJ中正常工作了,在带有EGit的Eclipse中,我得到以下屏幕,并且我尝试进行的所有设置

在此处输入图片说明

Can someone please tell me based on the command line what options I should be using.. thanks 有人可以根据命令行告诉我应该使用哪些选项..谢谢

I've always had problems cloning via EGit. 我一直很难通过EGit进行克隆。 Here's what works for me: 这对我有用:

  1. Clone via the command-line as usual. 照常通过命令行克隆。
  2. Create or import your project into an Eclipse workspace. 将项目创建或导入到Eclipse工作区中。
  3. Right-click the project in the Navigator or Package Explorer. 在导航器或包资源管理器中右键单击该项目。
  4. Team > Share Project > Git > Next. 团队>共享项目> Git>下一步。
  5. Since there will already be .git repo there, select 'Use or create repo in parent...". 由于那里已经有.git存储库,因此请选择“在父级中使用或创建存储库...”。
  6. Finish. 完。 Give it a few seconds and you should see your project files decorated with Git repo information. 给它几秒钟,您应该会看到项目文件中装饰有Git回购信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM