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?
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?
请先登录再写评论。
ssh://username@hostname.com/top-level-folder/subfolder/git/myproject.git