简体   繁体   English

将Github项目导入Eclipse时出错?

[英]Error to Import Github project into Eclipse?

I am trying to import Github Project into my eclipse by Egit and used the URI,Host etc as you can check in Screen shot and when i am giving my github userId/Password i am getting error see attached screen shot 我试图通过Egit将Github 项目导入我的eclipse并使用URI,Host等,因为你可以检查屏幕截图,当我给我的github userId /密码我得到错误看到附加屏幕截图 GitHubExceptin or this exception. 或者这个例外。

 https://github.com:22/michaelisvy/hibernate-4-spring-3.1-samples: cannot open git-upload-pack:
https://github.com:22/michaelisvy/hibernate-4-spring-3.1-samples: cannot open git-upload-pack

Is i am doing something wrong ? 我做错了吗? Or we can not import someone else project like this? 或者我们不能导入这样的其他项目?
Git值

删除“:22”将.git添加到您的repo路径?

you can do it command prompt. 你可以做命令提示。

git clone git@github.com:michaelisvy/hibernate-4-spring-3.1-samples.git
cd hibernate-4-spring-3.1-samples
mvn eclipse:eclipse

this is for eclipse. 这是为了日食。

http://www.vogella.com/articles/EGit/article.html#github http://www.vogella.com/articles/EGit/article.html#github

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

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