• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

IntelliJ with GitHub  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am able to log onto GitHub on the internet and I have permissions to see the project (I am even able to download it in zip file format). But somehow I am unable to make the connection to GitHub through the IDE of Intellij IDEA.

I have set up the connection -- properly, apparently -- using the "Settings" dialog in the IDE on the "GetHub" option under "Version Control", because when I click on the "Test" button, there is a pop up message that says "Connection successful"

I followed the steps on this website:
Java Intellj with GitHub
... for the most part. The only reason I did not follow the final steps to the letter was because I already had a project open and I had to close the IDE and reopen it because of this.

Now, in the dialog that comes up at the beginning when you restart Intellij IDEA with the title "Welcome to IntelliJ IDEA", I am prompted with "Check out from Version Control" but when I try to connect, nothing happens.  Then, when I click on the "Events" prompt, it comes up saying:

    Clone Failed
    Could not read from remote repository.
 
Saloon Keeper
Posts: 1844
80
Android Chrome IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch Xarzu.

You may have to download and install the GitHub Desktop which can be found here https://desktop.github.com/ and/or the official Git client found here https://git-scm.com/download/.
Once you get either/both of those setup and connecting to your GitHub repositories. You may need to configure Two Factor authentication or something along those lines.
After all of that try IntelliJ and GitHub once again, however you may want to start with a fresh project and choose VCS -> Import into Version Control -> Share On GitHub from the menus.
 
Xarzu Thompson
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Pete Letkeman wrote:Welcome to CodeRanch Xarzu.

You may have to download and install the GitHub Desktop which can be found here https://desktop.github.com/ and/or the official Git client found here https://git-scm.com/download/.
Once you get either/both of those setup and connecting to your GitHub repositories. You may need to configure Two Factor authentication or something along those lines.
After all of that try IntelliJ and GitHub once again, however you may want to start with a fresh project and choose VCS -> Import into Version Control -> Share On GitHub from the menus.



Teaming up with coworkers helped lead to the solution. From the Welcome window, there is the option to clone a repository. The default URL options that are populated and presented in a drop down list have the wrong format for a URL. They each start with "git@github.com..." which is not correct.

I put the proper URL address to our repository on github.com in this field, and soon everything fell into place
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!