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:
You can clone a repository that you want to contribute to directly from IntelliJ IDEA and create a new project based on it. From the main menu, choose Git | Clone. If the Git menu is not available, choose VCS | Get from Version Control. In the Get from Version Control dialog, choose GitHub on the left.
Press Ctrl+Alt+S to open the IDE settings and select Version Control | GitHub. Select Log In via GitHub. In the browser window that opens, click Create an account and complete the registration process on GitHub. Return to the IntelliJ IDEA settings, click Cancel, and then repeat steps 2 and 3.
Clone a repository from the main menuFrom the main menu, choose Git | Clone. In the Get from Version Control dialog that opens, select Git from the list. Specify the URL of the remote repository that you want to clone.
Open the project that you want to put under Git. Press Alt+` to open the VCS Operations Popup and select Enable Version Control Integration. Alternatively, from the main menu, select VCS | Enable Version Control Integration. Choose Git as the version control system and click OK.
Setting->Version Control->GitHub check"Clone git repositories using ssh"
in my case, after I un-check "clone git repositories using SSH" checkbox from settings/Version Control/github; it works on clone task.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With