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!
Removing my other id from keychain fixed it for me. So make sure you have just one git id there
for
follow my answer in the git test error in Intellij
in my case, after I un-check "clone git repositories using SSH" checkbox from settings/Version Control/github; it works on clone task.
Setting->Version Control->GitHub check"Clone git repositories using ssh"
try to change SSH executable from Build-in to Native.
I was also having the same issues with IntelliJ and I tried following:
To Solve this problem, Browse to Git location through a web browser:
Click on Clone button i.e. 2nd menu button on left
Now click the fully qualified link mentioned in the HTTP text box as below:
Fully qualified link
Now copy the above copied link to Clone Repository window in IntelliJ and try again. Test connection and It should be successful