|Re: [jgit-dev] setURI adds additional slash|
Thanks Thomas, that was it!
Strange, Bitbucket created that URI, I just copy&pasted it J.
On Feb 19, 2019, at 12:57, Zgeras, Ioannis <Ioannis.Zgeras@xxxxxxx> wrote:
I am trying to clone a repo via ssh, but jgit adds an additional slash to the URI. This is the error msg I get:
Caused by: org.eclipse.jgit.errors.NotSupportedException: URI not supported: ssh:///git@xxxxxxxxxxxxx:tuigroup/reponame.git
And this is the code were I add the URI:
cloneCommand.setURI( "ssh://git@xxxxxxxxxxxxx:tuigroup/reponame.git" );
This URI doesn't look correct. Should probably be ssh://git@xxxxxxxxxxxxx/tuigroup/reponame.git . After the ":", a port number is expected.
jgit-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Back to the top