简体   繁体   English

如何将git-clone-command转换为clone-uri

[英]How to translate git-clone-command to clone-uri

I try to import a git project into eclipse. 我尝试将git项目导入eclipse。 The handbook is telling me to use this command in the console: 该手册告诉我在控制台中使用以下命令:

git clone http://git-wip-us.apache.org/repos/asf/mina-vysper.git vysper

Unfortunately i use git via eclipse and if i import from uri eclipse telling me the url is not a valid clone-uri: 不幸的是,我通过eclipse使用git,如果我从uri eclipse导入,告诉我该网址不是有效的clone-uri:

无效的clone-uri的Eclipse屏幕快照

How to translate the git command to a clone-uri? 如何将git命令转换为clone-uri?

If you take a look at the error log you will notice that the reason of the Transport Error is : 301 Moved Permanently . 如果查看错误日志,您会发现传输错误的原因是: 301 Moved Permanently So the repository is not there anymore, try with this URI instead : git://git.apache.org/vysper.git 因此,该存储库不再存在,请尝试使用以下URI: git://git.apache.org/vysper.git

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

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