简体   繁体   English

Git存储库克隆始终导入同一项目

[英]Git repository clone always import the same project

Edit: I found out what is causing the problem. 编辑:我发现是什么原因造成的。 I've added a new remote/origin/ entry in the git config that's causing eclipse to fetch the same project everytime. 我在git配置中添加了一个新的remote / origin /条目,这导致eclipse每次都提取相同的项目。

I am new to git. 我是git的新手。 I am having some problem with cloning a repo into eclipse. 我在将回购复制到Eclipse时遇到了一些问题。

No matter which repo I try to clone, the "Import project from Git" screen always force me to select the same project name(in this case it's membership program) and when I click the finish button. 无论我尝试克隆哪个仓库,“从Git导入项目”屏幕始终会迫使我选择相同的项目名称(在本例中为会员计划),并单击“完成”按钮。 It always import "membership program" into eclipse. 它总是将“会员计划”导入日食。

Here is a link ( http://imgur.com/09pol ) containing the screenshots of the import process so you can get a better idea of what I am talking about. 这是一个链接( http://imgur.com/09pol ),其中包含导入过程的屏幕截图,因此您可以更好地了解我在说什么。

Anyone have any idea what I did wrong? 有人知道我做错了什么吗?

也许尝试在屏幕快照的第二个对话框中选择“新项目”单选按钮。

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

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