Intellij 15 + Github - 无法克隆存储库,获取“存储库测试失败”错误 [英] Intellij 15 + Github - cannot clone repository, getting "Repository Test has Failed" error

查看:2829
本文介绍了Intellij 15 + Github - 无法克隆存储库,获取“存储库测试失败”错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Intellij 15和一个Github账户,我试图将这两个账户联合起来。我进入设置 - >版本控制,并添加了主机和用户名和密码的Github。当我点击测试 - 它的作品。



我还安装了GitHub可执行文件,并将其添加到设置中,并且该测试也取得了成功。



然后我进入我的项目,从顶部菜单中选择VCS,然后转到从版本控制检出 - >GitHub。它给了我一个克隆存储库对话框。



这是事情变得有趣的时候。在该对话框中,它显示Git Repository URL为------------------------------- - 是的,整体一堆破折号,底部的错误是存储库URL是一个格式不正确的URL或不存在的目录...现在 - 我还没有找到任何设置,我可以指定它在此对话框外,所以我不' t知道它从哪里获取URL ...





我输入正确的URL,父目录和目录名称...然后点击测试。它给了我存储库测试失败。实际上,从这一点开始,无论Git Repository URL中的内容如何 - 即使当我放入一堆乱码时,它也会给我提供相同的错误 - 但它仍会给出测试失败错误。





我也尝试过从版本控制结帐--->Git - 结果相同。

我有在线观看不同的论坛和教程,似乎没有任何帮助。任何建议将不胜感激!!!

谢谢!



安装程序图片 - 在安装程序中测试成功:



解决方案

尝试将SSH可执行文件从Build-in更改为Native。


I have Intellij 15 and a Github account, and I'm trying to unite the two. I went into settings -> Version Control, and added Github with the Host and username and password. When I click "Test" - it works.

I also have installed the GitHub executable, and added it to the settings as well, and that test was successful as well.

Then I go to my project, select VCS from the top menu, then go to "Checkout from Version Control" ---> "GitHub". It gives me a "Clone Repository Dialog".

This is when things get interesting. In that dialog, it shows "Git Repository URL" as "-------------------------------" - yes, a whole bunch of dashes, and the error at the bottom is "Repository URL is a malformed URL or non-existent directory"... Now - I have not found any settings where I can specify it outside of this dialog box, so I don't know where it's taking the URL from...

I enter the correct URL, parent directory, and Directory Name... Then I click on "Test". And it gives me "Repository test has failed". Actually, it gives me that same error regardless of what's in the "Git Repository URL" from that point on - even when I put a bunch of gibberish - it still gives the Test Has failed error.

I have also tried going to "Checkout from Version Control" ---> "Git" - with same results.

I have looked online at different forums and tutorials, and nothing seems to help. Any advice would be greatly appreciated!!!

Thank you!

Setup pics - tests successful in the setup:

解决方案

try to change SSH executable from Build-in to Native.

这篇关于Intellij 15 + Github - 无法克隆存储库,获取“存储库测试失败”错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆