How to format a "Git Repository URL" for a private, remote, ssh repository

I've got a repo on my own, private server, and I'm trying to use PyCharm's "Check out from Version Control" to clone from it. I've tried several different formats in the "Git Repository URL" box, like:

git:username@hostname.com:somefolder/git/myproject.git
git://username@hostname.com:somefolder/git/myproject.git
ssh:username@hostname.com:somefolder/git/myproject.git
ssh://username@hostname.com:somefolder/git/myproject.git

but all of these fail the repository test (It didn't even ask me for a password).

Suggestions?
1 comment
Comment actions Permalink
Okay, it appears that PyCharm (and I suppose other Jetbrains IDE's) don't like relative folder names in the URL. I had to use the full path to my repo, as in...
ssh://username@hostname.com/top-level-folder/subfolder/git/myproject.git
0

Please sign in to leave a comment.