How to convince Goland and other Jetbrains IDEs to use SSH with Github rather than HTTPS

The subject says it all – any Jetbrains IDE applies, but this happens to be Goland 1.3.2.  

  • I can use Goland to create a project and publish it to Github
  • If I then try to create a new project and do an import "github.com/user/repository", it fails because it can't find the username
  • If I then, manually use git with SSH and do a git clone ssh:….. that works.

What do I have to do to tell Jetbrains IDEs, to please use ssh rather than https: on imports.

0

Hi,

Can you clarify how exactly do you import project?

To use SSH, your remote URL must be in that format, press double shift and search for Manage remotes, and change the URL to SSH one. 

 

0

请先登录再写评论。