Is ssh clone url broken?

I tried to clone one of my repositories, pressing “clone” and “ssh” I got this line from github web page:

That did not work, I had to change it to a more familiar line like this to get it to work:

Is this a new feature or a new bug at github?


The first format is correct and works for my repositories. The second one shouldn’t work, because the : separating host and path is missing, see the “scp-like syntax” described in the “Git URLs” section of the git clone documentation.

The only explanation I can think of is some Git setting that modifies with the URL in the background, like url.<base>.insteadOf.

1 Like

Thank you for reply, now when I try it works as you say. I must have been confused by something.

1 Like