[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] setURI adds additional slash

On Feb 19, 2019, at 13:10, Zgeras, Ioannis <Ioannis.Zgeras@xxxxxxx> wrote:

Strange, Bitbucket created that URI, I just copy&pasted it J.
This URI doesn't look correct. Should probably be ssh://git@xxxxxxxxxxxxx/tuigroup/reponame.git . After the ":", a port number is expected.

I don't know exactly what Bitbucket does. But probably it gave you only "git@xxxxxxxxxxxxx:tuigroup/reponame.git"
(without leading "ssh://"), which is a git-specific short-hand for the normal full URI including the ssh scheme. See
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols#_the_ssh_protocol .